|
/Hosting/Amazon/EC2:
Accidental Server Termination Protection
Especially if you work at the command line a lot, it seems frighteningly easy to accidentally terminate the wrong server. Not any more:
For termination prevention[1]:
ec2-modify-instance-attribute i-57e64936 --disable-api-termination true
And to re-enable termination:
ec2-modify-instance-attribute i-57e64936 --disable-api-termination false
Note that a termination-protected server can still be stopped and started, it is just the totally destructive "termination" that is locked out.
[1] http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?Using_ChangingDisableAPITermination.html
posted at: 11:49 | path: /Hosting/Amazon/EC2 | permanent link to this entry