s3 lifecycle transition costs

0

A customer is planning a large archive from Standard to Glacier and wants to use a lifecycle policy to complete that.

Example: If I have 1,000,000 files in an s3 bucket with standard storage, and apply a lifecycle rule on the bucket so that all of the files transition to S3 Glacier storage...

Do I get charged a one-time "Lifecycle transitions cost" based on 1,000,000 requests (since there are 1,000,000 objects)?

And if so, based on the cost of $0.00005 per glacier lifecycle transition request ($0.05 per 1,000) we would have a one-time charge of ($0.00005 * 1,000,000) $50.00 ?

AWS
已提問 4 年前檢視次數 9024 次
1 個回答
0
已接受的答案

Yes. Your calculations are correct. The requests are counted on per object basis. However, do not forget to consider the overhead. https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html

S3 Glacier and S3 Glacier Deep Archive transition request charges— Each object that you transition to the S3 Glacier or S3 Glacier Deep Archive storage class constitutes one transition request. There is a cost for each such request. If you plan to transition a large number of objects, consider the request costs. If you are archiving small objects, consider aggregating many small objects into a smaller number of large objects to reduce transition request costs.

Storage overhead charges – When you transition objects to the S3 Glacier or S3 Glacier Deep Archive storage class, a fixed amount of storage is added to each object to accommodate metadata for managing the object.

For each object archived to S3 Glacier or S3 Glacier Deep Archive, Amazon S3 uses 8 KB of storage for the name of the object and other metadata. Amazon S3 stores this metadata so that you can get a real-time list of your archived objects by using the Amazon S3 API. For more information, see Get Bucket (List Objects). You are charged Amazon S3 Standard rates for this additional storage.

For each object that is archived to S3 Glacier or S3 Glacier Deep Archive, Amazon S3 adds 32 KB of storage for index and related metadata. This extra data is necessary to identify and restore your object. You are charged S3 Glacier or S3 Glacier Deep Archive rates for this additional storage.

AWS
Sunil_Y
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南