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 ?

posta 10 mesi fa391 visualizzazioni
3 Risposte
1

Please follow instructions here deleting a non empty vault.

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

profile picture
ESPERTO
con risposta 10 mesi fa
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
con risposta 10 mesi fa
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

con risposta 8 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande