All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Manage lifecycle

Last updated:2021-07-06 15:04:41

In KS3, you can delete multiple objects or change the storage class of multiple objects in batches at a specified time point or a specified period after the objects are last modified. To implement this feature, create lifecycle rules for the corresponding bucket. After you create a rule, you can enable or disable it.

Note:

  • You can create a maximum of 1,000 rules for each bucket.
  • KS3 makes no commitment on the efficiency of lifecycle management. The time used to delete objects or change the storage class of objects depends on the system workload.
  • For objects that were uploaded before April 12, 2017, you cannot delete them or change the storage class for them.

Manage lifecycle rules in the console

1. Add a rule

In the KS3 console, click Bucket in the left navigation pane. On the Bucket list page, click the name of the target bucket. On the page that appears, click Bucket Settings. On the Bucket Settings tab, click Life Cycle. On the Life Cycle tab, click Add Rule.

2. Configure a rule

Set the following parameters: a. Status: the status of the rule. Valid values: Enable and Disable. b. Policy: Specify whether to match by prefix or apply to the entire bucket. c. Tagging: Select the check box to show the key and value fields. Enter a key and value. You can click Add to add multiple tags in the same way. d. Expiration rule: Select Expiration Date or Expiration Days. If you need to configure a rule that makes buckets expired after a specified number of days, set the valid period to a positive integer. Click OK. The rule will take effect at 00:00 of the next day.

3. Edit, delete, disable, and enable a rule

In the KS3 console, click Bucket in the left navigation pane. On the Bucket list page, click the name of the target bucket. On the page that appears, click Bucket Settings. On the Bucket Settings tab, click Life Cycle. Find the rule that you want to manage and click the corresponding button in the Action column.

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback