Lifecycle
Manage bucket lifecycle policies
You can create and manage lifecycle policies for buckets.
Users must have a role for getIamPolicy to view bucket permission information.
Configure lifecycle
Based on the bucket lifecycle policy, files in a bucket can be automatically deleted or moved to a different bucket type after a specified period from at least 1 day to up to 18,250 days (50 years). When configuring lifecycle, you can specify the objects to which the lifecycle policy applies by selecting all objects or by specifying a prefix or object tags.
- The feature for moving files to a different bucket type will be updated later.
-
Go to KakaoCloud Console > Storage > Object Storage.
-
In the General Bucket menu, select a bucket.
-
On the Management tab, click [Create lifecycle], enter the lifecycle policy, and click [Create].
LifecycleCategory Description Target bucket Bucket name Lifecycle policy name Name used to identify the lifecycle policy Rule Specifies the objects to which the lifecycle policy applies by selecting all objects or configuring an object filter.
- All objects: The lifecycle policy applies to all objects in the bucket.
- Specify Prefix: Enter the prefix of objects to which the policy applies.
- Example: To apply the policy to all objects that start withelastic-, select Specify Prefix and enterelastic-in the input field below.
- Specify object tag: Enter the tag information of objects to which the policy applies.Action Lifecycle policy to apply.
- Delete after expiration: The object is deleted when the specified period expires.Retention period Period that objects are retained in the bucket
You can apply AbortIncompleteMultiPartUpload settings to lifecycle rules through the API.
This rule provides a feature to abort file uploads that are not completed within a specified number of days. This can help reduce storage costs.
Manage lifecycle policies
-
Go to KakaoCloud Console > Storage > Object Storage.
-
In the General Bucket menu, click a bucket.
-
On the bucket details page, go to the Management tab.
-
In the lifecycle policy list, select a configured policy.
-
Click the settings button to modify the policy. You can also enable or disable the policy depending on the situation.
 Lifecycle
Category Description Lifecycle policy name Name used to identify the lifecycle policy Status - Enabled: The lifecycle policy is applied to the bucket.
- Disabled: The lifecycle policy is not applied to the bucket.Rule - All: The lifecycle policy applies to all objects in the bucket.
-Prefix: Enter the prefix of objects to which the policy applies.
-Tag: Enter the tag information of objects to which the policy applies.Action Lifecycle policy to apply.
- Delete after expiration: The object is deleted when the specified period expires.Retention period Period that objects are retained in the bucket [⋮] button - Enable policy: Enable a disabled lifecycle policy.
- Disable policy: Disable an enabled lifecycle policy.
- Configure lifecycle: Modify the lifecycle policy.
- Delete policy: Delete the lifecycle policy.