-
Lifecycle rules are limited to 500,000 jobs per day. Beyond this limit, you can transition or delete your objects manually.
-
Lifecycle rules only allow the following transitions:
- Standard -> Onezone IA
- Standard -> Glacier
- Onezone IA -> Glacier
How to manage lifecycle rules from the console
With the Scaleway console, you can use lifecycle rules to manually or automatically change the storage class of your objects. These rules also allow users to set expiration dates for objects and their versions.
Lifecycle rules also allow you to automatically abort incomplete multipart uploads.
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
- An Object Storage bucket
How to create a lifecycle rule
-
Click Object Storage in the Storage section of the side menu. The list of your buckets displays.
-
Click the name of your bucket. The list of your objects displays.
-
Click Lifecycle rules.
-
Click + Create Lifecycle rule to add a rule.
-
Enter a name for the rule.
-
Select the scope of the lifecycle rule:
- Apply the rule to all the objects contained in the bucket.
- Filter the objects you want the rule to be applied to by one or both of the following criteria:
-
Configure the behavior of the lifecycle rule:
- Automatically transition the current version of your objects to another storage class after a specified number of days.
- Automatically delete the current version of your objects after a specified number of days.
- Automatically abort incomplete multipart uploads after a specified number of days.
-
Click Next Step to proceed.
-
Review the summary of your lifecycle rule, then click Create lifecycle rule to confirm.
How to disable a lifecycle rule
- Click Object Storage in the Storage section of the side menu. A list of your buckets displays.
- Click the name of your bucket.
- Click the Lifecycle rules tab. A list of your rules displays.
- Click «See more Icon» next to the rule name.
- Click Disable. A confirmation window pops up.
- Click Disable lifecycle rule to confirm.
Once disabled, the lifecycle rule remains listed and can be enabled again. Click «See more Icon», then select Activate to re-enable it.
To permanently delete a rule, click «See more Icon», then click Delete.