Search code examples
amazon-web-servicesamazon-s3policyamazon-glaciercost-management

Is it safe to assume that removing an AWS S3 Bucket Lifecycle Policy will not affect already transitioned objects?


I have an S3 bucket on which I activated a Lifecycle Policy that transitions objects to Glacier class storage after 14 days.

I desire to disable this policy.

Is it safe to assume that disabling/deleting the Lifecycle Policy will not alter/affect the already transitioned objects in any way?

This links specifies what happens to transition scheduling, in the event of Policy deletion. https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-set-lifecycle-configuration-intro.html Although it would seem evident, I didn't find it to imply about already transitioned objects remaining untouched.

My concern with this is critical due to AWS:Glacier having extreme costs for retrieval over 5% of total Glacier usage, but also for deleting files prior to 90 days.


Solution

  • The lifecycle policy works on the bucket itself. When you delete it/disable it, it stops performing the defined actions.

    It will NOT perform actions to reverse anything. This includes glacier, deleted files, moved files, etc.