Folks have been asking for lifecycle rules, and we’re happy to deliver! You can now transition your objects from Standard to Archive or Infrequent Access tiers based on when the object was last modified. We support transitioning from one tier to another tier, and more complex transitions are coming down the pipe.
The lifecycle rule generally looks like the below, and there’s lots more info in the object lifecycle rules docs:
{
"Rules": [
{ "Expiration": { "Days": 90 }, "Status": "Enabled" },
{
"Status": "Enabled",
"Transitions": [{ "Days": 14, "StorageClass": "GLACIER" }]
}
]
}
My favorite part of this feature is how simple it seems on the surface vs how complex it is to implement. The engineer who built lifecycle rules, @garren, said, “it sounds super easy, but it took me like four months to do all of that.” On the blog, we go through the logic for the actual lifecycle transition and where it gets complicated working with a globally distributed system: You wanted lifecycle rules. Here’s how we made it happen. | Tigris Object Storage
As always, let us know how lifecycle rules work out for you, and we’re here to help as anything comes up!