Dne 02. 04. 24 v 7:45 odp. Kevin Fenzi napsal(a):
On Tue, Apr 02, 2024 at 07:13:56AM +0200, Miroslav Suchý wrote:
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.
Hurray!

Thanks again for doing this.

You are welcome. But I have to say I am scared.
I just ask myself: and centos AMIs are stored under which account?

Our account, is the answer!

So, I have just tagged all AMIs from

https://www.centos.org/download/aws-images/

with FedoraGroup=ga-archives

Any idea if I missed something else before I start deleting the more recent 
ones?


--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
--
_______________________________________________
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to