Skip to content

Instantly share code, notes, and snippets.

View yanfali's full-sized avatar
😃

Yan-Fa Li yanfali

😃
  • Bellevue, WA
  • 15:35 (UTC -07:00)
View GitHub Profile
@yanfali
yanfali / aws_glacier_delete_vault.md
Created February 4, 2021 00:47 — forked from veuncent/aws_glacier_delete_vault.md
Delete all archives in an AWS Vault

AWS Glacier: Delete vault

Follow these steps to remove all archives from an AWS vault. After this is finished, you will be able to delete the vault itself through the browser console.

Step 1 / Retrieve inventory

This will create a job that collects required information about the vault.

$ aws glacier initiate-job --job-parameters '{"Type": "inventory-retrieval"}' --account-id YOUR_ACCOUNT_ID --region YOUR_REGION --vault-name YOUR_VAULT_NAME