This content originally appeared on DEV Community and was authored by Yasuhiro Matsuda
AMI deregistration protection management feature released this May.
ALB and others have delete protection, so that security groups and the like cannot be deleted if they are used, but EC2 allows you to unregister an AMI that is the base AMI. If it was specified as a boot template, "unintentional deregistrations could lead to production outages until you recovered those AMIs from Recycle Bin", as described in the above article. This can be disastrous as described in the article above.
I also noticed today that the AMI was missing💦.
I guess I named it improperly and unregistered it as unused without much thought.
Regarding the AMI unregistration protection management feature, there are three options from the unregistration protection perspective, but the option to “Activate with a 24 hour cooldown period” is not intuitive.
official documentation, it seems that “Enable with 24 hour cooldown period” is a feature that prevents deregistration protection from being deleted immediately after it is disabled.
This would be a useful feature to prevent foolproofing from becoming inoperative due to operator assumptions.
This content originally appeared on DEV Community and was authored by Yasuhiro Matsuda
Yasuhiro Matsuda | Sciencx (2024-10-16T01:16:58+00:00) Prevent accidental unregistration of AMI. Retrieved from https://www.scien.cx/2024/10/16/prevent-accidental-unregistration-of-ami/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.