

 **This page is only for existing customers of the Amazon Glacier service using Vaults and the original REST API from 2012.**

If you're looking for archival storage solutions, we recommend using the Amazon Glacier storage classes in Amazon S3, S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, and S3 Glacier Deep Archive. To learn more about these storage options, see [Amazon Glacier storage classes](https://www.amazonaws.cn/s3/storage-classes/glacier/).

Amazon Glacier (original standalone vault-based service) is no longer accepting new customers. Amazon Glacier is a standalone service with its own APIs that stores data in vaults and is distinct from Amazon S3 and the Amazon S3 Glacier storage classes. Your existing data will remain secure and accessible in Amazon Glacier indefinitely. No migration is required. For low-cost, long-term archival storage, Amazon recommends the [Amazon S3 Glacier storage classes](https://www.amazonaws.cn/s3/storage-classes/glacier/), which deliver a superior customer experience with S3 bucket-based APIs, full Amazon Web Services Region availability, lower costs, and Amazon service integration. If you want enhanced capabilities, consider migrating to Amazon S3 Glacier storage classes by using our [Amazon Solutions Guidance for transferring data from Amazon Glacier vaults to Amazon S3 Glacier storage classes](https://www.amazonaws.cn/solutions/guidance/data-transfer-from-amazon-s3-glacier-vaults-to-amazon-s3/).

# Step 5: Delete an Archive from a Vault in Amazon Glacier
<a name="getting-started-delete-archive"></a>

In this step, you'll delete the sample archive that you uploaded in [Step 3: Upload an Archive to a Vault in Amazon Glacier](getting-started-upload-archive.md). 

**Important**  
You cannot delete an archive by using the Amazon Glacier console. Any archive operation, such as upload, download, or deletion, requires you to use the Amazon Command Line Interface (CLI) or write code. To upload data, such as photos, videos, and other documents, you must either use the Amazon CLI or write code to make requests, by using either the REST API directly or by using the Amazon SDKs.  
To install the Amazon CLI, see [Amazon Command Line Interface](http://www.amazonaws.cn/cli/). For more information about using Amazon Glacier with the Amazon CLI, see [Amazon CLI Reference for Amazon Glacier](http://docs.amazonaws.cn/cli/latest/reference/glacier/index.html). For examples of using the Amazon CLI to upload archives to Amazon Glacier, see [Using Amazon Glacier with the Amazon Command Line Interface](http://docs.amazonaws.cn/cli/latest/userguide/cli-using-glacier.html). 

Delete the sample archive by following one of these SDKs or the Amazon CLI: 
+ [Delete an Archive from a Vault in Amazon Glacier by Using the Amazon SDK for Java](getting-started-delete-archive-java.md)
+ [Delete an Archive from a Vault in Amazon Glacier by Using the Amazon SDK for .NET](getting-started-delete-archive-dotnet.md)
+ [Delete an Archive in Amazon Glacier by Using the Amazon CLI](getting-started-delete-archive-cli.md)

## Related Sections
<a name="getting-started-delete-archive-related-sections"></a>

 
+ [Step 3: Upload an Archive to a Vault in Amazon Glacier](getting-started-upload-archive.md)
+ [Deleting an Archive in Amazon Glacier](deleting-an-archive.md)