How To Move S3 To Glacier

How To Articles

Hi there! Today, I want to share with you my personal experience and insights on how to move your S3 data to Glacier. This process can help you save costs and optimize your storage strategy.

Introduction: Why Move S3 to Glacier?

Amazon S3 (Simple Storage Service) is a highly scalable and durable object storage service. It is ideal for storing and retrieving large amounts of data, but it comes at a cost. If your data is not regularly accessed, it can be more cost-effective to store it in Glacier, which is designed for long-term archival storage.

By moving your S3 data to Glacier, you can significantly reduce your storage costs while still maintaining durability and security.

Step 1: Create a Glacier Vault

The first step is to create a Glacier vault, which is a container for your archived data. To do this, you can use the AWS Management Console, the AWS CLI, or the Glacier API.

Personally, I prefer using the AWS Management Console as it provides a user-friendly interface. Simply navigate to the Glacier service, click on “Create vault,” and follow the prompts to set a name for your vault and define its access control policies.

Step 2: Set a Lifecycle Policy

Once your Glacier vault is created, you need to set a lifecycle policy for your S3 bucket. This policy defines when and how objects in your bucket will be transitioned to Glacier.

In the S3 Management Console, select your bucket, go to the “Management” tab, and click on “Lifecycle configuration.” From here, you can create a new policy or modify an existing one.

In the policy, specify the rules for transitioning objects from the S3 bucket to Glacier. You can define conditions based on object age, size, or other metadata. For example, you can set a rule to move objects older than 30 days to Glacier automatically.

Make sure to review and save your policy before proceeding.

Step 3: Transition Objects to Glacier

With the lifecycle policy in place, your S3 objects will now be automatically transitioned to Glacier based on the specified rules.

You can also manually transition objects from S3 to Glacier by selecting them and using the “Change storage class” option. This can be useful if you want to prioritize certain objects for archival storage.

Keep in mind that the transition process may take some time, depending on the size and number of objects. You can monitor the progress in the S3 Management Console or using the AWS CLI.

Step 4: Retrieving Objects from Glacier

When you need to retrieve an object from Glacier, you have two options: expedited and standard retrieval.

Expedited retrieval allows you to access your data within 1-5 minutes but comes with a higher cost. Standard retrieval typically takes 3-5 hours and is more cost-effective for non-urgent requests.

In the S3 Management Console or via the AWS CLI, you can initiate a retrieval request for an object stored in Glacier. Once the request is completed, the object will be temporarily available in your S3 bucket.


Moving your S3 data to Glacier can help you optimize your storage costs and improve your overall data management strategy. By following these steps, you can efficiently transition your data to Glacier and take advantage of its long-term archival capabilities.

Remember to review and adjust your lifecycle policies periodically to ensure they align with your data retention and access requirements.

So, what are you waiting for? Start moving your S3 data to Glacier and unlock the benefits of cost-effective archival storage!