Consider my high-CPU spot instance with five drives. Drive c: is the boot drive. Drive d: is an additional volume that I created and manually attached to the instance. Volumes e:, f:, g:, and h: are ephemeral local drives.
Let's say the spot instance gets killed because the spot price exceeds my max bid. I'd like to know what happens to the data on the drives.
The data on drives e: through h: most certainly will evaporate when the instance dies. But what about the data on c: and d:? There's nothing critical there that couldn't be recreated but I'd like to keep the data if possible. I can see the c: and d: volumes in the Volumes tab of my console. Will they simply vanish when the instance dies?
Some forum posts indicate that there's some kind of "don't-delete-this-volume-on-shutdown" flag that can be set but I don't see it in my console. How do I set this flag? I'd prefer a solution that uses the console exclusively instead of the command line (if possible).