On Tue, Apr 02, 2024 at 09:39:46PM +0200, Miroslav Suchý wrote:
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!
Yep. ;(
It is scary, but it should be done...
So, I have just tagged all AMIs from
https://www.centos.org/download/aws-images/
with FedoraGroup=ga-archives
ok.
I suspect there's a lot fewer of them than the fedora ones?
Any idea if I missed something else before I start deleting the more
recent ones?
I don't think so...
kevin