From d29d22ee4bd24d26df66132ba818e2eb574672f7 Mon Sep 17 00:00:00 2001 From: Samy OUBOUAZIZ Date: Wed, 4 Mar 2026 14:47:34 +0100 Subject: [PATCH 1/3] docs(obj): add non current versions doc --- .../how-to/manage-lifecycle-rules.mdx | 50 +++++++++++++------ 1 file changed, 36 insertions(+), 14 deletions(-) diff --git a/pages/object-storage/how-to/manage-lifecycle-rules.mdx b/pages/object-storage/how-to/manage-lifecycle-rules.mdx index f0303781fe..a475da196e 100644 --- a/pages/object-storage/how-to/manage-lifecycle-rules.mdx +++ b/pages/object-storage/how-to/manage-lifecycle-rules.mdx @@ -9,9 +9,18 @@ dates: import Requirements from '@macros/iam/requirements.mdx' import LifecycleMinimalDurationMessage from '@macros/object-storage/lifecycle-minimal-duration-message.mdx' -With the Scaleway console, you can use lifecycle rules to [manually](/object-storage/how-to/edit-storage-class/) or automatically change the storage class of your objects. These rules also allow users to set expiration dates for objects and their versions. +The Scaleway console allows you to automatically manage the lifecycle of your object by setting lifecycle rules. These rules allow you to automatically: + - delete your objects and their versions by setting expiration durations + - transition objects and their versions to a colder storage class + - abort incomplete [multipart uploads](/object-storage/api-cli/multipart-uploads/). -Lifecycle rules also allow you to automatically abort incomplete [multipart uploads](/object-storage/api-cli/multipart-uploads/). +You can either apply these rules to each object in a bucket, or to a specific set of objects by using filters based on prefixes and tags. + +Lifecycle rules only allow the following transitions: + + - Standard Multi-AZ -> Standard One Zone + - Standard Multi-AZ -> Glacier + - Standard One Zone -> Glacier @@ -22,31 +31,44 @@ Lifecycle rules also allow you to automatically abort incomplete [multipart uplo - An [Object Storage bucket](/object-storage/how-to/create-a-bucket/) ## How to create a lifecycle rule + 1. Click **Object Storage** in the **Storage** section of the side menu. The list of your buckets displays. + 2. Click the name of your bucket. The list of your objects displays. + 3. Click **Lifecycle rules**. + 4. Click **+ Create Lifecycle rule** to add a rule. + 5. Enter a name for the rule. + 6. 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: + - [**Prefix**](/object-storage/concepts/#prefix): based on the object name and path. The defined rule will be applied to all objects with the same name [prefix](/object-storage/concepts/#prefix). + - [**Tags**](/object-storage/concepts/#tags): comprised of a **key** and an associated **value**. These tags should be defined before rule creation, for either a bucket or an object. You can add one or more tags to your filter. + 7. 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 transition the current version of your objects to a colder storage class after the specified number of days. + + - Automatically transition the non-current versions of your objects to a colder storage tier after the specified number of days. + + - Automatically expire and delete the current version of your objects after the specified number of days. + + - Automatically expire and delete non-current versions of an object after a specified number of days once it becomes non-current. + - Automatically abort [incomplete multipart uploads](/object-storage/api-cli/multipart-uploads/#aborting-a-multipart-upload) after a specified number of days. 8. Click **Next Step** to proceed. 9. Review the summary of your lifecycle rule, then click **Create lifecycle rule** to confirm. - - - Lifecycle rules only allow the following transitions: - - Standard Multi-AZ -> Standard One Zone - - Standard Multi-AZ -> Glacier - - Standard One Zone -> Glacier - +Your new rule is enabled, and appears in the lifecycle rules list. ## How to disable a lifecycle rule @@ -57,8 +79,8 @@ Lifecycle rules also allow you to automatically abort incomplete [multipart uplo 5. Click **Disable**. A confirmation window pops up. 6. Click **Disable lifecycle rule** to confirm. - -Once disabled, the lifecycle rule remains listed and can be enabled again. Click , then select **Activate** to re-enable it. - + + Once disabled, the lifecycle rule remains listed and can be enabled again. Click , then select **Activate** to re-enable it. + -To permanently delete a rule, click , then click **Delete**. \ No newline at end of file +To permanently delete a rule, click next to its name, then click **Delete**. \ No newline at end of file From d65d565bf73b8a1461323453c884c01c5c0b1535 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Thu, 19 Mar 2026 10:58:55 +0100 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Jessica <113192637+jcirinosclwy@users.noreply.github.com> --- pages/object-storage/how-to/manage-lifecycle-rules.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/object-storage/how-to/manage-lifecycle-rules.mdx b/pages/object-storage/how-to/manage-lifecycle-rules.mdx index a475da196e..5c9609010a 100644 --- a/pages/object-storage/how-to/manage-lifecycle-rules.mdx +++ b/pages/object-storage/how-to/manage-lifecycle-rules.mdx @@ -10,11 +10,11 @@ import Requirements from '@macros/iam/requirements.mdx' import LifecycleMinimalDurationMessage from '@macros/object-storage/lifecycle-minimal-duration-message.mdx' The Scaleway console allows you to automatically manage the lifecycle of your object by setting lifecycle rules. These rules allow you to automatically: - - delete your objects and their versions by setting expiration durations - - transition objects and their versions to a colder storage class - - abort incomplete [multipart uploads](/object-storage/api-cli/multipart-uploads/). + - Delete your objects and their versions by setting expiration durations + - Transition objects and their versions to a colder storage class + - Abort incomplete [multipart uploads](/object-storage/api-cli/multipart-uploads/) -You can either apply these rules to each object in a bucket, or to a specific set of objects by using filters based on prefixes and tags. +You can either apply these rules to each object in a bucket or to a specific set of objects by using filters based on prefixes and tags. Lifecycle rules only allow the following transitions: @@ -68,7 +68,7 @@ Lifecycle rules only allow the following transitions: 9. Review the summary of your lifecycle rule, then click **Create lifecycle rule** to confirm. -Your new rule is enabled, and appears in the lifecycle rules list. +Your new rule is enabled and appears in the lifecycle rules list. ## How to disable a lifecycle rule From 39ca8c53c0587cd706a3a020f73613996ea0b022 Mon Sep 17 00:00:00 2001 From: Samy OUBOUAZIZ Date: Thu, 19 Mar 2026 11:09:16 +0100 Subject: [PATCH 3/3] docs(obj): add note on paris region --- pages/object-storage/how-to/manage-lifecycle-rules.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/object-storage/how-to/manage-lifecycle-rules.mdx b/pages/object-storage/how-to/manage-lifecycle-rules.mdx index 5c9609010a..0e2101e1ae 100644 --- a/pages/object-storage/how-to/manage-lifecycle-rules.mdx +++ b/pages/object-storage/how-to/manage-lifecycle-rules.mdx @@ -14,6 +14,10 @@ The Scaleway console allows you to automatically manage the lifecycle of your ob - Transition objects and their versions to a colder storage class - Abort incomplete [multipart uploads](/object-storage/api-cli/multipart-uploads/) + +Lifecycle rules for non-current versions are currently available in the Milan, Amsterdam, and Warsaw regions. Support for the Paris region will be added soon. + + You can either apply these rules to each object in a bucket or to a specific set of objects by using filters based on prefixes and tags. Lifecycle rules only allow the following transitions: