logoalt Hacker News

arianvanp01/16/20261 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

TurdF3rguson01/16/2026

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