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!

質問済み 1年前471ビュー
1回答
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
エキスパート
Matt-B
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ