AWS cleanup - what to delete next?

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

 



Yesterday I finally deleted all Fedora-AtomicHost AMIs and associated snapshots (it took whole night to finish).

This time, I know we have to start with AMIs first (and only then delete snapshots).

Where I can continue witht the cleanup? There is several dozen thousand of AMIs. At the end of this email I will give random sample from the list.

I am very afraid of deleting something that is still currently in use and that is somewhere listed as golden image.

Or we do not care about anything but images of stable Fedoras and everything that matches 'Fedora.*-X-.*' where X is number bellow < 38?

Miroslav


 * ami-26c3b846 Fedora-Cloud-Base-24-20160601.n.0.x86_64-us-west-1-HVM-standard-0
 * ami-05fd9470f34e60fdc Fedora-Cloud-Base-39-1.1.aarch64-hvm-us-west-1-gp3-0
 * ami-062b2a2f58fdaf72f fedora-coreos-36.20220820.2.0-aarch64
 * ami-f4bbff94 Fedora-Cloud-Atomic-23-20160626.x86_64-us-west-1-HVM-standard-0
 * ami-31da9d51 Fedora-Atomic-24-20160706.0.x86_64-us-west-1-HVM-gp2-0
 * ami-0bd20e7557d7bdbb6 Fedora-Cloud-Base-29-20190726.0.aarch64-hvm-us-west-1-standard-0
 * ami-20a3a640 Fedora-Atomic-27-20171211.0.x86_64-us-west-1-HVM-gp2-0
 * ami-fab2c59a Fedora-Cloud-Base-23-20160127.2.x86_64-us-west-1-PV-standard-0
 * ami-981812f8 Fedora-Cloud-Base-27-20180303.0.x86_64-us-west-1-HVM-gp2-0
 * ami-2134cb65 Fedora-Cloud-Base-23_Alpha-20150806.2.x86_64-us-west-1-HVM-gp2-0
 * ami-0b8037b9dcf49e74e fedora-coreos-39.20231101.1.0-x86_64
 * ami-312c0f51 Fedora-Atomic-25-20170601.0.x86_64-us-west-1-HVM-gp2-0
 * ami-bacaccda Fedora-Atomic-26-20171226.0.x86_64-us-west-1-HVM-gp2-0
 * ami-0b363a6b Fedora-Cloud-Base-26-20180129.0.x86_64-us-west-1-HVM-gp2-0
 * ami-b2909cd2 Fedora-Atomic-Rawhide-20180131.n.0.x86_64-us-west-1-HVM-standard-0
 * ami-04165988107e37bff Fedora-Cloud-Base-28-20190510.0.x86_64-hvm-us-west-1-standard-0
 * ami-0b4577fc26dfa0a41 fedora-coreos-38.20230722.1.0-aarch64
 * ami-0f46b6ee06ec9518a fedora-coreos-36.20220505.2.0-x86_64
 * ami-3a30315a Fedora-Cloud-Base-26-20180101.0.x86_64-us-west-1-HVM-standard-0
 * ami-089d45c0dde166fe0 Fedora-Cloud-Base-30-20190728.0.aarch64-hvm-us-west-1-gp2-0
 * ami-eb84ba8b Fedora-Atomic-Rawhide-20171112.n.0.x86_64-us-west-1-HVM-standard-0
 * ami-05254bd86175b9023 fedora-coreos-35.20220424.3.0-x86_64
 * ami-f5ecdc95 Fedora-Atomic-26-20171001.0.x86_64-us-west-1-HVM-gp2-0
 * ami-c2ab83a2 Fedora-Cloud-Base-25-20170802.0.x86_64-us-west-1-HVM-standard-0
 * ami-df3367bf Fedora-Atomic-25-20161121.0.x86_64-us-west-1-HVM-standard-0
 * ami-0419c7c8be07bf733 Fedora-Cloud-Base-30-20190419.n.0.x86_64-hvm-us-west-1-standard-0
 * ami-c20612a2 Fedora-Atomic-27-20180314.0.x86_64-us-west-1-HVM-standard-0
 * ami-a4192ec4 Fedora-Atomic-26-20170908.0.x86_64-us-west-1-HVM-gp2-0
 * ami-9dc1f1fd Fedora-Cloud-Base-27-20171001.n.2.x86_64-us-west-1-HVM-gp2-0
 * ami-d90255b9 Fedora-Cloud-Base-25-20161130.1.x86_64-us-west-1-PV-gp2-0
 * ami-72747712 Fedora-Cloud-Base-Rawhide-20180110.n.0.x86_64-us-west-1-HVM-gp2-0
 * ami-885052e8 Fedora-Cloud-Base-Rawhide-20180115.n.0.x86_64-us-west-1-HVM-gp2-0
 * ami-5f5c643f Fedora-Cloud-Base-Rawhide-20171118.n.1.x86_64-us-west-1-HVM-gp2-0
 * ami-4b115a2b Fedora-Cloud-Base-24-20161021.0.x86_64-us-west-1-PV-standard-0
 * ami-fa40379a Fedora-Cloud-Base-23-20160127.1.x86_64-us-west-1-HVM-standard-0
 * ami-04aacbcff5e34df3b Fedora-Cloud-Base-32-20200605.0.x86_64-hvm-us-west-1-gp2-0
 * ami-04f2a5462112fc48f fedora-coreos-36.20220820.3.0-x86_64
 * ami-9c5a20fc Fedora-Cloud-Base-23-20160605.x86_64-us-west-1-HVM-gp2-0
 * ami-50c5f530 Fedora-Cloud-Base-25-20171002.0.x86_64-us-west-1-PV-standard-0
 * ami-db6f6fbb Fedora-Atomic-Rawhide-20180105.n.0.x86_64-us-west-1-HVM-gp2-0
 * ami-06ce8f3b14afca272 Fedora-Cloud-Base-30-20190323.n.0.aarch64-hvm-us-west-1-standard-0
 * ami-0fc1ba6f Fedora-Atomic-24-20160601.n.0.x86_64-us-west-1-HVM-gp2-0
 * ami-6c54550c Fedora-Atomic-Rawhide-20171228.n.0.x86_64-us-west-1-HVM-standard-0
 * ami-a2591ac2 Fedora-Cloud-Base-24-20160809.0.x86_64-us-west-1-PV-standard-0
 * ami-b31743d3 Fedora-Cloud-Base-25-20161119.3.x86_64-us-west-1-PV-standard-0
 * ami-df4f6cbf Fedora-Atomic-26_Beta-1.3.x86_64-us-west-1-HVM-standard-0
 * ami-e790d387 Fedora-Cloud-Base-24-20160811.0.x86_64-us-west-1-PV-standard-0
 * ami-b3ddc9d3 Fedora-Cloud-Base-27-20180315.0.x86_64-us-west-1-HVM-gp2-0
 * ami-273c7947 Fedora-Cloud-Base-23-20160613.x86_64-us-west-1-PV-gp2-0
 * ami-594c1b39 Fedora-Cloud-Base-24-20161203.0.x86_64-us-west-1-PV-standard-0
 * ami-203a3e40 Fedora-Cloud-Base-27-20171214.0.x86_64-us-west-1-HVM-gp2-0
 * ami-b3b388d3 Fedora-Atomic-27-20171129.0.x86_64-us-west-1-HVM-standard-0
 * ami-d1e1f0b1 Fedora-Cloud-Base-28-20180331.n.1.x86_64-us-west-1-HVM-gp2-0
 * ami-063bd28aeead1fb4e Fedora-Cloud-Base-30-20190509.0.x86_64-hvm-us-west-1-gp2-0
 * ami-43464723 Fedora-Atomic-26-20171229.0.x86_64-us-west-1-HVM-standard-0
 * ami-6b38160b Fedora-Cloud-Base-24-20170713.0.x86_64-us-west-1-PV-gp2-0
 * ami-012a0519ada69f3f9 Fedora-Cloud-Base-39-1.1.x86_64-hvm-us-west-1-gp3-0
 * ami-04ee6790c93aa9851 Fedora-Cloud-Base-Rawhide-20190506.n.1.x86_64-hvm-us-west-1-gp2-0
 * ami-0417e1efaaf6a4fa0 Fedora-Cloud-Base-29-20190703.0.x86_64-hvm-us-west-1-gp2-0
 * ami-1e665f7e Fedora-Atomic-Rawhide-20171113.n.0.x86_64-us-west-1-HVM-gp2-0
 * ami-5b5b1c3b Fedora-Cloud-Base-24-20160701.0.x86_64-us-west-1-PV-standard-0
 * ami-0310f1a5d2854c18d fedora-coreos-37.20230218.2.0-x86_64
 * ami-7cba961c Fedora-Cloud-Base-25-20170630.0.x86_64-us-west-1-HVM-gp2-0
 * ami-b20204d2 Fedora-Cloud-Base-26-20171224.0.x86_64-us-west-1-HVM-gp2-0
 * ami-01f5acf38212d009a fedora-coreos-38.20230430.1.0-aarch64
 * ami-8f023fef Fedora-Atomic-26-20171021.0.x86_64-us-west-1-HVM-gp2-0
 * ami-e28da282 Fedora-Cloud-Base-25-20170709.0.x86_64-us-west-1-PV-gp2-0
 * ami-0dd31964c3588f1be fedora-coreos-37.20220918.1.1-aarch64
 * ami-5ea6e13e Fedora-Atomic-24-20160704.0.x86_64-us-west-1-HVM-gp2-0
 * ami-0ea8cdcd48ebca78c fedora-coreos-38.20230430.2.1-x86_64
 * ami-3c10555c Fedora-Cloud-Base-24-1.1.x86_64-us-west-1-HVM-standard-0
 * ami-7f71661f Fedora-Cloud-Base-26-20180318.0.x86_64-us-west-1-HVM-standard-0
 * ami-c37b46a3 Fedora-Cloud-Base-25-20171018.0.x86_64-us-west-1-PV-gp2-0
 * ami-bf7343df Fedora-Atomic-26-20170927.0.x86_64-us-west-1-HVM-gp2-0
 * ami-dc9da0bc Fedora-Cloud-Base-26-20171024.0.x86_64-us-west-1-HVM-gp2-0
 * ami-02fb010ee671c467d fedora-coreos-35.20220103.2.0-x86_64
 * ami-38291258 Fedora-Cloud-Base-Rawhide-20171126.n.0.x86_64-us-west-1-HVM-standard-0
 * ami-847f30e4 Fedora-Cloud-Base-24-20160916.0.x86_64-us-west-1-HVM-standard-0
 * ami-dc180fbc Fedora-Cloud-Base-26-20180319.0.x86_64-us-west-1-HVM-standard-0
 * ami-07b653d82033f9681 fedora-coreos-39.20231002.1.1-x86_64
 * ami-4c64312c Fedora-Cloud-Base-24-20161114.0.x86_64-us-west-1-PV-gp2-0
 * ami-0920ba29d7e90437f Fedora-Cloud-Base-31-20191112.0.aarch64-hvm-us-west-1-standard-0
 * ami-0bb6684d9f09744e3 Fedora-Cloud-Base-39-20240206.0.aarch64-hvm-us-west-1-gp3-0
 * ami-c46767a4 Fedora-Cloud-Base-27-20180105.3.x86_64-us-west-1-HVM-standard-0
 * ami-050ea365519bc0db0 Fedora-Cloud-Base-30-20190322.n.0.aarch64-hvm-us-west-1-standard-0
 * ami-088cebf2442fc4894 fedora-coreos-38.20230609.1.0-aarch64
 * ami-3993d059 Fedora-Atomic-24-20160811.0.x86_64-us-west-1-HVM-gp2-0
 * ami-59226639 Fedora-Cloud-Base-23-20160621.x86_64-us-west-1-PV-standard-0
 * ami-f8246298 Fedora-Atomic-24-20160708.0.x86_64-us-west-1-HVM-standard-0
 * ami-e4c9b384 Fedora-Atomic-24-20160610.n.0.x86_64-us-west-1-HVM-standard-0
 * ami-05a7604cc4aabbd2a Fedora-Cloud-Base-30-20190406.n.1.x86_64-hvm-us-west-1-gp2-0
 * ami-0d72747c5ac532500 Fedora-Cloud-Base-Rawhide-20240205.n.0.x86_64-hvm-us-west-1-gp3-0
 * ami-f6fbfb96 Fedora-Cloud-Base-Rawhide-20180108.n.0.x86_64-us-west-1-HVM-standard-0
 * ami-4c152b2c Fedora-Cloud-Base-26-20171109.0.x86_64-us-west-1-HVM-gp2-0
 * ami-066b5c323aff4ece7 Fedora-Cloud-Base-30-20190515.0.x86_64-hvm-us-west-1-gp2-0
 * ami-0ce1ef8681128ac17 CentOS Stream 8 aarch64 20240101
 * ami-68ede108 Fedora-Cloud-Base-27-20180130.0.x86_64-us-west-1-HVM-gp2-0
 * ami-71f0e311 Fedora-Cloud-Base-28-20180410.n.1.x86_64-paravirtual-us-west-1-standard-0
 * ami-0d23bcbbbc029d3cd fedora-coreos-34.20210418.1.0
 * ami-c63c17a6 Fedora-Cloud-Base-24-20170807.0.x86_64-us-west-1-HVM-gp2-0
 * ami-00fcca60 Fedora-Atomic-25-20170917.0.x86_64-us-west-1-HVM-standard-0
 * ami-07d79dbf8e2b414a3 Fedora-Cloud-Base-32-20200606.0.x86_64-hvm-us-west-1-standard-0
 * ami-094c894d Fedora-Cloud-Base-23_Beta-20150915.x86_64-us-west-1-HVM-standard-1
 * ami-428db622 Fedora-Cloud-Base-27-20171130.0.x86_64-us-west-1-HVM-gp2-0
 * ami-d797b8b7 Fedora-Cloud-Base-25-20170710.0.x86_64-us-west-1-PV-gp2-0
 * ami-04426964 Fedora-Cloud-Base-24-20170805.0.x86_64-us-west-1-HVM-standard-0


-- 
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
--
_______________________________________________
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