Step 4: Download an Archive from a Vault in Amazon Glacier - Amazon Glacier
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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.

Amazon Glacier (original standalone vault-based service) will no longer accept new customers starting December 15, 2025, with no impact to existing 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, 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.

Step 4: Download an Archive from a Vault in Amazon Glacier

In this step, you'll download the sample archive that you uploaded previously in Step 3: Upload an Archive to a Vault in Amazon Glacier.

Important

Amazon Glacier does provide a console. However, any archive operation, such as upload, download, or deletion, requires you to use the Amazon Command Line Interface (CLI) or write code. There is no console support for archive operations. For example, 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. For more information about using Amazon Glacier with the Amazon CLI, see Amazon CLI Reference for Amazon Glacier. For examples of using the Amazon CLI to upload archives to Amazon Glacier, see Using Amazon Glacier with the Amazon Command Line Interface.

In general, retrieving your data from Amazon Glacier is a two-step process:

  1. Initiate a retrieval job.

  2. After the job is completed, download the bytes of data.

To retrieve an archive from Amazon Glacier, you first initiate a job. After the job is completed, you download the data. For more information about archive retrievals, see Retrieving Amazon Glacier Archives.

The access time of your request depends on the retrieval option that you choose: Expedited, Standard, or Bulk retrievals. For all but the largest archives (250 MB+), archives accessed by using Expedited retrievals are typically made available within 1–5 minutes. Archives retrieved by using Standard retrievals typically are available between 3–5 hours. Bulk retrievals typically are available within 5–12 hours. For more information about the various retrieval options, see the Amazon Glacier FAQ. For information about data retrieval charges, see the Amazon Glacier pricing page.

The code examples shown in the following topics initiate the job, wait for it to be completed, and then download the archive's data.