Skip to main content

Lifecycle

Manage bucket lifecycle policies

You can create and manage lifecycle policies for buckets.

info

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.

  1. Go to KakaoCloud Console > Storage > Object Storage.

  2. In the General Bucket menu, select a bucket.

  3. On the Management tab, click [Create lifecycle], enter the lifecycle policy, and click [Create].

    Image Lifecycle

    CategoryDescription
    Target bucketBucket name
    Lifecycle policy nameName used to identify the lifecycle policy
    RuleSpecifies 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 with elastic-, select Specify Prefix and enter elastic- in the input field below.
    - Specify object tag: Enter the tag information of objects to which the policy applies.
    ActionLifecycle policy to apply.
    - Delete after expiration: The object is deleted when the specified period expires.
    Retention periodPeriod that objects are retained in the bucket
info

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

  1. Go to KakaoCloud Console > Storage > Object Storage.

  2. In the General Bucket menu, click a bucket.

  3. On the bucket details page, go to the Management tab.

  4. In the lifecycle policy list, select a configured policy.

  5. Click the settings button to modify the policy. You can also enable or disable the policy depending on the situation.

    ![Image](https://objectstorage.kr-central-2.kakaocloud.com/v1/c11fcba415bd4314b595db954e4d4422/public/docs/object_storage/new/bucket_manage/new_bucket_수명 주기_list_kr2.png) Lifecycle

    CategoryDescription
    Lifecycle policy nameName 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.
    ActionLifecycle policy to apply.
    - Delete after expiration: The object is deleted when the specified period expires.
    Retention periodPeriod 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.