logoalt Hacker News

arianvanptoday at 12:54 AM1 replyview on HN

I think you can technically hibernate the instance when the spot reclaim signal comes in. Then snapshot the instance and then terminate it.

Can then spawn a new instance from the snapshot and it should unhibernate

Whether the OS will like that... That's another point. As there will be things that change like smbios etc


Replies

TurdF3rgusontoday at 1:52 AM

That's a cold boot though and things like tmux sessions will disappear. (I'm assuming that doesn't happen with shellbox)