Manage lifecycle policies for Vultr archival storage to control object transitions and optimize storage costs.
A lifecycle policy defines which objects in a bucket transition to the VULTR_ARCHIVE storage class and when. Policies run at 00:00 UTC each day. Setting the transition delay to 0 days queues objects for transition in the next nightly run.
The Filter element in a lifecycle policy supports the following criteria:
Prefix: matches objects under a specified pathObjectSizeGreaterThan: matches objects larger than the specified size in bytesObjectSizeLessThan: matches objects smaller than the specified size in bytesCombine multiple criteria by wrapping them inside an And element.
Follow this guide to view, set, and suspend lifecycle policies on Standard Object Storage buckets with Archival Storage enabled.
Move all objects to archive immediately:
Move a subset of objects to archive after 4 days:
This example moves objects under the cold-data/ prefix that are larger than 1 GB. Adjust the Prefix, ObjectSizeGreaterThan, and Days values to match your requirements.
To pause archival without removing the policy, set the rule's Status to Suspended in the XML before reapplying.
To retrieve the current lifecycle policy:
Navigate to Products and click Cloud Storage.
Select Object Storage and click the target Standard subscription.
Click Buckets.
Click the wrench icon next to the target bucket.
The Archival Storage Policy editor displays the current policy XML.
To set or update the lifecycle policy:
To pause archival:
<Status> element to Suspended.
0 Comments
Be the first to comment and share your perspective with the community.