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: serverless/jobs/how-to/monitor-job.mdx
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,14 @@ content:
7
7
paragraph: Monitor job execution and performance on Scaleway Serverless.
8
8
tags: serverless jobs logs metrics cockpit grafana activity
9
9
dates:
10
-
validation: 2024-06-17
10
+
validation: 2024-12-24
11
11
posted: 2023-11-20
12
12
categories:
13
13
- serverless
14
14
- jobs
15
15
---
16
16
17
-
You can monitor the activity of your Serverless Jobs using the [Scaleway console](https://console.scaleway.com) to check the current status, RAM, and CPU consumption of your runs. Also, Serverless Jobs is fully integrated into Scaleway’s Observability [Cockpit](/observability/cockpit/quickstart/) and allows you to quickly access your logs.
17
+
You can monitor the activity of your Serverless Jobs using the [Scaleway console](https://console.scaleway.com) to check the current status, RAM, and CPU consumption of your runs. Also, Serverless Jobs is fully integrated into Scaleway’s Observability [Cockpit](/observability/cockpit/quickstart/), and allows you to quickly access your logs.
18
18
19
19
<Macroid="requirements" />
20
20
@@ -60,4 +60,6 @@ Make sure that you have created a Grafana user and [retrieved their username and
60
60
3. Click <Iconname="more" /> next to the job run you want to monitor, then:
61
61
62
62
- Click **Metrics** to access the Grafana metrics overview page for this job run.
63
-
- Click **Logs** to access the Grafana logs page for this job run.
63
+
- Click **Logs** to access the Grafana logs page for this job run.
64
+
65
+
You are directed to the selected Grafana dashboard.
Copy file name to clipboardExpand all lines: storage/object/api-cli/bucket-policy.mdx
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ content:
7
7
paragraph: Implement and manage bucket policies in Scaleway Object Storage.
8
8
tags: object-storage bucket bucket-policy s3
9
9
dates:
10
-
validation: 2024-06-17
10
+
validation: 2024-12-24
11
11
posted: 2021-02-17
12
12
categories:
13
13
- storage
@@ -18,11 +18,11 @@ categories:
18
18
19
19
<Macroid="storage-bucket-policy" />
20
20
21
-
The different component strings of a bucket policy allow you to [configure fine-grained permissions](/storage/object/api-cli/combining-iam-and-object-storage/) when combined with [Identity and Access Management (IAM)](/identity-and-access-management/iam/concepts/#iam), as shown in the table below.
21
+
The different elements of a bucket policy allow you to [configure fine-grained permissions](/storage/object/api-cli/combining-iam-and-object-storage/) when combined with [Identity and Access Management (IAM)](/identity-and-access-management/iam/concepts/#iam), as shown in the table below.
<Lightboxsrc="scaleway-bucket-policy-iam-table.webp"alt="bucket policy and IAM interaction table" />
24
24
25
-
Bucket policies behave like objects: they can be uploaded into buckets. Once you upload, or "put", a bucket policy into a bucket, it takes immediate effect and will from then on define who can access and perform actions on the bucket and the objects it contains.
25
+
Bucket policies behave like objects: they can be uploaded into buckets. Once you upload, or "put" a bucket policy into a bucket, it takes immediate effect and will from then on define who can access and perform actions on the bucket, and the objects it contains.
26
26
27
27
<Macroid="important-bucket-policy" />
28
28
@@ -39,7 +39,7 @@ Bucket policies behave like objects: they can be uploaded into buckets. Once you
39
39
40
40
## Bucket policies description
41
41
42
-
Bucket policies use a JSON-based access policy language and are composed of strings, such as: `Version`, `Id`, `Statement`, `Sid`, `Principal`, `Action`, `Effect`, `Resource`, and `Condition`.
42
+
Bucket policies use a JSON-based access policy language, and are composed of strings, such as: `Version`, `Id`, `Statement`, `Sid`, `Principal`, `Action`, `Effect`, `Resource`, and `Condition`.
43
43
44
44
### Version
45
45
@@ -200,7 +200,7 @@ Bucket policies use a JSON-based access policy language and are composed of stri
200
200
### Sid
201
201
202
202
**Description**
203
-
: Provides a way to include information about an individual statement.
203
+
: Statement ID. Provides a way to include information about an individual statement.
204
204
205
205
**Required**
206
206
: No
@@ -274,7 +274,7 @@ Bucket policies use a JSON-based access policy language and are composed of stri
274
274
### Principal
275
275
276
276
**Description**
277
-
: Defines the targets of the bucket policy, which can be a [user](/identity-and-access-management/iam/concepts#user) or an [application](/identity-and-access-management/iam/concepts#application). You must use the `user_id` and/or `application_id`, or `*` to grant access to "everyone".
277
+
: Defines the targets of the bucket policy, which can be a [user](/identity-and-access-management/iam/concepts#user) or an [application](/identity-and-access-management/iam/concepts#application). You must use `user_id` and/or `application_id`, or `*` to grant access to "everyone".
278
278
279
279
**Required**
280
280
: Yes
@@ -517,6 +517,7 @@ Bucket policies use a JSON-based access policy language and are composed of stri
517
517
]
518
518
}
519
519
```
520
+
520
521
### Condition
521
522
522
523
**Description**
@@ -605,7 +606,9 @@ Bucket policies use a JSON-based access policy language and are composed of stri
Copy file name to clipboardExpand all lines: storage/object/api-cli/lifecycle-rules-api.mdx
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ content:
7
7
paragraph: Use the API to manage lifecycle rules in Scaleway Object Storage.
8
8
tags: object storage object-storage lifecycle
9
9
dates:
10
-
validation: 2024-06-17
10
+
validation: 2024-12-24
11
11
posted: 2019-05-14
12
12
categories:
13
13
- storage
@@ -19,7 +19,7 @@ categories:
19
19
-[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
20
20
- An [Object Storage bucket](/storage/object/how-to/create-a-bucket/)
21
21
22
-
It is possible to configure the lifecycle of a group of objects so that their storage costs can be effectively managed. A lifecycle configuration is a set of rules that defines actions applied to a group of objects stored on Object Storage.
22
+
You can configure the lifecycle of a group of objects so that their storage costs can be effectively managed. A lifecycle configuration is a set of rules that defines actions applied to a group of objects stored on Object Storage.
23
23
24
24
Currently, the **expiration**, **transition**, and **incomplete multipart uploads** actions are supported on the platform:
25
25
***Expiration** defines when objects expire. This allows for the automatic deletion of objects on your behalf.
@@ -35,7 +35,7 @@ Currently, the **expiration**, **transition**, and **incomplete multipart upload
35
35
Refer to our [dedicated documentation](/storage/object/how-to/edit-storage-class/) to manually change the storage class of your objects.
36
36
</Message>
37
37
38
-
There might, for example, be a need to store log files for a week or a month, after which they become obsolete. It is possible to set a lifecycle rule to delete them automatically when they become obsolete. If you consider that a 3-month-old object is rarely used but still has a value, you might want to configure a rule to send it automatically to [Scaleway Glacier](https://www.scaleway.com/en/glacier-cold-storage/), for example.
38
+
There might, for example, be a need to store log files for a week or a month, after which they become obsolete. It is possible to set a lifecycle rule to delete them automatically when they become obsolete. If you consider that a 3-month-old object is rarely used but still has a value, you might want to configure a rule to send it automatically to [Scaleway Glacier](/faq/objectstorage/#what-is-the-cold-storage-glacier-class), for example.
39
39
40
40
Lifecycle management on Object Storage is available on every Amazon S3 compliant tool (sdk, aws-cli, boto, etc), as well as from the Scaleway [console](https://console.scaleway.com/organization).
41
41
@@ -68,20 +68,23 @@ Each `Rule` consists of the following:
68
68
## Available XML tokens
69
69
70
70
### Rule
71
+
71
72
**Description**
72
73
: Container for a lifecycle rule. There is a limit of one thousand (1000) rules per bucket.
73
74
74
75
**Parent**
75
76
: `LifecycleConfiguration`
76
77
77
78
### Filter
79
+
78
80
**Description**
79
81
: Container for elements that describes the subset of the object the rule applies for. If the content of the tag is empty, the rule applies to all objects in the bucket.
80
82
81
83
**Parent**
82
84
: `Rule`
83
85
84
86
### And
87
+
85
88
**Description**
86
89
: Container for chaining rule filters.
87
90
@@ -101,13 +104,15 @@ Each `Rule` consists of the following:
101
104
This applies the `Prefix` rule *and* the `Tag`.
102
105
103
106
### Prefix
107
+
104
108
**Description**
105
109
: Object key prefix identifying one or more objects to which the rule applies. Object Storage limits this token to 1 per `Filter` Rule.
106
110
107
111
**Parent**
108
112
: `Filter` or `And`
109
113
110
114
### Tag
115
+
111
116
**Description**
112
117
: Container for specifying a `Key` and a `Value`.
113
118
@@ -125,14 +130,16 @@ This applies the `Prefix` rule *and* the `Tag`.
125
130
**Values**
126
131
: `Enabled`, `Disabled`
127
132
128
-
### Transition
133
+
### Transition
134
+
129
135
**Description**
130
136
: Specifies a period and a destination for an object's lifetime
131
137
132
138
**Parent**
133
139
: `Rule`
134
140
135
-
### Days
141
+
### Day
142
+
136
143
**Description**
137
144
: Specifies the number of days after object creation when the rule takes effect.
138
145
@@ -147,6 +154,7 @@ This applies the `Prefix` rule *and* the `Tag`.
147
154
: `Transition`
148
155
149
156
### Expiration
157
+
150
158
**Description**
151
159
: Describes the expiration of the object lifetime. If versioning is enabled, this rule only deletes the current version of an object.
152
160
@@ -249,5 +257,3 @@ Send a [putbucketlifecycleconfiguration](/storage/object/api-cli/bucket-operatio
Once the multipart upload is initiated, Object Storage keeps all parts of the upload until it is completed or aborted.
@@ -78,6 +79,10 @@ When uploading a part, a part number must be specified in addition to the upload
78
79
During the lifecycle of a multipart upload, billing will occur for all storage and bandwidth usage for its associated parts.
79
80
If a multipart upload is aborted, all parts already uploaded are deleted and billing for these resources stops.
80
81
82
+
<Messagetype="important">
83
+
Incomplete multipart uploads that have not been aborted are still subject to billing. For more information on how to view and abort incomplete MPUs, refer to the [dedicated documentation](/storage/object/how-to/abort-incomplete-mpu/).
84
+
</Message>
85
+
81
86
To upload a part of an object in an initiated multipart upload, send a POST request as follows:
82
87
83
88
```
@@ -177,6 +182,7 @@ To get a list of in-progress multipart uploads, send a `GET` request to the URI
@@ -275,7 +281,7 @@ If the multipart upload is not completed, the parts will not be assembled and no
275
281
In case these parts are no longer needed, it is possible to clear them by aborting the multipart upload session.
276
282
277
283
<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).
284
+
You can also [abort incomplete multipart uploads manually](/storage/object/how-to/abort-incomplete-mpu/) using the Scaleway console, or automatically using [lifecycle rules](/storage/object/how-to/manage-lifecycle-rules).
279
285
</Message>
280
286
281
287
To abort an active multipart upload session, send a `DELETE` request to the platform, as follows:
Copy file name to clipboardExpand all lines: storage/object/api-cli/setting-cors-rules.mdx
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ content:
7
7
paragraph: Set CORS rules to manage cross-origin requests in Scaleway Object Storage.
8
8
tags: object storage object-storage aws-s3 bucket cors cors-rule
9
9
dates:
10
-
validation: 2024-06-17
10
+
validation: 2024-12-24
11
11
posted: 2021-05-19
12
12
categories:
13
13
- storage
@@ -16,17 +16,19 @@ categories:
16
16
17
17
The [CORS standard](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) describes new HTTP headers that provide browsers a way to request remote URLs only when they have permission. Although some validation and authorization can be performed by the server, it is generally the browser's responsibility to support these headers and honor the restrictions they impose.
18
18
19
-
Before CORS became standardized, it was not possible to call an API endpoint or other content under different domains for security reasons. This was (and to some degree still is) blocked by the Same-Origin Policy introduced with Netscape Navigator 2.0 in 1995.
20
-
21
-
An example of a cross-origin request: The frontend JavaScript code for a web application served from `http://webapplication.com` uses `XMLHttpRequest` to make a request for `http://customerapi.io/data.json`. Another example might be JavaScript that calls files in an Object Storage bucket, like web fonts, downloads, etc. It is possible to configure CORS for each bucket with the [AWS CLI](/storage/object/api-cli/object-storage-aws-cli/).
22
-
23
19
<Macroid="requirements" />
24
20
25
21
- A Scaleway account logged into the [console](https://console.scaleway.com)
26
22
-[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
27
23
- Installed the [AWS CLI](/storage/object/api-cli/object-storage-aws-cli/)
28
24
- An [Object Storage bucket](/storage/object/how-to/create-a-bucket/)
29
25
26
+
## CORS overview
27
+
28
+
Before CORS became standardized, it was not possible to call an API endpoint or other content under different domains for security reasons. This was (and to some degree still is) blocked by the Same-Origin Policy introduced with Netscape Navigator 2.0 in 1995.
29
+
30
+
An example of a cross-origin request: The frontend JavaScript code for a web application served from `http://webapplication.com` uses `XMLHttpRequest` to make a request for `http://customerapi.io/data.json`. Another example might be JavaScript that calls files in an Object Storage bucket, like web fonts, downloads, etc. It is possible to configure CORS for each bucket with the [AWS CLI](/storage/object/api-cli/object-storage-aws-cli/).
31
+
30
32
## Setting CORS on an Object Storage bucket
31
33
32
34
1. Enter the **Object Storage** section in the left menu of the console.
@@ -90,10 +92,11 @@ If CORS rules are set for the bucket, the API returns a JSON list like this exam
90
92
}
91
93
```
92
94
93
-
If there are no CORS rules set for the bucket, an error message appears:
95
+
If there are no CORS rules set for the bucket, an error message displays:
94
96
```
95
97
An error occurred (NoSuchCORSConfiguration) when calling the GetBucketCors operation: The CORS configuration does not exist
96
98
```
99
+
97
100
## Verifying the CORS configuration of a bucket
98
101
99
102
To verify the CORS rules of a bucket, use `curl` with the desired methods (`GET`, `POST`, etc.), for example:
- A Scaleway account logged into the [console](https://console.scaleway.com)
22
22
-[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
23
23
24
-
<Messagetype="tip">
25
-
As an alternative or complement to this documentation page, check out our video: [What is Object Storage? Quickstart guide with use cases](/storage/object/videos/).
26
-
</Message>
27
-
28
24
## How to create a bucket
29
25
30
26
To get started with Object Storage, you must first create a bucket. Objects are gathered into buckets. Each bucket represents a space where objects are stored.
@@ -73,11 +69,8 @@ A list of the bucket's objects displays including the newly uploaded objects.
73
69
74
70
## How to download files from a bucket
75
71
76
-
1. Click the name of your selected bucket in the buckets list. A list of your objects displays.
77
-
2. Run your cursor over the name of the object you wish to download. The <Iconname="download" /> icon appears.
78
-
3. Click the icon to begin the download of the object into your local file system.
79
-
80
-
Alternatively, you can click the <Iconname="more" /> icon for your selected object and click **Download**.
72
+
1. Click the name of the bucket in the buckets list. A list of your objects displays.
73
+
2. Click the <Iconname="download" /> icon next to the object you want to download.
81
74
82
75
## How to delete a bucket
83
76
@@ -86,13 +79,7 @@ When you delete a bucket, every object stored inside it is deleted with it.
86
79
1. Click **Object Storage** in the **Storage** section of the side menu. The list of your buckets displays.
87
80
2. Click the name of your selected bucket in the buckets list.
88
81
3. Click the **Bucket settings** tab.
89
-
4. Scroll to the end of the page and click **Delete bucket**.
90
-
91
-
A pop-up appears warning that:
92
-
93
-
<Messagetype="important">
94
-
Every object stored inside this bucket will be lost, and another customer will be allowed to reuse the name of this bucket. The deletion of your bucket will be triggered today at 11.59 pm UTC.
95
-
</Message>
82
+
4. Scroll to the end of the page and click **Delete bucket**. A pop-up appears.
96
83
5. If you understand and agree to the conditions, type **DELETE** in the box and click **Delete bucket**.
97
84
98
85
Alternatively, you can delete a bucket by clicking the <Iconname="more" /> icon and then **Delete** in your bucket list.
@@ -101,4 +88,4 @@ Once the bucket is deleted, it disappears from your bucket list.
101
88
102
89
<Messagetype="note">
103
90
For operational reasons, you have to wait 24 hours before creating a bucket with the same name as the one you have just deleted.
Copy file name to clipboardExpand all lines: storage/object/videos.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,11 @@ categories:
14
14
- object-storage
15
15
---
16
16
17
-
## What is Object Storage? Quickstart tutorial with use cases
17
+
<Messagetype="important">
18
+
This video presents Scaleway Object Storage as of December, 2021, and does not reflect the current state of this product. Refer to the [Quickstart](/storage/object/quickstart/) page to discover Scaleway Object Storage.
19
+
</Message>
18
20
21
+
## What is Object Storage? Quickstart tutorial with use cases
19
22
20
23
Object Storage allows you to store different types of objects (documents, images, videos, etc) and distribute them instantly, anywhere in the world. We explain some core Object Storage concepts, take you step by step through the creation of an Object Storage bucket in the cloud, and tell you about some common use cases. You'll learn how to store and share files, how to host a static website from a bucket, and more.
0 commit comments