-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GC AWS Old Images (from packer) #2846
Comments
Reminder of the "rules" for the GC of AMIs (I can't find my previous comment so I'm adding it here as asked :) ). Rule of thumb I propose is "1d, 1m, 1y":
|
Addon: we also have to delete the snapshot along with AMI. The AWS documentation at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html describe the process: when you want to "delete an AMI", it's a 4 steps task:
|
Checking the result |
|
Manually deregistered the folloiwng AMIs:
=> we're down to 72 AMIs (instead of 3000s). Time to clean up the snapshots now! |
|
|
Service(s)
AWS
Summary
handle a Garbage Collector to remove OLD AMI version
Should be split in 3 steps :
Reproduction steps
No response
The text was updated successfully, but these errors were encountered: