From ea998c69dd29e04886fc19039ff7c6e363ad1842 Mon Sep 17 00:00:00 2001 From: Samy OUBOUAZIZ Date: Thu, 30 Oct 2025 10:59:17 +0100 Subject: [PATCH 1/7] docs(fls): add links to k8s doc --- pages/file-storage/faq.mdx | 6 +++++- pages/file-storage/quickstart.mdx | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/file-storage/faq.mdx b/pages/file-storage/faq.mdx index 9a72dc66d8..3aed87a72f 100644 --- a/pages/file-storage/faq.mdx +++ b/pages/file-storage/faq.mdx @@ -2,7 +2,7 @@ title: File Storage FAQ description: Explore Scaleway File Storage with our comprehensive FAQ covering performance, persistence, and more. dates: - created: 2025-07-23 + created: 2025-10-30 validation: 2025-07-23 category: storage productIcon: FileProductIcon @@ -16,6 +16,10 @@ Scaleway File Storage allows you to keep data in an organized hierarchy of files Refer to the [Quickstart documentation](/file-storage/quickstart/) to get started with Scaleway File Storage. +### What Scaleway products are compatible with File Storage? + +Scaleway File Storage is designed to be used with in conjunction with Scaleway Instances and Kubernetes. Refer to the dedicated documentation pages for comprehensive information on [how to add a file system to an Instance](/docs/file-storage/quickstart/), and on [how to use File Storage with Kubernetes Kapsule](/kubernetes/how-to/use-sfs-with-kubernetes/). + ## Quotas and limitations ### How many file systems can I attach to an Instance? diff --git a/pages/file-storage/quickstart.mdx b/pages/file-storage/quickstart.mdx index f43e242e39..ac6d46c56f 100644 --- a/pages/file-storage/quickstart.mdx +++ b/pages/file-storage/quickstart.mdx @@ -11,7 +11,7 @@ categories: --- import Requirements from '@macros/iam/requirements.mdx' -Scaleway File Storage allows you to create file systems to easily share files across multiple Instances within the same region. File systems are network-attached storage structures that can be accessed by Scaleway Instances to easily share files within your cloud infrastructure. +Scaleway File Storage allows you to create file systems to easily share files across multiple Instances or Kubernetes clusters within the same region. File systems are network-attached storage structures that can be accessed by Scaleway Instances to easily share files within your cloud infrastructure. Each file system can be attached to several Instances, and each Instance can have several file systems attached to it. From 1e3641dca3001c48befe2a8aec5b309eeb84e1b4 Mon Sep 17 00:00:00 2001 From: Samy OUBOUAZIZ Date: Thu, 30 Oct 2025 17:42:11 +0100 Subject: [PATCH 2/7] docs(fls): add links to k8s doc --- .../how-to/attach-file-system.mdx | 42 ++++++++++++++++++- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/pages/file-storage/how-to/attach-file-system.mdx b/pages/file-storage/how-to/attach-file-system.mdx index c023c10135..19d50751be 100644 --- a/pages/file-storage/how-to/attach-file-system.mdx +++ b/pages/file-storage/how-to/attach-file-system.mdx @@ -6,7 +6,7 @@ categories: - storage - file-storage dates: - validation: 2025-07-23 + validation: 2025-10-30 posted: 2025-07-23 --- @@ -21,7 +21,7 @@ import Requirements from '@macros/iam/requirements.mdx' - [Created a file system](/file-storage/how-to/create-file-system/) - [Created at least one POP2 Instance](/instances/how-to/create-an-instance/) -## How to attach a file system to an Instance +## How to attach a file system using the Scaleway console 1. Click **File Storage** in the **Storage** section of the side menu. A list of your file systems displays. @@ -39,3 +39,41 @@ import Requirements from '@macros/iam/requirements.mdx' Your file system is now attached to the selected Instance(s) and can now be [mounted](/file-storage/how-to/mount-file-system/) to a Scaleway Instance. +## How to attach a file system using the API + +The Scaleway API allows you to create and manage all your resources programmatically. + + +To attach a file system to an Instance, you must use the [Instance API](https://www.scaleway.com/en/developers/api/instances/#path-instances-attach-a-filesystem-volume-to-an-instance). + + +1. Make sure you have [authenticated and performed your first request](https://www.scaleway.com/en/developers/api/#quickstart-first-request) with the Scaleway API. + +2. Run the cURL request below to attach your file system to the desired Instance. Do not forget to replace the placeholders with the appropriate values. + + ```bash + curl -X POST 'https://api.scaleway.com/instance/v1/zones//servers//attach-filesystem' \ + -H "X-Auth-Token: $SCW_SECRET_KEY" \ + -H "Content-Type: application/json" \ + -d '{"filesystem_id": ""}' + ``` + +Refer to the [Scaleway API documentation](https://www.scaleway.com/en/developers/api/instances/#path-instances-attach-a-filesystem-volume-to-an-instance) for more information on the different parameters. + +## How to attach a file system using the CLI + +Scaleway CLI is a tool to help you pilot your Scaleway infrastructure directly from your terminal. + + +To attach a file system to an Instance, you must use the [Instance CLI](https://cli.scaleway.com/instance/#attach-a-filesystem-volume-to-an-instance). + + +1. Make sure you have [installed and configured the Scaleway CLI](/scaleway-cli/quickstart/). + +2. Run the command below to attach your file system to the desired Instance. Do not forget to replace the placeholders with the appropriate values. + + ```bash + scw instance server attach-filesystem server-id= filesystem-id= zone= + ``` + +Refer to the [Scaleway CLI documentation](https://cli.scaleway.com/instance/#attach-a-filesystem-volume-to-an-instance) for more information on the different parameters. \ No newline at end of file From 6d59bfb6d3d74d9b170c9dc6f0d43c6f9805da71 Mon Sep 17 00:00:00 2001 From: Samy OUBOUAZIZ Date: Mon, 3 Nov 2025 11:00:04 +0100 Subject: [PATCH 3/7] docs(fls): add links to k8s doc --- pages/file-storage/quickstart.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/file-storage/quickstart.mdx b/pages/file-storage/quickstart.mdx index ac6d46c56f..f43e242e39 100644 --- a/pages/file-storage/quickstart.mdx +++ b/pages/file-storage/quickstart.mdx @@ -11,7 +11,7 @@ categories: --- import Requirements from '@macros/iam/requirements.mdx' -Scaleway File Storage allows you to create file systems to easily share files across multiple Instances or Kubernetes clusters within the same region. File systems are network-attached storage structures that can be accessed by Scaleway Instances to easily share files within your cloud infrastructure. +Scaleway File Storage allows you to create file systems to easily share files across multiple Instances within the same region. File systems are network-attached storage structures that can be accessed by Scaleway Instances to easily share files within your cloud infrastructure. Each file system can be attached to several Instances, and each Instance can have several file systems attached to it. From f304f46f34334ea3dd030bc7e7a9f03eb9bf38d3 Mon Sep 17 00:00:00 2001 From: Samy OUBOUAZIZ Date: Mon, 3 Nov 2025 11:14:44 +0100 Subject: [PATCH 4/7] docs(fls): update --- pages/file-storage/faq.mdx | 4 ---- pages/file-storage/quickstart.mdx | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pages/file-storage/faq.mdx b/pages/file-storage/faq.mdx index 3aed87a72f..7315106f6e 100644 --- a/pages/file-storage/faq.mdx +++ b/pages/file-storage/faq.mdx @@ -16,10 +16,6 @@ Scaleway File Storage allows you to keep data in an organized hierarchy of files Refer to the [Quickstart documentation](/file-storage/quickstart/) to get started with Scaleway File Storage. -### What Scaleway products are compatible with File Storage? - -Scaleway File Storage is designed to be used with in conjunction with Scaleway Instances and Kubernetes. Refer to the dedicated documentation pages for comprehensive information on [how to add a file system to an Instance](/docs/file-storage/quickstart/), and on [how to use File Storage with Kubernetes Kapsule](/kubernetes/how-to/use-sfs-with-kubernetes/). - ## Quotas and limitations ### How many file systems can I attach to an Instance? diff --git a/pages/file-storage/quickstart.mdx b/pages/file-storage/quickstart.mdx index f43e242e39..6a050f1c7d 100644 --- a/pages/file-storage/quickstart.mdx +++ b/pages/file-storage/quickstart.mdx @@ -74,7 +74,9 @@ To attach a file system to an Instance, you must have [created at least one POP2 File systems can only be attached to POP2 Instances within the same [region](/file-storage/concepts/#region). -Your file system is now attached to the selected Instance(s) and can now be [mounted](/file-storage/how-to/mount-file-system/) to a Scaleway Instance. +Your file system is now attached to the selected Instance(s) and can now be [mounted](/file-storage/how-to/mount-file-system/) to a Scaleway Instance. + +To attach a file system using the CLI or API, refer to the [dedicated documentation](/file-storage/how-to/attach-file-system/). ## How to mount a file system to a Scaleway Instance From f94c8aa059bd3d94fff01ce9c858cc70f76b951b Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Mon, 3 Nov 2025 14:47:43 +0100 Subject: [PATCH 5/7] Update pages/file-storage/how-to/attach-file-system.mdx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Néda <87707325+nerda-codes@users.noreply.github.com> --- pages/file-storage/how-to/attach-file-system.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/file-storage/how-to/attach-file-system.mdx b/pages/file-storage/how-to/attach-file-system.mdx index 19d50751be..70d7bb9f26 100644 --- a/pages/file-storage/how-to/attach-file-system.mdx +++ b/pages/file-storage/how-to/attach-file-system.mdx @@ -49,7 +49,7 @@ To attach a file system to an Instance, you must use the [Instance API](https:// 1. Make sure you have [authenticated and performed your first request](https://www.scaleway.com/en/developers/api/#quickstart-first-request) with the Scaleway API. -2. Run the cURL request below to attach your file system to the desired Instance. Do not forget to replace the placeholders with the appropriate values. +2. Run the cURL request below to attach your file system to the desired Instance. Remember to replace the placeholders with the appropriate values. ```bash curl -X POST 'https://api.scaleway.com/instance/v1/zones//servers//attach-filesystem' \ From b54c4e5bade213b0bc30ed499232e0f2c9fd005f Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Mon, 3 Nov 2025 14:47:51 +0100 Subject: [PATCH 6/7] Update pages/file-storage/quickstart.mdx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Néda <87707325+nerda-codes@users.noreply.github.com> --- pages/file-storage/quickstart.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/file-storage/quickstart.mdx b/pages/file-storage/quickstart.mdx index 6a050f1c7d..992e83c0a9 100644 --- a/pages/file-storage/quickstart.mdx +++ b/pages/file-storage/quickstart.mdx @@ -74,7 +74,7 @@ To attach a file system to an Instance, you must have [created at least one POP2 File systems can only be attached to POP2 Instances within the same [region](/file-storage/concepts/#region). -Your file system is now attached to the selected Instance(s) and can now be [mounted](/file-storage/how-to/mount-file-system/) to a Scaleway Instance. +Your file system is now attached to the selected Instance(s) and can be [mounted](/file-storage/how-to/mount-file-system/) to a Scaleway Instance. To attach a file system using the CLI or API, refer to the [dedicated documentation](/file-storage/how-to/attach-file-system/). From 0df83c5ebd925e8243e86b75301f19dc8dd63dec Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Mon, 3 Nov 2025 14:47:57 +0100 Subject: [PATCH 7/7] Update pages/file-storage/how-to/attach-file-system.mdx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Néda <87707325+nerda-codes@users.noreply.github.com> --- pages/file-storage/how-to/attach-file-system.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/file-storage/how-to/attach-file-system.mdx b/pages/file-storage/how-to/attach-file-system.mdx index 70d7bb9f26..f5ab635d74 100644 --- a/pages/file-storage/how-to/attach-file-system.mdx +++ b/pages/file-storage/how-to/attach-file-system.mdx @@ -70,7 +70,7 @@ To attach a file system to an Instance, you must use the [Instance CLI](https:// 1. Make sure you have [installed and configured the Scaleway CLI](/scaleway-cli/quickstart/). -2. Run the command below to attach your file system to the desired Instance. Do not forget to replace the placeholders with the appropriate values. +2. Run the command below to attach your file system to the desired Instance. Remember to replace the placeholders with the appropriate values. ```bash scw instance server attach-filesystem server-id= filesystem-id= zone=