Prevent accidental unregistration of AMI

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…


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.

Managing AMI deregistration protection

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


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » Prevent accidental unregistration of AMI." Yasuhiro Matsuda | Sciencx - Wednesday October 16, 2024, https://www.scien.cx/2024/10/16/prevent-accidental-unregistration-of-ami/
HARVARD
Yasuhiro Matsuda | Sciencx Wednesday October 16, 2024 » Prevent accidental unregistration of AMI., viewed ,<https://www.scien.cx/2024/10/16/prevent-accidental-unregistration-of-ami/>
VANCOUVER
Yasuhiro Matsuda | Sciencx - » Prevent accidental unregistration of AMI. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/16/prevent-accidental-unregistration-of-ami/
CHICAGO
" » Prevent accidental unregistration of AMI." Yasuhiro Matsuda | Sciencx - Accessed . https://www.scien.cx/2024/10/16/prevent-accidental-unregistration-of-ami/
IEEE
" » Prevent accidental unregistration of AMI." Yasuhiro Matsuda | Sciencx [Online]. Available: https://www.scien.cx/2024/10/16/prevent-accidental-unregistration-of-ami/. [Accessed: ]
rf:citation
» Prevent accidental unregistration of AMI | Yasuhiro Matsuda | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.