how to delete s3 glacier vault with archive?

0

i had vault with archive uploaded , the upload not done properly , so the job not done i want to delete the vault but it says it Vault not empty how to delete vault with archive ?

질문됨 10달 전376회 조회
3개 답변
1

Please follow instructions here deleting a non empty vault.

https://docs.aws.amazon.com/amazonglacier/latest/dev/deleting-vaults-cli.html

profile picture
전문가
답변함 10달 전
0

Hi I followed the process described here https://docs.aws.amazon.com/amazonglacier/latest/dev/deleting-vaults-cli.html

however, it seems my vault has not been emptied

[cloudshell-user@ip-10-2-yyy ~]$ aws glacier delete-archive --vault-name myvaultname --account-id myaccountid --archive-id="my very long archive id"
[cloudshell-user@ip-10-2-yyy ~]$ 

I have no confirmation nor failure, and my vault has still 1 archive

Also, I have a second vault to delete, that contains 100 279 archives... I wonder how to run the delete command on each of those archives

Help is appreciated, as I'm still being charged monthly for a service I do not use anymore

thanks in advance

lannox
답변함 9달 전
0

Here is the guide I was following...you need CLI access, and some dependencies to make sure it works, but you initiate a retrieval job, download the .json file, and then run the script feeding it the file. This will cycle through the .json file list of archives and delete them. Further down the page is a revised script that should be more efficient.

Let me know how it goes, I have the same issue with 900,00+ archives I am trying to delete, but my inventory shows it has not been updated in years, not 24 hours as I would expect, so that might be my problem and not yours. Good luck!

https://gist.github.com/veuncent/ac21ae8131f24d3971a621fac0d95be5

답변함 8달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠