Re: Deleting old AMIs in AWS

2024-03-14 Thread Kevin Fenzi
On Thu, Mar 14, 2024 at 09:58:47AM +0100, Miroslav Suchý wrote:
> 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.

Sure, but note that freeze is only over once we ship a beta. ;)

But I don't knot that this needs to wait on that.
It seems pretty safe.

> In this step I plan to keep the associated snapshots. So if I break something 
> we can still restore the AMI.
> 
> 
> BTW - quick summary where we are with the cleanup stuff:
> 
> * all VM, volumes have tag FedoraGroup
> 
> * all gp2 volumes are migrated to gp3
> 
> * All AMIs with name 'Fedora-AtomicHost-*' are deleted. Including associated 
> snapshots
> 
> * all Fedora GA AMIs and snapshots are tagged with FedoraGroup.
> 
> * all old (2021-) snapshots with no associated AMIs are deleted.

Thanks again for moving this forward.

kevin


signature.asc
Description: PGP signature
--
___
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


Deleting old AMIs in AWS

2024-03-14 Thread Miroslav Suchý

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.


In this step I plan to keep the associated snapshots. So if I break something 
we can still restore the AMI.


BTW - quick summary where we are with the cleanup stuff:

* all VM, volumes have tag FedoraGroup

* all gp2 volumes are migrated to gp3

* All AMIs with name 'Fedora-AtomicHost-*' are deleted. Including associated 
snapshots

* all Fedora GA AMIs and snapshots are tagged with FedoraGroup.

* all old (2021-) snapshots with no associated AMIs are deleted.

--
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