Search code examples
amazon-web-servicesamazon-s3storageamazon-glacier

S3 move current objects to Glacier Deep Archive storage class


I have 1.5TB of data in bucket with Standard storage class. I want to move all objects to Glacier Deep Archive storage class.

S3 makes a copy (version) of an object in Standard storage class If I move it to Glacier Deep Archive via GUI (select objects->actions->edit storage class).

Do I get charged for both objects (versions?) or just for the Glacier one? Both versions are the same size.

I could use Lifecycle rules but not all files were created >180days ago.


Solution

  • Yes, you are getting charged for the whole volume including the versions.

    But instead of manual update of the storage class, maybe a lifecycle policy is better option, where the objects you can archive the the objects and specify to delete the versionins after some time. No need to wait 180 days

    https://aws.amazon.com/blogs/aws/amazon-s3-lifecycle-management-update/