AWS EC2 allows to set up termination protection, so that a user cannot accidentally terminate an instance.
I'd like to achieve a similar protection, but for the Stop operation, to avoid shutting down a machine accidentally.
Why? We are transitioning to high-performance NVMe storage, which does not survive a machine shutdown, unlike EBS volumes. We can obviously set up backups and complex replica mechanisms, but avoiding an accidental shutdown would be much simpler.
Any ideas on how to achieve this?
Interesting related thread: https://news.ycombinator.com/item?id=18043303