I suspect that’s what you meant but just for clarity, Instance storage does persist for reboots (which is effectively an OS reboot), but not if you stop/start (or terminate) the instance.
Re:AWS services to avoid
by watermelon0 on Sunday May 10, 2020 @04:02PM
(#23135652)
This was mostly applicable to older generations of EC2 instances (C3, M3, etc.)
EBS is now the default when creating an instance, and instance types of newer generations generally don't have instance store at all (except disk optimized instance types, and those with "d" in the name.)
Re:AWS services to avoid
by cookiecaper on Sunday May 10, 2020 @05:55PM
(#23136630)
Yeah, I think Amazon gave up on trying to communicate the meaning of ephemeral storage, and I think that's for the best tbh. It's too easy to have important data vanish that way. Something as simple as someone issuing a shutdown from the console is translated into an "instance stop" in AWS, which would purge the storage -- unfortunately often a lesson learned the hard way.
Re:AWS services to avoid
by raverbashing on Sunday May 10, 2020 @03:46PM
(#23135494)
Correct, I've updated the comment.
Yes if you do an ordinary OS reboot the disk remains.
> "Remember redis (in AWS) holds ephemeral data in memory"
(because EC2 machines don't persist their disk data between start/stops and a lot of people don't realize that until it is too late - hey remember that Bitcoin exchange that got bitten by this?)