Lifecycle Rule

Overview

Lifecycle rules for files/folders (Objects) must be clearly defined according to usage needs.

For example:

  • You need to upload a large amount of data and want these files to only exist for 90 days.

  • Enable versioning for the Bucket, but because the number of file versions is large, it takes up much storage space.

  • Multipart files are not fully uploaded, and parts of the files are still on the system, leading to a waste of storage space.

Managing Lifecycle rules will help you solve the above problems. In a Bucket, you can create multiple Lifecycle rules to apply only to folders or all files and folders, depending on your needs.

Procedure

1

Step 1: Right-click into Bucket and choose Lifecycle rules

2

Step 2: Click on “New Rule” to create the Rules

3

Step 3: Set up the rules you want to apply to your bucket and set the days you need to apply. After choosing the Rules, click “Add New Rule”.

  • Permanently delete file: It will remove all versions of the object from the bucket, including any archived versions, making it unrecoverable once deleted.

  • Permanently deleting previous versions: It will remove older file versions from the bucket, ensuring they cannot be recovered while the current version remains intact.

4

Step 4: Click “Save” to apply the Rule to Bucket.

Last updated