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!

demandé il y a un an471 vues
1 réponse
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
EXPERT
Matt-B
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions