You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: storage/object/api-cli/multipart-uploads.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -274,6 +274,10 @@ If the multipart upload is not completed, the parts will not be assembled and no
274
274
275
275
In case these parts are no longer needed, it is possible to clear them by aborting the multipart upload session.
276
276
277
+
<Messagetype="note">
278
+
You can also abort incomplete multipart uploads manually using the [Scaleway console](https://console.scaleway.com/), or automatically using [lifecycle rules](/storage/object/how-to/manage-lifecycle-rules).
279
+
</Message>
280
+
277
281
To abort an active multipart upload session, send a `DELETE` request to the platform, as follows:
The [Scaleway console](https://console.scaleway.com/) lists your Object Storage incomplete multipart uploads to allow you to consult them and manually abort them to clear storage space and optimize your storage costs.
18
+
19
+
<Messagetype="note">
20
+
Incomplete multipart uploads are charged even though they are not finished as they use storage space.
21
+
</Message>
22
+
23
+
You can automate the process of aborting incomplete multipart uploads using [lifecycle rules](/storage/object/how-to/manage-lifecycle-rules).
24
+
25
+
<Macroid="requirements" />
26
+
27
+
- A Scaleway account logged into the [console](https://console.scaleway.com)
28
+
-[Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
29
+
- An [Object Storage bucket](/storage/object/how-to/create-a-bucket/)
30
+
- At least one incomplete [multipart upload](/storage/object/api-cli/multipart-uploads/)
31
+
32
+
## How to view the information of an incomplete multipart upload
33
+
34
+
1. Click **Object Storage** in the **Storage** section of the side menu. The list of your buckets displays.
35
+
2. Click the name of your bucket. The list of your objects displays.
36
+
3. Click the **Incomplete MPU** tab. A list of your incomplete multipart uploads displays.
37
+
4. Click <Iconname="more" /> next to the object you want to consult.
38
+
5. Click **More info**. The information page of the incomplete multipart upload displays.
39
+
40
+
From this page, you can consult the following elements of an incomplete multipart upload:
41
+
- Name
42
+
- Upload ID
43
+
- Creation date
44
+
- Storage class
45
+
- List of parts uploaded so far
46
+
47
+
Refer to the [dedicated documentation](/storage/object/api-cli/multipart-uploads/) for more information on how to create and manage multipart uploads.
48
+
49
+
## How to abort an incomplete multipart upload
50
+
51
+
1. Click **Object Storage** in the **Storage** section of the side menu. The list of your buckets displays.
52
+
2. Click the name of your bucket. The list of your objects displays.
53
+
3. Click the **Incomplete MPU** tab. A list of your incomplete multipart uploads displays.
54
+
4. Click <Iconname="more" /> next to the object you want to abort.
55
+
5. Click **Abort**. A confirmation pop-up displays.
56
+
6. Type **ABORT** then click **Abort multipart upload** to confirm your action.
57
+
58
+
<Messagetype="note">
59
+
This action will permanently delete the upload, and all the parts uploaded so far. You can also abort an incomplete multipart upload from its [information page](#how-to-view-the-information-of-an-incomplete-multipart-upload).
With the Scaleway console, you can use lifecycle rules to [manually](/storage/object/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.
18
18
19
+
Lifecycle rules also allow you to automatically abort incomplete [multipart uploads](/storage/object/api-cli/multipart-uploads/).
20
+
19
21
<Macroid="requirements" />
20
22
21
23
- A Scaleway account logged into the [console](https://console.scaleway.com)
@@ -28,44 +30,29 @@ With the Scaleway console, you can use lifecycle rules to [manually](/storage/ob
28
30
3. Click **Lifecycle rules**.
29
31
4. Click **+ Create Lifecycle rule** to add a rule.
30
32
5. Enter a name for the rule.
31
-
6.Filter the objects you want the rule to be applied to by one or both of the following criteria:
32
-
-[**Prefix**](/storage/object/concepts/#prefix): based on the object name and path. The defined rule will be applied to all objects with the same name [prefix](/storage/object/concepts/#prefix).
33
-
-[**Tags**](/storage/object/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.
Lifecycle rules are limited to 500,000 jobs per day. Beyond this limit, you can [transition](/storage/object/how-to/edit-storage-class/) or [delete](/storage/object/how-to/delete-an-object/) your objects manually.
39
-
</Message>
33
+
6.Select the scope of the lifecycle rule:
34
+
-Apply the rule to all the objects contained in the bucket.
35
+
-Filter the objects you want the rule to be applied to by one or both of the following criteria:
36
+
-[**Prefix**](/storage/object/concepts/#prefix): based on the object name and path. The defined rule will be applied to all objects with the same name [prefix](/storage/object/concepts/#prefix).
37
+
-[**Tags**](/storage/object/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.
38
+
7. Configure the behavior of the lifecycle rule:
39
+
- Automatically transition the current version of your objects to another storage class after a specified number of days.
40
+
- Automatically delete the current version of your objects after a specified number of days.
41
+
- Automatically abort [incomplete multipart uploads](/storage/object/api-cli/multipart-uploads/#aborting-a-multipart-upload) after a specified number of days.
40
42
41
-
## How to configure transition rules
43
+
8. Click **Next Step** to proceed.
42
44
43
-
If you wish to change the [storage class](/storage/object/concepts/#storage-class) of two or more objects at a time, you can set up a transition rule that will automate the process.
44
-
45
-
1. Click <Iconname="toggle" /> **Change object class** to transfer the current version of the objects to a different storage class.
46
-
2. Select the new storage class.
47
-
3. Enter the desired number of days before transition.
48
-
4. Click **Next step** to proceed.
49
-
5. Make sure all the information is correct, then click **Create Lifecycle rule** to confirm.
45
+
9. Review the summary of your lifecycle rule, then click **Create lifecycle rule** to confirm.
50
46
51
47
<Messagetype="important">
52
-
Lifecycle rules only allow the following transitions:
53
-
- Standard -> Onezone IA
54
-
- Standard -> Glacier
55
-
- Onezone IA -> Glacier
48
+
- Lifecycle rules are limited to 500,000 jobs per day. Beyond this limit, you can [transition](/storage/object/how-to/edit-storage-class/) or [delete](/storage/object/how-to/delete-an-object/) your objects manually.
56
49
57
-
Refer to the documentation on [how to manually change the storage class of your objects](/storage/object/how-to/edit-storage-class/) for more information.
50
+
- Lifecycle rules only allow the following transitions:
51
+
- Standard -> Onezone IA
52
+
- Standard -> Glacier
53
+
- Onezone IA -> Glacier
58
54
</Message>
59
55
60
-
## How to configure expiration rules
61
-
62
-
If you wish to delete an object after a set number of days, you can set up an expiration rule that will automate the process.
63
-
64
-
1. Click <Iconname="toggle" /> **Delete after expiration** to define when the current version of your objects will be deleted.
65
-
2. Enter the desired number of days before deletion.
66
-
3. Click **Next step** to proceed.
67
-
4. Check that all settings are correct and click **Create Lifecycle rule** to confirm.
68
-
69
56
## How to disable a lifecycle rule
70
57
71
58
1. Click **Object Storage** in the **Storage** section of the side menu. A list of your buckets displays.
@@ -76,7 +63,7 @@ If you wish to delete an object after a set number of days, you can set up an ex
76
63
6. Click **Disable lifecycle rule** to confirm.
77
64
78
65
<Messagetype="note">
79
-
Once disabled, the lifecycle rule remains listed and can be enabled again. Click <Iconname="more" /> > **Activate** to do so.
66
+
Once disabled, the lifecycle rule remains listed and can be enabled again. Click <Iconname="more" />, then select **Activate** to re-enable it.
80
67
</Message>
81
68
82
69
To permanently delete a rule, click <Iconname="more" />, then click **Delete**.
0 commit comments