Skip to content

How to migrate 45TB of data from S3 to Glacier in best optimised way

0

We have 45 TB (1.5 billion objects) of data in S3 that we need to move to Glacier. Earlier, we tried through lifecycle policies, but that cost us around 14K USD. What will be the best and optimal way to move this data to Glacier.

asked a year ago218 views

2 Answers
0

The pricing sheet for S3, https://aws.amazon.com/s3/pricing/, shows that PUT requests for uploading objects to any of the three different Glacier classes cost the same as lifecycle rule -triggered transitions. The only way to decrease costs substantially would be to bundle many objects into one, such as by making 7-Zip archives or tarballs out of large numbers of files, and uploading the combined archive file in S3.

EXPERT

answered a year ago

EXPERT

reviewed a year ago

  • Thanks for the prompt response. Could you please help clarify how we can practically bundle a very large number of objects (approximately 1.5 billion objects) into archives or tarballs?

    If this approach requires downloading the data onto a Unix host, it would involve a huge volume of S3 GET requests, resulting in significant request charges, compute costs, and potential data transfer overheads. Given the scale, this could make the solution prohibitively expensive and operationally complex. If above is not an expensive operation, then would appreciate if you share the detailed steps for performing the above operation.

    If this is indeed an expensive operation, then pls assist in understanding the below pointers -

    How to minimize S3 GET request costs?

    Whether bundling can be done in-place or server-side, without full data download.

    What tooling or AWS-native mechanisms (if any) can help achieve this in a cost-optimized and scalable manner.

0

Explore: (1) Creating an S3 Inventory, (2) Use S3 Batch Operations to aggregate 1000 objects at a time (3) create a lambda function to zip the files and store to Glacier. See https://aws.amazon.com/blogs/storage/how-indus-os-cost-effectively-transitioned-their-data-between-amazon-s3-storage-classes/

Hopefully, this is helpful.

AWS

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.