S3 Storage calculation after moving objects to glacier

0

Hi there,

I have a S3 bucket with versions enabled(not sure if this is relavant), I moved some objects from IA storage class to glacier deep archive so as to save storage cost. However, the storage metrics of the IA class stay the same, while storage metries for the glacier class are also showing us.

I'm curious: when an object is moved from IA to glacier deep archive, isn't it the case that storage cost for the IA class will be eliminated? Or is there anything else I need to setup?

Thanks!

2 Answers
1

Hello,

S3 IA storage costs should decrease after moving objects to Glacier Deep Archive.

If metrics don't reflect this, check for metric delays, object versions (use lifecycle policies), and correct metric filters.

Amazon S3 Pricing: https://aws.amazon.com/s3/pricing/

Amazon S3 Lifecycle: https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html

profile picture
EXPERT
answered 2 months ago
1

Hi Xuejie

Check these steps to resolve issue:

When you enable versioning on an S3 bucket, every time an object is modified or deleted, a new version of the object is created and stored. This is to protect against accidental data loss.

Even though you've moved the latest version of an object to Glacier Deep Archive, the previous versions of the object still exist in the IA storage class. These older versions contribute to the IA storage metrics.

Review Lifecycle Policy:

  • Check if you have a lifecycle policy configured for the bucket.
  • Ensure the policy is correctly configured to transition older object versions to Glacier Deep Archive.

Analyze Storage Metrics:

  • Use CloudWatch to analyze storage metrics over time.
  • Look for trends in IA storage usage and correlate them with object version changes.

Additional Points

  1. Versioning Enabled: While versioning is often helpful for data protection, it can increase storage costs. Evaluate if versioning is necessary for all objects in your bucket.
  2. Lifecycle Management: Implement a robust lifecycle policy to automatically transition objects to appropriate storage classes based on their access patterns.
  3. Storage Class Analysis: Regularly review your storage usage and consider optimizing storage costs by moving infrequently accessed data to lower-cost storage classes.

For More follow the links,

https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-versioning-examples.html

https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html

https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html

profile picture
EXPERT
Sandeep
answered 2 months 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.

Guidelines for Answering Questions