Options for Deleting S3 Glacier archives

0

I am trying to delete Glacier archives so that I can delete my vaults. Upon running an inventory using CLI it seems there are over 16,000 archives in one of my vaults (I have no idea how this happened). Seeking assistance as it seems archives can only be deleted one at a time and that is not really feasible in this case! My goal is to delete my vaults so I am no longer paying for them. I have already dug fairly deep into the CLI and AWS documentation and learned a lot in the process (I am not a coder) but now that I see the scope of the issue I can see manual delete is not in the cards. Thank you in advance for any ideas!

gefragt vor einem Jahr471 Aufrufe
1 Antwort
0

Hi There

You will need to have some sort of code or batch file to delete the archives in bulk. When you create the inventory report, you will need some way to iterate through each archive ID in the output.json and issue the delete command. I found this tutorial for this using a simple bash script. See https://gist.github.com/veuncent/ac21ae8131f24d3971a621fac0d95be5

profile pictureAWS
EXPERTE
Matt-B
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen