Using lifecycle policy
    • PDF

    Using lifecycle policy

    • PDF

    Article Summary

    Available in Classic and VPC

    NAVER Cloud Platform provides a lifecycle policy feature that allows an object to be deleted automatically or transferred to Archive Storage according to the storage period.
    Data that are frequently used will be stored in Object Storage for fast input and output and data that needs to be used for regulation response and post-analysis can be transferred to Archive Storage for long-term storage. By transferring data accordingly, the Total cost of ownership (TCO) will be reduced and a systematic management of data is possible.

    • No additional use fees are charged for the lifecycle policy feature.
    • You cannot apply a lifecycle policy to the bucket to which encryption settings (KMS) are applied.
    • You must apply for Archive Storage use first to automatically transfer data to Archive Storage when setting the lifecycle policy. For more information on Archive Storage, see the portal's Services > Storage > Archive Storage.
    • When automatically transferring to Archive Storage, the transfer may fail due to object naming limits. (Over 215 bytes, slash (/) duplicate)
    • Object with SSE-C setting cannot use the Archive Storage transfer feature.
    • WORM bucket cannot be transferred.
    • Data transfer may be delayed a little, depending on the infrastructure situation.
    • Overwriting a previous file is not supported in the lifecycle policy, so the changed object from the Object Storage will not be changed in Archive Storage when transferred.
    Note

    The Archive Storage transfer feature is only supported in Korea Region. Only the feature of deletion at the time of expiration is available in remaining Regions.

    Caution

    The Lifecycle Management feature may not operate properly if the number of object in the single bucket exceeds 1 million. Uploading after dividing the bucket so the number of object saved in the bucket does not exceed 1 million is recommended.

    Lifecycle Management Screen

    The Lifecycle Management screen description for the lifecycle policy is as follows:

    objectstorage-use-lifecycle_screen_en

    FieldDescription
    ① Menu nameName of the menu currently being viewed
    ② Basic featuresAdd lifecycle policy, check Object Storage details, refresh Lifecycle Management screen.
    ③ Post-creation featuresdeletes, restarts, and stops the created lifecycle policy
    ④ List of lifecycle policyviews the list and information of lifecycle policies

    Check Lifecycle Policy List

    You can view the information on each policy in the list of lifecycle policies. The following describes how to view the information.

    Note
    • The list can be viewed when there is more than one lifecycle policy. If there are no lifecycle policies created, it will not be viewed on the Lifecycle Management screen.
    • Some items may not be displayed in the list depending on the region.
    1. From NAVER Cloud Platform console, click the Services > Storage > Object Storage menus, in that order.
    2. Click the Lifecycle Management menu.
    3. View the information on each policy when the list of lifecycle policies is displayed.
      objectstorage-use-lifecycle_list_en
      • Lifecycle Policy
        • Policy type: type of the lifecycle policy
        • Application point of time: point of time when the lifecycle policy is applied
        • Status: activation status of the lifecycle policy
          • ON: the policy is activated and can be executed at the time of application
          • OFF: the policy is deactivated and cannot be executed at the time of application
      • Managed Target (Source)
        • Bucket: target bucket for applying the lifecycle policy
        • Object naming rule (prefix): prefix that limits the management target object
      • Transfer Location (Target)
        • Bucket: when selecting migrate/delete after migration, the Archive Storage bucket for data migration.
        • Detailed path: the detailed path of Archive Storage bucket for data migration.

    Create Lifecycle Policy

    The following describes how to create a new lifecycle policy.

    1. From NAVER Cloud Platform console, click the Services > Storage > Object Storage menus, in that order.

    2. Click the Lifecycle Management menu.

    3. Click on the [Add Lifecycle Policy] button.

    4. When the Add lifecycle policy pop-up window is displayed, set the policy.

      • Policy type: select the type of the policy
        • Delete upon expiration: the object is deleted after a certain period of time
        • Transfer: store the object to Archive Storage after a certain period (the original is maintained in Object Storage).
        • Delete after transfer: store the object to Archive Storage after a certain period and delete the original from Object Storage.
      • Transfer time (after creation): point of time when the policy is applied. Specify when the object will be deleted or transferred after saving.
      Note

      The migrate/delete after migration option is available in Korea Region only.

    5. Set the management target.

      • Target bucket: target bucket for applying the lifecycle policy
      • Object naming rule (prefix): enter the prefix that will constrain the application target object(<example> /apache/log/access_)
        • The prefix policy applies to the entire path of the object including the folder and file name.
          <example> If "test10" is applied as a prefix, the policy is applied to the file name "test101.jpg" and to the file path "test1010/img1.jpg" as well.
    6. Please set the Archive Storage path for the object when selecting transfer or delete after transfer.

      • Container (Bucket) name: select bucket within Archive Storage
      • Detailed path: sets the detailed path of the transfer destination in the selected bucket(<example> /apache_log/)
    7. Click the [Next] button.

    8. Check the details and click on the [Finish] button.

      • The lifecycle policy is created and its status is automatically set to ON.
    Note
    • If the transferred target name is beyond 215 bytes, it may not be transferred to Archive Storage.
    • If the transferred target name has a duplicate slash (/), it may not be transferred to Archive Storage.
    • Object with SSE-C setting cannot use the Archive Storage transfer feature.
    • WORM bucket cannot be transferred.

    Stop Lifecycle Policy

    The created lifecycle policy can be stopped to prevent its application. The following describes how to stop the policy.

    1. From NAVER Cloud Platform console, click the Services > Storage > Object Storage menus, in that order.
    2. Click the Lifecycle Management menu.
    3. Select the policy you wish to stop and click the [Stop] button.
    4. If the policy stop window pops up, click the [Check] button.
      • The policy in the lifecycle policy list is displayed as OFF.

    Restart Lifecycle Policy

    You can restart the stopped lifecycle policy. The following describes how to restart the policy.

    1. From NAVER Cloud Platform console, click the Services > Storage > Object Storage menus, in that order.
    2. Click the Lifecycle Management menu.
    3. Select the policy you wish to restart and click the [Start] button.
    4. If the policy start window pops up, click the [Check] button.
      • The policy in the lifecycle policy list is displayed as ON.

    Delete Lifecycle Policy

    You can delete the lifecycle policy that was created. The following describes how to delete it.

    Caution

    When the lifecycle policy is deleted, it cannot be restored.

    1. From NAVER Cloud Platform console, click the Services > Storage > Object Storage menus, in that order.
    2. Click the Lifecycle Management menu.
    3. Select the policy you wish to delete and click the [Delete] button.
    4. If the policy delete window pops up, click the [Check] button.
      • The policy is automatically stopped and cleared in the lifecycle policy list.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.