Hemanth S. Vaddi
Hemanth S. Vaddi

Reputation: 463

S3 Standard to Glacier - Lifecycle Transition Cost

I wanted to confirm my understanding of the cost for lifecycle policy based transition of files from Standard to Glacier is correct as mentioned with below example.

Per 1000 files of transfer, we get charged a $0.06 (ap-south-1 region) to transfer to Glacier.

Eg:

  1. Bucket A: Has 1 million files (3TB total size). If we move all the objects to Glacier, we will be charged 1000000*0.06/1000 = $60
  2. Bucket B: Has 300 files (3TB total size). If we move all the objects to Glacier, we will be charged $0.06 or less (as it has less than 1000 files in the bucket)

Upvotes: 3

Views: 6002

Answers (1)

Amitkumar Gupta
Amitkumar Gupta

Reputation: 471

Yes, the transition costs are indeed driven by the number of files being moved. It is similar to performing a new PUT operation to S3. You pay based on the number of requests being made. Once the data (files) are part of that storage class, then you are charged for the storage based on the class.

As you may note, transition to Glaicer (or a PUT to Glacier) is around 10 times costlier than a corresponding PUT to S3 standard. In ap-south-1, S3 PUT is charged at $0.005 per 1000 requests, while Glacier transition (or Glacier PUT) is charged at $0.06 per 1000 requests (as of May 2020).

Also, there are additional costs that need to be considered while moving data from S3 to Glacier. Hence it is always a good idea to do a cost analysis of whether it makes sense to move data from S3 to Glacier and determine when, if at all, you would see any savings. I have covered such a cost analysis with various costs involved in great details in a blog post in case you are interested.

http://pragmaticnotes.com/2020/04/22/s3-to-glacier-lifecycle-transition-see-if-its-worth-it

Hope this helps!

Upvotes: 4

Related Questions