Re: Deleting old AMIs in AWS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dne 14. 03. 24 v 9:58 dop. Miroslav Suchý napsal(a):
FYI I plan to continue in AWS cleanup on Friday.

I waited till Freeze is over - just to be safe. And now I want to delete the old AMIs. Likely in several waves. Going from oldest to ~2021.

I deleted all AMIs that does not have tag FedoraGroup and that were older than 2019-01-01.

For the record, the list of deleted AMIs is in attachement. And the script that I used is https://github.com/xsuchy/fedora-infra-scripts/blob/main/delete-old-amis.py

The script deregistered 36996 AMIs. The associated snapshots still exists.

--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys

Attachment: delete-amis-older-than-2019.txt.gz
Description: application/gzip

--
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux