diff --git a/pages/data-lab/concepts.mdx b/pages/data-lab/concepts.mdx
index ff237fff48..068b3588cb 100644
--- a/pages/data-lab/concepts.mdx
+++ b/pages/data-lab/concepts.mdx
@@ -3,7 +3,7 @@ title: Data Lab for Apache Spark™ - Concepts
description: Learn the fundamental concepts of Scaleway Data Lab for Apache Spark™.
tags: data lab for apache spark notebook jupyter processing
dates:
- validation: 2025-02-24
+ validation: 2025-09-02
---
## Apache Spark cluster
diff --git a/pages/data-lab/faq.mdx b/pages/data-lab/faq.mdx
index 062f62ae12..03eaaab241 100644
--- a/pages/data-lab/faq.mdx
+++ b/pages/data-lab/faq.mdx
@@ -2,7 +2,7 @@
title: Data Lab for Apache Spark™ FAQ
description: Discover Scaleway Data Lab for Apache Spark™ powered by Apache Spark, and how to use it.
dates:
- validation: 2025-02-18
+ validation: 2025-09-02
productIcon: DistributedDataLabProductIcon
---
diff --git a/pages/data-lab/how-to/create-data-lab.mdx b/pages/data-lab/how-to/create-data-lab.mdx
index ee47b90963..05ad18f9f7 100644
--- a/pages/data-lab/how-to/create-data-lab.mdx
+++ b/pages/data-lab/how-to/create-data-lab.mdx
@@ -3,12 +3,11 @@ title: How to create a Data Lab for Apache Spark™
description: Step-by-step guide to creating a Data Lab for Apache Spark™ on Scaleway.
tags: data lab apache spark create process
dates:
- validation: 2025-02-24
+ validation: 2025-09-02
posted: 2024-07-31
---
import Requirements from '@macros/iam/requirements.mdx'
-
Data Lab for Apache Spark™ is a product designed to assist data scientists and data engineers in performing calculations on a remotely managed Apache Spark infrastructure.
diff --git a/pages/data-lab/how-to/manage-delete-data-lab.mdx b/pages/data-lab/how-to/manage-delete-data-lab.mdx
index e4fa53b6e8..8ad567bcbe 100644
--- a/pages/data-lab/how-to/manage-delete-data-lab.mdx
+++ b/pages/data-lab/how-to/manage-delete-data-lab.mdx
@@ -3,12 +3,11 @@ title: How to manage and delete a Data Lab for Apache Spark™
description: Step-by-step guide to managing and deleting a Data Lab for Apache Spark™ with the Scaleway console.
tags: data lab apache spark delete remove suppress
dates:
- validation: 2025-02-24
+ validation: 2025-09-02
posted: 2024-07-31
---
import Requirements from '@macros/iam/requirements.mdx'
-
This page explains how to manage and delete your Data Lab for Apache Spark™.
diff --git a/pages/data-lab/quickstart.mdx b/pages/data-lab/quickstart.mdx
index 766e92bb38..ed60589db6 100644
--- a/pages/data-lab/quickstart.mdx
+++ b/pages/data-lab/quickstart.mdx
@@ -3,7 +3,7 @@ title: Data Lab for Apache Spark™ - Quickstart
description: Get started with Scaleway Data Lab for Apache Spark™ quickly and efficiently.
tags: data lab apache spark notebook jupyter processing
dates:
- validation: 2025-02-24
+ validation: 2025-09-02
posted: 2024-07-10
---
import Requirements from '@macros/iam/requirements.mdx'
diff --git a/pages/object-storage/api-cli/migrating-buckets.mdx b/pages/object-storage/api-cli/migrating-buckets.mdx
index af327acc80..f3f2dad133 100644
--- a/pages/object-storage/api-cli/migrating-buckets.mdx
+++ b/pages/object-storage/api-cli/migrating-buckets.mdx
@@ -3,12 +3,11 @@ title: Migrating data from one bucket to another
description: Learn to migrate buckets between accounts and regions with the AWS CLI.
tags: object storage object-storage bucket migrate
dates:
- validation: 2025-02-11
+ validation: 2025-09-02
posted: 2018-09-14
---
import Requirements from '@macros/iam/requirements.mdx'
-
- A Scaleway account logged into the [console](https://console.scaleway.com)
@@ -48,5 +47,3 @@ import Requirements from '@macros/iam/requirements.mdx'
Delete the old bucket once everything is copied to avoid additional charges. You can use the following command: `aws s3 rb s3://BUCKET-SOURCE --force`
-
-
diff --git a/pages/object-storage/api-cli/object-storage-aws-cli.mdx b/pages/object-storage/api-cli/object-storage-aws-cli.mdx
index 6a5d5dbe32..38149dd916 100644
--- a/pages/object-storage/api-cli/object-storage-aws-cli.mdx
+++ b/pages/object-storage/api-cli/object-storage-aws-cli.mdx
@@ -3,7 +3,7 @@ title: Using Object Storage with the AWS-CLI
description: Integrate AWS CLI with Scaleway Object Storage for seamless operations.
tags: object storage object-storage aws-cli aws cli
dates:
- validation: 2025-02-28
+ validation: 2025-09-02
posted: 2018-07-16
---
import Requirements from '@macros/iam/requirements.mdx'
diff --git a/pages/object-storage/api-cli/share-buckets-read-only.mdx b/pages/object-storage/api-cli/share-buckets-read-only.mdx
index 50f5e83c60..6608b1ac85 100644
--- a/pages/object-storage/api-cli/share-buckets-read-only.mdx
+++ b/pages/object-storage/api-cli/share-buckets-read-only.mdx
@@ -4,7 +4,7 @@ description: Share Scaleway Object Storage buckets with read-only access using t
noindex: true
tags: object storage bucket read only read-only aws cli
dates:
- validation: 2025-02-11
+ validation: 2025-09-02
posted: 2021-05-19
---
import Requirements from '@macros/iam/requirements.mdx'
diff --git a/pages/object-storage/api-cli/using-api-call-list.mdx b/pages/object-storage/api-cli/using-api-call-list.mdx
index 3afad110e9..9dface5b2a 100644
--- a/pages/object-storage/api-cli/using-api-call-list.mdx
+++ b/pages/object-storage/api-cli/using-api-call-list.mdx
@@ -3,12 +3,11 @@ title: Supported Object Storage API calls
description: Learn how to use the API call list effectively with Scaleway Object Storage.
tags: object storage object-storage api bucket
dates:
- validation: 2025-02-28
+ validation: 2025-09-02
posted: 2018-09-13
---
import Requirements from '@macros/iam/requirements.mdx'
-
In this page we index all available Scaleway Object Storage API requests.
@@ -19,13 +18,13 @@ In this page we index all available Scaleway Object Storage API requests.
When you use Object Storage directly with the API, you must generate an [Authentication Signature v4](/object-storage/api-cli/generate-aws4-auth-signature/) beforehand.
-## Common Operations
+## Common operations
| Feature | Description | Status |
| :------------ | :---- | :- |
| [GetService](/object-storage/api-cli/common-operations/#getservice) | Returns a list of all buckets | supported |
-## Bucket Operations
+## Bucket operations
| Feature | Description | Status |
| :------------ | :---- | :---- |
@@ -63,7 +62,7 @@ In this page we index all available Scaleway Object Storage API requests.
-## Object Operations
+## Object operations
| Feature | Description | Status |
| :------------ | :---- | :- |
@@ -93,5 +92,3 @@ In this page we index all available Scaleway Object Storage API requests.
| [RestoreObject](/object-storage/api-cli/object-operations/#restoreobject) | Restores an object from `Glacier` | supported |
| [UploadPart](/object-storage/api-cli/multipart-uploads/#uploading-a-part) | Uploads a part in a multipart upload | supported |
| UploadPartCopy | Copies data from an existing object as data source to upload a part | supported |
-
-
diff --git a/pages/object-storage/how-to/use-bucket-website.mdx b/pages/object-storage/how-to/use-bucket-website.mdx
index 7a06afc70b..aa1b5041f9 100644
--- a/pages/object-storage/how-to/use-bucket-website.mdx
+++ b/pages/object-storage/how-to/use-bucket-website.mdx
@@ -3,12 +3,11 @@ title: How to enable and use the bucket website feature
description: Host a website using Scaleway Object Storage buckets.
tags: bucket website object-storage object storage
dates:
- validation: 2025-02-28
+ validation: 2025-09-02
posted: 2021-03-17
---
import Requirements from '@macros/iam/requirements.mdx'
-
The Bucket Website feature allows you to host [static websites](https://en.wikipedia.org/wiki/Static_web_page) using Scaleway [Object Storage](https://www.scaleway.com/en/object-storage/).
@@ -21,6 +20,7 @@ The Bucket Website feature allows you to host [static websites](https://en.wikip
## How to enable the bucket website feature
1. Click **Object Storage** in the **Storage** section of the side menu. The list of your buckets displays.
+
2. Click the name of the bucket you wish to host your website on.
3. Click **Enable bucket website** in the **bucket settings** tab. A pop-up appears.
@@ -49,12 +49,12 @@ The Bucket Website feature allows you to host [static websites](https://en.wikip
You can also [configure a CNAME record](/tutorials/s3-customize-url-cname/) for your bucket URL to access the website through a domain name of your choice.
-
## Sample HTML files
Use the samples below to quickly create HTML files for testing purposes.
Here is an example of a basic `index.html` file:
+
```html
diff --git a/pages/object-storage/reference-content/cname-record.mdx b/pages/object-storage/reference-content/cname-record.mdx
index cb79fac5d4..eec07a4df4 100644
--- a/pages/object-storage/reference-content/cname-record.mdx
+++ b/pages/object-storage/reference-content/cname-record.mdx
@@ -3,7 +3,7 @@ title: CNAME records and DNS for Edge Services
description: Learn how to set up and manage CNAME records for Scaleway Edge Services pipelines. Follow our detailed guide to configure your custom domain and enhance your cloud accessibility.
tags: edge-services pipeline cname dns
dates:
- validation: 2025-02-11
+ validation: 2025-09-02
---
This document has moved to the new [dedicated Edge Services section](/edge-services/reference-content/cname-record/).
diff --git a/pages/object-storage/reference-content/optimize-object-storage-performance.mdx b/pages/object-storage/reference-content/optimize-object-storage-performance.mdx
index 9682b1f686..2ded26dbb1 100644
--- a/pages/object-storage/reference-content/optimize-object-storage-performance.mdx
+++ b/pages/object-storage/reference-content/optimize-object-storage-performance.mdx
@@ -3,7 +3,7 @@ title: Optimize your Object Storage performance
description: Optimize performance when using Scaleway Object Storage for your data.
tags: object storage object-storage performance tuning better enhance throughput latency optimize
dates:
- validation: 2025-02-11
+ validation: 2025-09-02
posted: 2023-11-24
---
@@ -81,7 +81,7 @@ Multipart upload allows you to leverage a significant concurrency capacity, beca
- you can **upload object parts as you are creating them**, without knowing the size of the object or the number of parts.
-- you can **request different parts simultaneously** using a single cURL request. `GetObject` requests allow you to know the number of parts of an object.
+- you can **request different parts simultaneously** using a single `cURL` request. `GetObject` requests allow you to know the number of parts of an object.
- you can [automate the removal of incomplete multipart uploads](/object-storage/api-cli/multipart-uploads/#aborting-a-multipart-upload) to clear the parts that are no longer needed if an upload fails.
diff --git a/pages/object-storage/reference-content/ssl-tls-certificate.mdx b/pages/object-storage/reference-content/ssl-tls-certificate.mdx
index f3e4737fab..5175f2d1bb 100644
--- a/pages/object-storage/reference-content/ssl-tls-certificate.mdx
+++ b/pages/object-storage/reference-content/ssl-tls-certificate.mdx
@@ -3,7 +3,7 @@ title: SSL/TLS Certificates for Edge Services
description: Discover how to configure SSL/TLS certificates for Scaleway Edge Services pipelines. Follow our comprehensive guide to secure your custom domains and ensure data protection.
tags: edge-services pipeline ssl-tls certificate ssl tls pem certificate-authority root-certificate pem chain ca
dates:
- validation: 2025-02-11
+ validation: 2025-09-02
---
This document has moved to the new [dedicated Edge Services section](/edge-services/reference-content/ssl-tls-certificate/).
diff --git a/pages/object-storage/videos.mdx b/pages/object-storage/videos.mdx
index 5ae94f3b16..d6a0b0da84 100644
--- a/pages/object-storage/videos.mdx
+++ b/pages/object-storage/videos.mdx
@@ -3,7 +3,7 @@ title: Object Storage - Videos
description: Watch videos to learn about Scaleway Object Storage.
tags: object storage object-storage
dates:
- validation: 2025-02-27
+ validation: 2025-09-02
posted: 2021-12-14
---
diff --git a/pages/scaleway-cli/reference-content/console-keyboard-shortcuts.mdx b/pages/scaleway-cli/reference-content/console-keyboard-shortcuts.mdx
index 20bb1b173a..98fd107fee 100644
--- a/pages/scaleway-cli/reference-content/console-keyboard-shortcuts.mdx
+++ b/pages/scaleway-cli/reference-content/console-keyboard-shortcuts.mdx
@@ -3,7 +3,7 @@ title: Scaleway console CLI keyboard shortcuts
description: This page contains the list of keyboard shortcuts to use the Scaleway console CLI
tags: devtools cli shortcuts console
dates:
- validation: 2025-02-28
+ validation: 2025-09-02
posted: 2023-11-20
---
@@ -28,4 +28,3 @@ These shortcuts only apply to the CLI integrated in the [Scaleway console](https
| Ctrl + L | Clear the screen |
| Ctrl + C | Kill the current task |
| Ctrl + D | Close the CLI |
-
diff --git a/pages/serverless-containers/how-to/configure-alerts-containers.mdx b/pages/serverless-containers/how-to/configure-alerts-containers.mdx
index d00de2e6fb..313456a8a0 100644
--- a/pages/serverless-containers/how-to/configure-alerts-containers.mdx
+++ b/pages/serverless-containers/how-to/configure-alerts-containers.mdx
@@ -3,7 +3,7 @@ title: How to configure alerts for a container
description: Learn how to add monitoring alerts to Serverless Containers with Scaleway.
tags: containers alerts grafana threshold monitoring cockpit
dates:
- validation: 2025-02-10
+ validation: 2025-09-01
posted: 2025-02-10
---
import Requirements from '@macros/iam/requirements.mdx'
diff --git a/pages/serverless-containers/how-to/deploy-container.mdx b/pages/serverless-containers/how-to/deploy-container.mdx
index c2ba80f35c..fbb83ca197 100644
--- a/pages/serverless-containers/how-to/deploy-container.mdx
+++ b/pages/serverless-containers/how-to/deploy-container.mdx
@@ -3,7 +3,7 @@ title: How to deploy a container
description: Deploy containers from the Scaleway Container Registry or from external public registries.
tags: deploy container create scaleway-registry docker image external registry public
dates:
- validation: 2025-02-25
+ validation: 2025-09-02
posted: 2021-05-26
---
import Requirements from '@macros/iam/requirements.mdx'
diff --git a/pages/serverless-containers/how-to/manage-a-container.mdx b/pages/serverless-containers/how-to/manage-a-container.mdx
index bd4a1ae739..1c0cb26494 100644
--- a/pages/serverless-containers/how-to/manage-a-container.mdx
+++ b/pages/serverless-containers/how-to/manage-a-container.mdx
@@ -3,12 +3,11 @@ title: How to manage a container
description: Manage your Scaleway Serverless Containers effectively.
tags: manage container
dates:
- validation: 2025-02-24
+ validation: 2025-09-01
posted: 2021-05-26
---
import Requirements from '@macros/iam/requirements.mdx'
-
This page shows you how to manage a container, in order to verify or edit its deployment parameters after creation. You can deploy a container from the [Scaleway Container Registry](/container-registry/quickstart/) or any other public container registry, such as Docker Hub, AWS Container registries, GitLab container registry, etc.
@@ -19,7 +18,7 @@ This page shows you how to manage a container, in order to verify or edit its de
## How to manage a container deployment
-### Manage a deployment from the Scaleway Container Registry
+### Manage a container deployed from the Scaleway Container Registry
1. Click **Containers** in the **Serverless** section of the side menu. The Containers page displays.
2. Click the relevant containers namespace.
@@ -64,7 +63,7 @@ This page shows you how to manage a container, in order to verify or edit its de
8. Click **Deploy container** to save any changes you have made.
-### Manage a deployment from an external container registry
+### Manage a container deployed from an external container registry
1. Click **Containers** in the **Serverless** section of the side menu. The Containers page displays.
2. Click the relevant containers namespace.
diff --git a/pages/serverless-containers/how-to/secure-a-container.mdx b/pages/serverless-containers/how-to/secure-a-container.mdx
index 0d93a6f629..4ba356fe5b 100644
--- a/pages/serverless-containers/how-to/secure-a-container.mdx
+++ b/pages/serverless-containers/how-to/secure-a-container.mdx
@@ -3,7 +3,7 @@ title: How to secure a container
description: Guide to securing Scaleway Serverless Containers.
tags: containers secure private
dates:
- validation: 2025-02-25
+ validation: 2025-09-01
posted: 2023-02-01
---
import Requirements from '@macros/iam/requirements.mdx'
diff --git a/pages/serverless-containers/quickstart.mdx b/pages/serverless-containers/quickstart.mdx
index 5e7c1c1407..fa6f2e7dcc 100644
--- a/pages/serverless-containers/quickstart.mdx
+++ b/pages/serverless-containers/quickstart.mdx
@@ -3,7 +3,7 @@ title: Containers - Quickstart
description: Quickstart guide for Scaleway Serverless Containers.
tags: containers serverless namespace
dates:
- validation: 2025-02-27
+ validation: 2025-09-01
posted: 2021-05-26
---
import Requirements from '@macros/iam/requirements.mdx'
diff --git a/pages/serverless-containers/reference-content/containers-autoscaling.mdx b/pages/serverless-containers/reference-content/containers-autoscaling.mdx
index 5906163615..4960275781 100644
--- a/pages/serverless-containers/reference-content/containers-autoscaling.mdx
+++ b/pages/serverless-containers/reference-content/containers-autoscaling.mdx
@@ -3,7 +3,7 @@ title: Containers autoscaling reference
description: Understand how autoscaling works for Serverless Containers in Scaleway.
tags: serverless containers autoscaling scale up down min max
dates:
- validation: 2025-02-18
+ validation: 2025-09-01
posted: 2025-02-18
---
diff --git a/pages/serverless-containers/reference-content/cron-schedules.mdx b/pages/serverless-containers/reference-content/cron-schedules.mdx
index 826da5b77b..723f02fc11 100644
--- a/pages/serverless-containers/reference-content/cron-schedules.mdx
+++ b/pages/serverless-containers/reference-content/cron-schedules.mdx
@@ -3,7 +3,7 @@ title: Cron schedules reference
description: Guide to setting up cron schedules in Scaleway Serverless Containers.
tags: serverless containers cron crontab schedule cronjob
dates:
- validation: 2025-02-10
+ validation: 2025-09-01
posted: 2023-12-12
---
import CronSchedules from '@macros/serverless/cron-schedules.mdx'
diff --git a/pages/serverless-functions/how-to/add-a-custom-domain-name-to-a-function.mdx b/pages/serverless-functions/how-to/add-a-custom-domain-name-to-a-function.mdx
index b5bc11a7dc..9d0fe6ac0e 100644
--- a/pages/serverless-functions/how-to/add-a-custom-domain-name-to-a-function.mdx
+++ b/pages/serverless-functions/how-to/add-a-custom-domain-name-to-a-function.mdx
@@ -3,7 +3,7 @@ title: How to add a custom domain to a function
description: Guide to adding a custom domain name to your Scaleway serverless function.
tags: functions custom-domain
dates:
- validation: 2025-02-10
+ validation: 2025-09-01
posted: 2022-02-21
---
import Requirements from '@macros/iam/requirements.mdx'
@@ -11,7 +11,6 @@ import Requirements from '@macros/iam/requirements.mdx'
import image from './assets/cloudflare-root-domain-configuration.webp'
import image2 from './assets/cloudflare-bypass-cache-well-known-acme-challenge.webp'
-
Each function comes with an automatically generated domain, on which it is available. However, it is possible to use your own domain name to address your function to facilitate their use.
diff --git a/pages/serverless-functions/how-to/configure-alerts-functions.mdx b/pages/serverless-functions/how-to/configure-alerts-functions.mdx
index a25226a5c2..dad1248804 100644
--- a/pages/serverless-functions/how-to/configure-alerts-functions.mdx
+++ b/pages/serverless-functions/how-to/configure-alerts-functions.mdx
@@ -3,7 +3,7 @@ title: How to configure alerts for a function
description: Learn how to add monitoring alerts to Serverless Functions with Scaleway.
tags: functions alerts grafana threshold monitoring cockpit
dates:
- validation: 2025-02-10
+ validation: 2025-09-01
posted: 2025-02-10
---
import Requirements from '@macros/iam/requirements.mdx'
diff --git a/pages/serverless-functions/how-to/create-auth-token-from-console.mdx b/pages/serverless-functions/how-to/create-auth-token-from-console.mdx
index 4704c57698..0479034e84 100644
--- a/pages/serverless-functions/how-to/create-auth-token-from-console.mdx
+++ b/pages/serverless-functions/how-to/create-auth-token-from-console.mdx
@@ -3,7 +3,7 @@ title: How to create and manage an authentication token from the console
description: Generate an authentication token from the Scaleway console for Serverless Functions.
tags: authentication-token functions
dates:
- validation: 2025-02-10
+ validation: 2025-09-01
posted: 2022-10-14
---
import Requirements from '@macros/iam/requirements.mdx'
diff --git a/pages/serverless-functions/how-to/delete-a-function.mdx b/pages/serverless-functions/how-to/delete-a-function.mdx
index 223fdcf1fd..c045def48c 100644
--- a/pages/serverless-functions/how-to/delete-a-function.mdx
+++ b/pages/serverless-functions/how-to/delete-a-function.mdx
@@ -2,12 +2,11 @@
title: How to delete a function
description: Learn how to delete Serverless Functions from Scaleway.
dates:
- validation: 2025-02-11
+ validation: 2025-09-01
posted: 2021-05-26
---
import Requirements from '@macros/iam/requirements.mdx'
-
This page shows you how to delete a function.
@@ -28,5 +27,3 @@ This page shows you how to delete a function.
You can also delete a function from the function's **Overview** tab.
-
-
diff --git a/pages/serverless-functions/how-to/manage-a-function.mdx b/pages/serverless-functions/how-to/manage-a-function.mdx
index 3d2d01cd2a..a05bc5e7b7 100644
--- a/pages/serverless-functions/how-to/manage-a-function.mdx
+++ b/pages/serverless-functions/how-to/manage-a-function.mdx
@@ -3,12 +3,11 @@ title: How to manage a function
description: Detailed guide on managing Serverless Functions within Scaleway.
tags: functions
dates:
- validation: 2025-02-10
+ validation: 2025-09-01
posted: 2021-05-26
---
import Requirements from '@macros/iam/requirements.mdx'
-
This page shows you how to manage a function, in order to edit it, or verify/change its deployment parameters after creation.
diff --git a/pages/serverless-functions/how-to/secure-a-function.mdx b/pages/serverless-functions/how-to/secure-a-function.mdx
index 1149759f92..221e52f595 100644
--- a/pages/serverless-functions/how-to/secure-a-function.mdx
+++ b/pages/serverless-functions/how-to/secure-a-function.mdx
@@ -3,7 +3,7 @@ title: How to secure a function
description: How to secure your Scaleway Serverless Functions effectively.
tags: functions secure private
dates:
- validation: 2025-02-27
+ validation: 2025-09-01
posted: 2023-02-01
---
import Requirements from '@macros/iam/requirements.mdx'
diff --git a/pages/serverless-functions/quickstart.mdx b/pages/serverless-functions/quickstart.mdx
index 005dd9a95b..88c19d0a42 100644
--- a/pages/serverless-functions/quickstart.mdx
+++ b/pages/serverless-functions/quickstart.mdx
@@ -3,12 +3,11 @@ title: Functions - Quickstart
description: Quickstart guide to deploying and managing Serverless Functions on Scaleway.
tags: functions namespace
dates:
- validation: 2025-02-10
+ validation: 2025-09-01
posted: 2021-05-26
---
import Requirements from '@macros/iam/requirements.mdx'
-
Scaleway Serverless Functions makes your [functions](/serverless-functions/concepts/#serverless-functions) available, executes them on demand and manages resource allocation for you.
diff --git a/pages/serverless-functions/reference-content/code-examples.mdx b/pages/serverless-functions/reference-content/code-examples.mdx
index 6b414c1691..be9b48a163 100644
--- a/pages/serverless-functions/reference-content/code-examples.mdx
+++ b/pages/serverless-functions/reference-content/code-examples.mdx
@@ -3,7 +3,7 @@ title: Code examples for Serverless Functions
description: Explore code examples for creating and deploying Serverless Functions in Scaleway.
tags: functions serverless serverless-functions
dates:
- validation: 2025-02-27
+ validation: 2025-09-02
posted: 2021-10-18
---
import Requirements from '@macros/iam/requirements.mdx'
@@ -107,7 +107,7 @@ def handle(event, context):
Example of reading URL parameters:
-```
+```sh
curl https://myfunc/user/?id=1
```
@@ -212,110 +212,111 @@ There are multiple ways a response can return from a handler function:
- With body and statusCode. This response type sets the status code as `HTTP Response Code`, and body as the response's body, headers as `Headers`.
-**Stringified *body* (like `AWS Lambda`):**
+ **Stringified *body* (like `AWS Lambda`):**
-```js
-module.exports.myHandler = (event, context, callback) => {
- return {
- statusCode: 201,
- body: JSON.stringify({
- message: "async function",
- }),
- headers: {
- "Content-Type": "application/json",
- },
- }
-}
-```
+ ```js
+ module.exports.myHandler = (event, context, callback) => {
+ return {
+ statusCode: 201,
+ body: JSON.stringify({
+ message: "async function",
+ }),
+ headers: {
+ "Content-Type": "application/json",
+ },
+ }
+ }
+ ```
-***Not* Stringified **body** (like `AWS Lambda`):**
+ ***Not* Stringified **body** (like `AWS Lambda`):**
-```js
-module.exports.myHandler = (event, context, callback) => {
- return {
- statusCode: 201,
- body: {
- message: "async function",
- },
- headers: {
- "Content-Type": "application/json",
- },
- }
-}
-```
+ ```js
+ module.exports.myHandler = (event, context, callback) => {
+ return {
+ statusCode: 201,
+ body: {
+ message: "async function",
+ },
+ headers: {
+ "Content-Type": "application/json",
+ },
+ }
+ }
+ ```
- With object/entity (number, boolean, string...) without properties body and statusCode
-```js
-module.exports.myHandler = (event, context, callback) => {
- return {
- body: "message",
- headers: {
- "Content-Type": ["text/plain"],
- },
- };
- // Or
- return JSON.stringify({ message: "message" });
- // OR
- return "Hello, world";
- // OR
- return 1; // true, false, undefined, null...
-};
-```
-
-**Using the callback parameter:**
-```js
-module.exports.myHandler = (event, context, callback) => {
- const response = {
- statusCode: 201,
- body: {
- message: "async function",
- },
- headers: {
- "Content-Type": "application/json",
- },
- };
- // Successful response
- callback(undefined, response);
- // Error response
- callback(new Error("something bad happened..."));
-};
-```
+ ```js
+ module.exports.myHandler = (event, context, callback) => {
+ return {
+ body: "message",
+ headers: {
+ "Content-Type": ["text/plain"],
+ },
+ };
+ // Or
+ return JSON.stringify({ message: "message" });
+ // OR
+ return "Hello, world";
+ // OR
+ return 1; // true, false, undefined, null...
+ };
+ ```
+
+ **Using the callback parameter:**
+
+ ```js
+ module.exports.myHandler = (event, context, callback) => {
+ const response = {
+ statusCode: 201,
+ body: {
+ message: "async function",
+ },
+ headers: {
+ "Content-Type": "application/json",
+ },
+ };
+ // Successful response
+ callback(undefined, response);
+ // Error response
+ callback(new Error("something bad happened..."));
+ };
+ ```
- With a `Promise`:
-```js
-module.exports.myHandler = async (event, context, callback) => {
- return {
- statusCode: 201,
- body: {
- message: "async function",
- },
- headers: {
- "Content-Type": "application/json",
- },
- };
-}
+ ```js
+ module.exports.myHandler = async (event, context, callback) => {
+ return {
+ statusCode: 201,
+ body: {
+ message: "async function",
+ },
+ headers: {
+ "Content-Type": "application/json",
+ },
+ };
+ }
-// OR
-module.exports.myHandler = (event, context, callback) => {
- const response = {
- statusCode: 201,
- body: {
- message: "async function",
- },
- headers: {
- "Content-Type": "application/json",
- },
- };
+ // OR
+ module.exports.myHandler = (event, context, callback) => {
+ const response = {
+ statusCode: 201,
+ body: {
+ message: "async function",
+ },
+ headers: {
+ "Content-Type": "application/json",
+ },
+ };
- return new Promise((resolve, reject) => {
- // do something
- if (err) return reject(err);
- return resolve(response);
- });
-};
-```
+ return new Promise((resolve, reject) => {
+ // do something
+ if (err) return reject(err);
+ return resolve(response);
+ });
+ };
+ ```
### Using environment variables in Node
@@ -359,7 +360,7 @@ module.exports.myHandler = (event, context, callback) => {
Example of reading URL parameters:
-```
+```sh
curl https://myfunc/user/?id=1
```
@@ -652,7 +653,7 @@ func Handle(w http.ResponseWriter, r *http.Request) {
Example of reading URL parameters:
-```
+```sh
curl https://myfunc/user/?id=1
```
@@ -793,7 +794,7 @@ function handle($event, $context) {
Example of reading URL parameters:
-```
+```sh
curl https://myfunc/user/?id=1
```
diff --git a/pages/serverless-functions/reference-content/cron-schedules.mdx b/pages/serverless-functions/reference-content/cron-schedules.mdx
index 507c820078..f7e7859681 100644
--- a/pages/serverless-functions/reference-content/cron-schedules.mdx
+++ b/pages/serverless-functions/reference-content/cron-schedules.mdx
@@ -3,7 +3,7 @@ title: Cron schedules reference
description: Learn to set up and manage cron schedules in Scaleway Serverless Functions.
tags: serverless functions cron crontab schedule cronjob
dates:
- validation: 2025-02-11
+ validation: 2025-09-02
posted: 2023-12-12
---
import CronSchedules from '@macros/serverless/cron-schedules.mdx'
diff --git a/pages/serverless-functions/reference-content/functions-autoscaling.mdx b/pages/serverless-functions/reference-content/functions-autoscaling.mdx
index 75a4cecbd0..a0fe742955 100644
--- a/pages/serverless-functions/reference-content/functions-autoscaling.mdx
+++ b/pages/serverless-functions/reference-content/functions-autoscaling.mdx
@@ -3,7 +3,7 @@ title: Functions autoscaling reference
description: Understand how autoscaling works for Serverless Functions in Scaleway.
tags: serverless functions autoscaling scale up down min max
dates:
- validation: 2025-02-18
+ validation: 2025-09-02
posted: 2025-02-18
---
diff --git a/pages/serverless-functions/reference-content/functions-billing.mdx b/pages/serverless-functions/reference-content/functions-billing.mdx
index 47a6b608db..d4f3c95f8f 100644
--- a/pages/serverless-functions/reference-content/functions-billing.mdx
+++ b/pages/serverless-functions/reference-content/functions-billing.mdx
@@ -3,7 +3,7 @@ title: Serverless Functions billing
description: Understand billing for Scaleway Serverless Functions with this guide.
tags: functions serverless serverless-functions billing serverless-billing serverless-functions-billing
dates:
- validation: 2025-02-11
+ validation: 2025-09-02
posted: 2023-06-15
---
diff --git a/pages/serverless-functions/reference-content/functions-limitations.mdx b/pages/serverless-functions/reference-content/functions-limitations.mdx
index 5f02be24ee..e5d404aa42 100644
--- a/pages/serverless-functions/reference-content/functions-limitations.mdx
+++ b/pages/serverless-functions/reference-content/functions-limitations.mdx
@@ -3,7 +3,7 @@ title: Functions limitations
description: Learn about limitations for Scaleway Serverless Functions including resource and execution constraints.
tags: functions limitations serverless
dates:
- validation: 2025-02-10
+ validation: 2025-09-02
posted: 2021-10-12
---
diff --git a/pages/serverless-functions/reference-content/local-testing.mdx b/pages/serverless-functions/reference-content/local-testing.mdx
index a209ba927c..e442dd4fde 100644
--- a/pages/serverless-functions/reference-content/local-testing.mdx
+++ b/pages/serverless-functions/reference-content/local-testing.mdx
@@ -3,13 +3,12 @@ title: Functions local testing
description: Learn how to test your Serverless Functions locally before deployment on Scaleway.
tags: functions serverless local testing
dates:
- validation: 2025-02-11
+ validation: 2025-09-02
posted: 2023-03-06
---
Local testing allows you to run your code on your development environment with a short deploy time.
-
Scaleway Serverless Functions can run outside Scaleway infrastructures. This is useful to set up, develop, and test functions locally. You can run functions directly on your machines to debug them and analyze logs.
Each local testing framework is written in its respective language and emulates the calls made to functions by the Scaleway infrastructure.
diff --git a/pages/serverless-functions/troubleshooting/function-build-error.mdx b/pages/serverless-functions/troubleshooting/function-build-error.mdx
index b0a9ee9aa3..175777be4a 100644
--- a/pages/serverless-functions/troubleshooting/function-build-error.mdx
+++ b/pages/serverless-functions/troubleshooting/function-build-error.mdx
@@ -3,7 +3,7 @@ title: My function does not deploy properly
description: Troubleshoot issues with deployment errors while using Scaleway Serverless Functions.
tags: serverless functions troubleshooting issue error build compile package
dates:
- validation: 2025-02-10
+ validation: 2025-09-01
posted: 2025-02-10
---
@@ -17,7 +17,7 @@ This error may happen for multiple reasons. Refer to the documentation pages bel
## Possible solution
-1. Make sure your function works fine by [testing it locally](/serverless-functions/reference-content/local-testing/).
+1. Make sure your function works fine by [testing it locally](/serverless-functions/reference-content/local-testing/).
2. Check for [build errors with Cockpit](/serverless-functions/how-to/monitor-function/).
diff --git a/pages/serverless-jobs/how-to/configure-alerts-jobs.mdx b/pages/serverless-jobs/how-to/configure-alerts-jobs.mdx
index 9c45abcd30..34b7a5104f 100644
--- a/pages/serverless-jobs/how-to/configure-alerts-jobs.mdx
+++ b/pages/serverless-jobs/how-to/configure-alerts-jobs.mdx
@@ -3,12 +3,11 @@ title: How to configure alerts for a job
description: Learn how to add monitoring alerts to Serverless Jobs with Scaleway.
tags: jobs alerts grafana threshold monitoring cockpit
dates:
- validation: 2025-02-10
+ validation: 2025-09-02
posted: 2025-02-10
---
import Requirements from '@macros/iam/requirements.mdx'
-
This page shows you how to configure alerts for Scaleway Serverless Jobs using Scaleway Cockpit and Grafana.
diff --git a/pages/serverless-sql-databases/how-to/connect-to-a-database.mdx b/pages/serverless-sql-databases/how-to/connect-to-a-database.mdx
index f8b16e91c6..f966e52aef 100644
--- a/pages/serverless-sql-databases/how-to/connect-to-a-database.mdx
+++ b/pages/serverless-sql-databases/how-to/connect-to-a-database.mdx
@@ -3,39 +3,38 @@ title: How to connect to a Serverless SQL Database
description: Step-by-step guide to connect to a Scaleway Serverless SQL Database.
tags: database serverless-sql-database serverless-db serverless-database postgresql
dates:
- validation: 2025-03-25
+ validation: 2025-09-02
posted: 2023-08-11
---
import Requirements from '@macros/iam/requirements.mdx'
-
This page shows you how to set up the connection to a Serverless SQL Database using the Scaleway console.
## Overview
To connect to a Serverless SQL Database, you can either use a **connection string**, or **connection parameters**.
- - A connection string provides the necessary information and parameters to establish a connection between an [IAM user](/iam/concepts/#user) or [application](/iam/concepts/#application), and the database. The string is written as follows:
- ```sh
- postgres://[user-or-application-id]:[api-secret-key]@[database-hostname]:5432/[database-name]?sslmode=require
- ```
-
- The `?sslmode=require` parameter is mandatory to connect to your database. Refer to the [dedicated documentation](/serverless-sql-databases/api-cli/secure-connection-ssl-tls/) for more information about SSL connection to Serverless SQL Databases.
-
-
- - Connection parameters provide the necessary information and parameters to connect an [IAM user](/iam/concepts/#user) or [application](/iam/concepts/#application) to a database. The parameters are expressed in the `KEY="value"` format, as follows:
-
- ```sh
- PGUSER="user-or-application-id"
- PGPASSWORD="api-secret-key"
- PGHOST="database-hostname"
- PGPORT="5432"
- PGDATABASE="database-name"
- ```
-
-
- The `PGSSLMODE="require"` parameter is required to connect to your database, but can be omitted as it is provided by default by most SQL clients. Refer to the [dedicated documentation](/serverless-sql-databases/api-cli/secure-connection-ssl-tls/) for more information about SSL connection to Serverless SQL Databases.
-
+- A connection string provides the necessary information and parameters to establish a connection between an [IAM user](/iam/concepts/#user) or [application](/iam/concepts/#application), and the database. The string is written as follows:
+ ```sh
+ postgres://[user-or-application-id]:[api-secret-key]@[database-hostname]:5432/[database-name]?sslmode=require
+ ```
+
+ The `?sslmode=require` parameter is mandatory to connect to your database. Refer to the [dedicated documentation](/serverless-sql-databases/api-cli/secure-connection-ssl-tls/) for more information about SSL connection to Serverless SQL Databases.
+
+
+- Connection parameters provide the necessary information and parameters to connect an [IAM user](/iam/concepts/#user) or [application](/iam/concepts/#application) to a database. The parameters are expressed in the `KEY="value"` format, as follows:
+
+ ```sh
+ PGUSER="user-or-application-id"
+ PGPASSWORD="api-secret-key"
+ PGHOST="database-hostname"
+ PGPORT="5432"
+ PGDATABASE="database-name"
+ ```
+
+
+ The `PGSSLMODE="require"` parameter is required to connect to your database, but can be omitted as it is provided by default by most SQL clients. Refer to the [dedicated documentation](/serverless-sql-databases/api-cli/secure-connection-ssl-tls/) for more information about SSL connection to Serverless SQL Databases.
+
diff --git a/pages/serverless-sql-databases/how-to/create-a-database.mdx b/pages/serverless-sql-databases/how-to/create-a-database.mdx
index 8b68061440..b5d1f1019c 100644
--- a/pages/serverless-sql-databases/how-to/create-a-database.mdx
+++ b/pages/serverless-sql-databases/how-to/create-a-database.mdx
@@ -3,7 +3,7 @@ title: How to create a Serverless SQL Database
description: Learn how to create a Scaleway serverless SQL database from scratch.
tags: database serverless-sql-database serverless-db serverless-database postgresql
dates:
- validation: 2025-02-27
+ validation: 2025-09-02
posted: 2023-08-11
---
import Requirements from '@macros/iam/requirements.mdx'
@@ -24,7 +24,7 @@ This page shows you how to create a Serverless SQL Database using the Scaleway c
3. Complete the following steps in the wizard:
- Choose a **region**, which is the geographical location in which your database will be created.
- - Select a **default engine version** from the drop-down menu.
+ - Select an **engine version** from the drop-down menu.
- Configure your **database autoscaling**. Your database will scale within the defined range to match the incoming load.
Define a minimum of 1 vCPU or more to avoid cold starts that can take a few seconds.
@@ -32,3 +32,5 @@ This page shows you how to create a Serverless SQL Database using the Scaleway c
- Enter a **name** for your database, or keep the randomly-generated name. The name must only contain alphanumeric characters and dashes.
- Verify the **estimated cost**.
4. Click **Create database** to finish. The setting up of your database will take a few seconds. Check the **Overview** tab to see its status.
+
+Once your Serverless SQL Database is deployed, you can [connect to it](/serverless-sql-databases/how-to/connect-to-a-database/).
\ No newline at end of file
diff --git a/pages/serverless-sql-databases/quickstart.mdx b/pages/serverless-sql-databases/quickstart.mdx
index 99e6eb7c3f..ac7a51a973 100644
--- a/pages/serverless-sql-databases/quickstart.mdx
+++ b/pages/serverless-sql-databases/quickstart.mdx
@@ -3,12 +3,11 @@ title: SQL Databases - Quickstart
description: Quickstart guide for setting up Scaleway serverless SQL databases.
tags: sql-databases serverless database connect create delete serverless-sql-database serverless-db postgresql
dates:
- validation: 2025-02-27
+ validation: 2025-09-02
posted: 2023-08-11
---
import Requirements from '@macros/iam/requirements.mdx'
-
Scaleway Serverless SQL Databases are fully managed databases that automatically scale in storage and compute according to your workloads.
This page explains how to create, access, and delete a Serverless SQL Database using the Scaleway console.
@@ -31,7 +30,7 @@ Discover the Serverless SQL Databases interface in the Scaleway console.
3. Complete the following steps in the wizard:
- Choose a **region**, the geographical location in which your database will be created.
- - Select a **default engine version** from the drop-down menu.
+ - Select an **engine version** from the drop-down menu.
- Configure your **database autoscaling**, or keep the default values. Your database will scale within the defined range to match the incoming load.
Define a minimum of 1 vCPU or more to avoid cold starts that can take a few seconds.
diff --git a/pages/serverless-sql-databases/reference-content/known-differences.mdx b/pages/serverless-sql-databases/reference-content/known-differences.mdx
index 9ed8df27c4..5801173c5f 100644
--- a/pages/serverless-sql-databases/reference-content/known-differences.mdx
+++ b/pages/serverless-sql-databases/reference-content/known-differences.mdx
@@ -3,11 +3,11 @@ title: Known differences between Serverless SQL Databases and PostgreSQL
description: Identify key differences between Scaleway's serverless SQL databases and traditional SQL setups.
tags: database serverless-sql-database differences postgresql serverless
dates:
- validation: 2025-02-27
+ validation: 2025-09-02
posted: 2023-08-04
---
-Serverless SQL Database is based on PostgreSQL engine and thus provides standard PostgreSQL compatibility for most PostgreSQL features and commands. Due to the nature of a managed service, autoscaling support and connection pooling support, some features are not currently supported. This means either the corresponding SQL command will not be authorized, or will not behave similarly to a standard PostgreSQL instance.
+Serverless SQL Database is based on PostgreSQL engine, and thus provides standard PostgreSQL compatibility for most PostgreSQL features and commands. Due to the nature of a managed service, autoscaling support and connection pooling support, some features are currently not supported. This means either the corresponding SQL command will not be authorized, or will not behave similarly to a standard PostgreSQL instance.
If you require strict compatibility with all PostgreSQL features, you can use [Managed Databases for PostgreSQL](/managed-databases-for-postgresql-and-mysql/quickstart/) instead.
@@ -87,7 +87,7 @@ Serverless SQL Databases support the most popular PostgreSQL extensions. Refer t
```
Setting the client-side encoding to a different value, such as `SQL_ASCII` when connecting with a client is not supported.
-- ETL tools such as Airbyte, Fivetran or Meltano cannot load data into a Serverless SQL Database, as they require `TEMPORARY TABLES`, which are currently not supported. However, data can be loaded from a Serverless SQL Database into another target, but not using Change Data Capture (CDC) options, as they require `SUBSCRIPTIONS`, which are currently not supported.
+- ETL tools such as Airbyte, Fivetran or Meltano cannot load data into a Serverless SQL Database, as they require `TEMPORARY TABLES`, which are currently not supported. However, data can be loaded from a Serverless SQL Database into another target, but not using Change Data Capture (CDC) options, as they require `SUBSCRIPTIONS`, which are currently not supported. To import data into a Serverless SQL Database, refer to the [dedicated documentation](/serverless-sql-databases/api-cli/import-data-to-serverless-sql-databases/).
- Terraform/OpenTofu: Storing [Terraform/OpenTofu states using pg backend](https://developer.hashicorp.com/terraform/language/settings/backends/pg) can be done, but terraform state locking when multiple Terraform/OpenTofu clients are editing the same state concurrently is not guaranteed (since this guarantees rely on `pg_advisory_lock` command usage, which is not supported currently).
diff --git a/pages/serverless-sql-databases/reference-content/serverless-sql-databases-overview.mdx b/pages/serverless-sql-databases/reference-content/serverless-sql-databases-overview.mdx
index ed1b8d54e4..d2f6b1ab7f 100644
--- a/pages/serverless-sql-databases/reference-content/serverless-sql-databases-overview.mdx
+++ b/pages/serverless-sql-databases/reference-content/serverless-sql-databases-overview.mdx
@@ -3,7 +3,7 @@ title: Serverless SQL Databases overview
description: Overview of Scaleway's serverless SQL databases, including autoscaling and technical specifications.
tags: database serverless-sql-database serverless overview specs
dates:
- validation: 2025-02-27
+ validation: 2025-09-02
posted: 2023-08-04
---
import image from './assets/serverless-sql-databases-schema.webp'
diff --git a/pages/serverless-sql-databases/troubleshooting/connection-errors.mdx b/pages/serverless-sql-databases/troubleshooting/connection-errors.mdx
index 326b471d88..fab3d74e64 100644
--- a/pages/serverless-sql-databases/troubleshooting/connection-errors.mdx
+++ b/pages/serverless-sql-databases/troubleshooting/connection-errors.mdx
@@ -3,7 +3,7 @@ title: Solving connection errors
description: Resolve connection errors in Scaleway serverless SQL databases with this guide.
tags: database serverless-sql-database unable connect connection troubleshooting connection error
dates:
- validation: 2025-02-27
+ validation: 2025-09-02
posted: 2024-02-07
---
diff --git a/pages/serverless-sql-databases/troubleshooting/failing-backup-restore.mdx b/pages/serverless-sql-databases/troubleshooting/failing-backup-restore.mdx
index d0f94d3b61..b6fce39314 100644
--- a/pages/serverless-sql-databases/troubleshooting/failing-backup-restore.mdx
+++ b/pages/serverless-sql-databases/troubleshooting/failing-backup-restore.mdx
@@ -3,7 +3,7 @@ title: Solving failing manual backup and restore operations
description: Learn to resolve failing backup restore issues in Scaleway SQL databases.
tags: database serverless-sql-database unable fail backup troubleshooting restore error
dates:
- validation: 2025-02-27
+ validation: 2025-09-02
posted: 2024-02-07
---