I am trying to transition a bucket full of Standard Tier storage class objects to Intelligent-Tirering class objects one time. I created the following Lifecycle Rule to transition them all:
This appears in my Lifecycle rules list, I have correctly have 2 rules:
But when I return in around 1 hour the rule is missing and the transition hasn’t happened. I have only one original rule remaining again.
Why does it keep disappearing/deleting? and how do I fix this to transition the objects to the Intelligent-Tirering storage class?
2
Answers
With some help from @allan-chua and Laravel Vapor support it looks like Vapor clears the lifecycle rules of any managed buckets on deployment. There are 2 solutions here:
I suspect there’s some sort of automation that removes your lifecycle rule (Check with your infra, devops or security teams). You could use CloudTrail to check which principal is deleting your S3 lifecycle rule(s).
See:
Viewing recent CloudTrail management events in the CloudTrail console