From 6d33c91684ed1e361b3d9510d3dc37360ba06e81 Mon Sep 17 00:00:00 2001 From: Thomas Tacquet Date: Fri, 23 May 2025 17:33:36 +0200 Subject: [PATCH 01/14] draft: feat(containers): product doc --- .../understanding-serverless-benefits.mdx | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 pages/serverless-containers/reference-content/understanding-serverless-benefits.mdx diff --git a/pages/serverless-containers/reference-content/understanding-serverless-benefits.mdx b/pages/serverless-containers/reference-content/understanding-serverless-benefits.mdx new file mode 100644 index 0000000000..70c775e464 --- /dev/null +++ b/pages/serverless-containers/reference-content/understanding-serverless-benefits.mdx @@ -0,0 +1,91 @@ +--- +meta: + title: Understanding Serverless benefits + description: +content: + h1: Understanding Serverless benefits + paragraph: +tags: containers serverless +dates: + validation: 2025-05-23 + posted: 2025-05-23 +categories: + - serverless + - containers +--- + +# What is Serverless Compute? + +Serverless computing is a cloud computing model where the cloud providers manages the infrastructure and dynamically alocates computing resources as needed. + +This means that you don't have to provision machines, manage a cluster or pay for servers. Your application code is executed on demand and you only pay for the compute time consumed by your software. + +This approach enables greater scalability, flexibility and cost-effectiveness. + +Key features: +* **Automatic scaling:** your application can scale up or down automatically based on demand +* **No server management:** you don't need to provision, maintain or manage servers +* **Pay as ou go:** you only pay for the compute time you consume, making it cost effective + +Serverless is not limited to Serverless Function which is perfect to deploy small chunks of code, it can also directly deploy containers on Serverless Containers and Serverless Jobs. + +# Why Serverless? + +Serverless offers numerous advantages that can significantly enhance your development and operational efficiency: + +* **Cost savings:** You only pay for the compute time your code uses, which can lead to significant cost reductions. No idle resources. +* **Scalability:** Automatically scale your applications to handle varying loads without manual intervention. It's perfect for seasonal traffic and viral apps. +* **Faster time to market:** Focus on writing code rather than managing infrastructure, accelerating your development cycles. +* **Reduced operational overhead:** Let the cloud provider handle server maintenance, updates, and scaling, freeing up your team to focus on innovation. +* **Eco friendly:** Optimized resource usage reduces wasted energy. + + +# How to control costs of Serverless? + +Serverless is inherently cost-transparent, tips to otpimize costs: +* Use efficient code and set timeouts +* Monitor usage with built-in observability +* Define a max-scale setting + +Remember: Serverless eliminates upfront capital expenses and reduces operational costs giving you predictable, granular billing. + +# Ready to go Serverless? + +By adopting Serverless, you are choosing agility, innovation, and cost savings. +Whether you are a startup scaling rapidly or an enterprise modernizing legacy systems, Serverless lets you focus on what matters: delivering value to your users. + +You can fully deploy your API on Serverless or use it to emporer and add automation to your infrastructure. +Serverless is excellent at handling traffic spikes, useful to offload regular servers on special events. + +# Is my applicaiton a good fit for Serverless? +Most applications can benefit from Serverless! Here's when it shines: + +* Event driven workloads: file processing, real time notification, IoT data streams. +* Microservies and APIs: Stateless, short-lived tasks (e.g., user authentication, payment processing, etc...) +* Sporadic traffic: Aps with variable usage (e.g., marketing campaigns, ticketing system). +* Rapid prototyping: Test ideas quickly without upfront infrastructure investment + +# How secure are Serverless resources? + +**Isolation:** Each container runs in a secure, isolated environment +**IAM integration:** Fine-grained access control via IAM, inject directly required redentials to Serverless ressources. + +# How do I debug and monitor applications in a Serverless environment? + +Scaleway provides full observability: + +* **Logs and metrics:** Centralized logging and real-time metrics via Cockpit +* **Local debugging:** Test containers locally using the Serverless CLI and emulator +* **Error Reporting:** Automatic alerts for failed invocations or resource bottlenecks via Cockpit + +# Will Serverless lock me into the ecosystem? +No. Scaleway Serverless is designed to minimize vendor lock-in. +We believe in empowering your freedom to choose, adapt, and evolve. Here is how we ensure flexibility: + +## Container portability +- **Docker compatibility**: Your container images (built with Docker, Helm, or other tools) are portable. You can redeploy them elsewhere—on-premises, on other clouds, or in hybrid environments. +- **No proprietary formats**: We don't modify your containers. What you build works anywhere. + +## No proprietary lock-in +- **No forced dependencies** +- **Open APIs**: Manage Serverless Containers via REST APIs, Terraform, CLI, etc... no proprietary control required. From a28e0b09b13b91b3b87b83b5252135c5365e4c7d Mon Sep 17 00:00:00 2001 From: Thomas Tacquet Date: Wed, 28 May 2025 15:47:50 +0200 Subject: [PATCH 02/14] add more content --- .../understanding-serverless-benefits.mdx | 105 ++++++++++++++---- 1 file changed, 86 insertions(+), 19 deletions(-) diff --git a/pages/serverless-containers/reference-content/understanding-serverless-benefits.mdx b/pages/serverless-containers/reference-content/understanding-serverless-benefits.mdx index 70c775e464..fd621335f9 100644 --- a/pages/serverless-containers/reference-content/understanding-serverless-benefits.mdx +++ b/pages/serverless-containers/reference-content/understanding-serverless-benefits.mdx @@ -1,9 +1,9 @@ --- meta: - title: Understanding Serverless benefits + title: Serverless ecosystem handbook description: content: - h1: Understanding Serverless benefits + h1: Serverless ecosystem handbook paragraph: tags: containers serverless dates: @@ -28,24 +28,26 @@ Key features: * **Pay as ou go:** you only pay for the compute time you consume, making it cost effective Serverless is not limited to Serverless Function which is perfect to deploy small chunks of code, it can also directly deploy containers on Serverless Containers and Serverless Jobs. +Refer to the [differences between Functions, Jobs, and Containers](/serverless-containers/reference-content/difference-jobs-functions-containers/) for more information on Scaleway's different Serverless products. # Why Serverless? Serverless offers numerous advantages that can significantly enhance your development and operational efficiency: -* **Cost savings:** You only pay for the compute time your code uses, which can lead to significant cost reductions. No idle resources. -* **Scalability:** Automatically scale your applications to handle varying loads without manual intervention. It's perfect for seasonal traffic and viral apps. -* **Faster time to market:** Focus on writing code rather than managing infrastructure, accelerating your development cycles. -* **Reduced operational overhead:** Let the cloud provider handle server maintenance, updates, and scaling, freeing up your team to focus on innovation. -* **Eco friendly:** Optimized resource usage reduces wasted energy. - +* **Cost savings:** You only pay for the compute time your code uses, which can lead to significant cost reductions. No idle resources +* **Scalability:** Automatically scale your applications to handle varying loads without manual intervention. It's perfect for seasonal traffic and viral apps +* **Faster time to market:** Focus on writing code rather than managing infrastructure, accelerating your development cycles +* **Reduced operational overhead:** Let the cloud provider handle server maintenance, updates, and scaling, freeing up your team to focus on innovation +* **Eco friendly:** Optimized resource usage reduces wasted energy +* **Focus on apps:** you can put all your energy in application value instead of managing infrastructure # How to control costs of Serverless? Serverless is inherently cost-transparent, tips to otpimize costs: -* Use efficient code and set timeouts -* Monitor usage with built-in observability -* Define a max-scale setting +* **Cost estimator:** when deploying Serverless resources via Scaleway Console, you can try different parameters to evaluate costs +* **Best practices** Use efficient code with optimized libraries, ensuring a small resource footprint +* **Monitoring** Monitor usage with built-in observability and use Cost Manager: [How to use cost manager documentation](/billing/how-to/use-the-cost-manager/) +* **Parameters** Define a max-scale setting according to traffic spikes Remember: Serverless eliminates upfront capital expenses and reduces operational costs giving you predictable, granular billing. @@ -58,17 +60,19 @@ You can fully deploy your API on Serverless or use it to emporer and add automat Serverless is excellent at handling traffic spikes, useful to offload regular servers on special events. # Is my applicaiton a good fit for Serverless? + Most applications can benefit from Serverless! Here's when it shines: -* Event driven workloads: file processing, real time notification, IoT data streams. -* Microservies and APIs: Stateless, short-lived tasks (e.g., user authentication, payment processing, etc...) -* Sporadic traffic: Aps with variable usage (e.g., marketing campaigns, ticketing system). -* Rapid prototyping: Test ideas quickly without upfront infrastructure investment +* **Event driven workloads:** file processing, real time notification, IoT data streams +* **Microservies and APIs:** Stateless, short-lived tasks (e.g., user authentication, payment processing, etc...) +* **Sporadic traffic:** Apps with variable usage (e.g., marketing campaigns, ticketing system). +* **Rapid prototyping:** Test ideas quickly without upfront infrastructure investment # How secure are Serverless resources? -**Isolation:** Each container runs in a secure, isolated environment -**IAM integration:** Fine-grained access control via IAM, inject directly required redentials to Serverless ressources. +Scaleway prioritizes strong security and isolation for Serverless products. + +* **Secured isolation layers:** Each container runs in a secure, isolated environment. Our systems provide a VM-like security while maintaining container-like performance # How do I debug and monitor applications in a Serverless environment? @@ -76,9 +80,12 @@ Scaleway provides full observability: * **Logs and metrics:** Centralized logging and real-time metrics via Cockpit * **Local debugging:** Test containers locally using the Serverless CLI and emulator -* **Error Reporting:** Automatic alerts for failed invocations or resource bottlenecks via Cockpit +* **Error Reporting:** Automatic alerts for failed invocations or resource bottlenecks via Cockpit. See [how to configure alerts for Serverless Containers](/serverless-containers/how-to/configure-alerts-containers/) + +As our Serverless environment does not encourage vendor-locking, you can easily debug your container locally. # Will Serverless lock me into the ecosystem? + No. Scaleway Serverless is designed to minimize vendor lock-in. We believe in empowering your freedom to choose, adapt, and evolve. Here is how we ensure flexibility: @@ -87,5 +94,65 @@ We believe in empowering your freedom to choose, adapt, and evolve. Here is how - **No proprietary formats**: We don't modify your containers. What you build works anywhere. ## No proprietary lock-in -- **No forced dependencies** +- **No forced dependencies**: Some providers require customers to import specific libraries to work properly. We do not. - **Open APIs**: Manage Serverless Containers via REST APIs, Terraform, CLI, etc... no proprietary control required. + +# How to migrate to Serverless ecosystem? + +Serverless products at Scaleway allows you to gradually migrate to Serverless, different strategies are possible: + +## Start small + +* **Small workloads:** Migrate non-critical workloads first like internal APIs, automation jobs to Serverless Jobs +* **Proof of concept:** Use our tutorial and check our [scaleway/serverless-examples repository](https://github.com/scaleway/serverless-examples) for inspiration + +## Hybrid architecture + +* **Coexistance:** Run serverless endpoints alongside VM, clusters and traditional apps + +## Incremental refactoring + +* **Break monoliths:** Convert microservices or stateless components to Serverless first + +# What specific knowledge is required to deploy Serverless projects? + +Serverless is designed to eliminate infrastructure complexity , so teams can focus on innovation: + +## No infrastructure expertise needed + +* **Managed services:** Scaleway handles networking, scaling, patching, and availability +* **Simplified operations:** No need for DevOps engineers to manage clusters or servers + +## Developer-centric workflow + +* **Familiar tools:** Use Git, Docker, CI/CD pipelines, and IDEs you already know +* **Language flexibility:** Support for Python, Node.js, Rust, Go, PHP, and custom runtimes via Serverless Containers + +## Learn Serverless basics + +* **Minimal learning curve:* Teams only need to understand event-driven architecture, container basics, and Scaleway’s serverless console/CLI +* **Training resources:** Free tutorials, examples, and free-tier to experiment + +# Is Servereless a good choice for a growing business? + +Absolutely. Serverless is ideal for startups and scaling businesses due to its cost efficiency, elasticity, and operational simplicity: + +## Auto-Scaling for traffic spikes + +* **Zero manual intervention:* Automatically scale from zero to millions of requests during flash sales, marketing campaigns, or viral events +* **Example:** An e-commerce app handles black friday traffic seamlessly without provisioning extra resources + +## Pay-as-you-go cost model + +* **No idle costs:* Growing businesses avoid overspending on underutilized infrastructure +* **Predictable budgeting:** Use cost estimator to forecast costs based on expected usage + +## Focus on core innovation + +* **Reduce operational overhead:** Teams avoid spending time on server management, freeing resources for product development +* **Faster iteration:** Deploy updates in minutes without downtime + +## Enterprise-Ready as you scale + +* **SLAs and security:** Check our [SLA page](https://www.scaleway.com/en/terms/sla/) +* **Hybrid flexibility:** Seamlessly integrate with other Scaleway services (e.g., databases, messaging, AI/ML) to support complex workflows From d0c918b1f691a1740585157f5f85129dff83b273 Mon Sep 17 00:00:00 2001 From: Thomas Tacquet Date: Wed, 28 May 2025 15:48:33 +0200 Subject: [PATCH 03/14] mv --- ...erstanding-serverless-benefits.mdx => serverless-handbook.mdx} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename pages/serverless-containers/reference-content/{understanding-serverless-benefits.mdx => serverless-handbook.mdx} (100%) diff --git a/pages/serverless-containers/reference-content/understanding-serverless-benefits.mdx b/pages/serverless-containers/reference-content/serverless-handbook.mdx similarity index 100% rename from pages/serverless-containers/reference-content/understanding-serverless-benefits.mdx rename to pages/serverless-containers/reference-content/serverless-handbook.mdx From f911e361817243399c8d9faeab5d510dea6cc29b Mon Sep 17 00:00:00 2001 From: Thomas Tacquet Date: Wed, 28 May 2025 15:51:05 +0200 Subject: [PATCH 04/14] description --- .../reference-content/serverless-handbook.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/serverless-containers/reference-content/serverless-handbook.mdx b/pages/serverless-containers/reference-content/serverless-handbook.mdx index fd621335f9..3e566e4b54 100644 --- a/pages/serverless-containers/reference-content/serverless-handbook.mdx +++ b/pages/serverless-containers/reference-content/serverless-handbook.mdx @@ -1,10 +1,10 @@ --- meta: title: Serverless ecosystem handbook - description: + description: Understand the concepts and benefits of Serverless computing on Scaleway. content: h1: Serverless ecosystem handbook - paragraph: + paragraph: Understand the concepts and benefits of Serverless computing on Scaleway. tags: containers serverless dates: validation: 2025-05-23 From 9c2aed189828537bc695212a468d964c37ac884a Mon Sep 17 00:00:00 2001 From: Thomas Tacquet Date: Wed, 28 May 2025 15:51:43 +0200 Subject: [PATCH 05/14] review --- .../reference-content/serverless-handbook.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/serverless-containers/reference-content/serverless-handbook.mdx b/pages/serverless-containers/reference-content/serverless-handbook.mdx index 3e566e4b54..6254f4e180 100644 --- a/pages/serverless-containers/reference-content/serverless-handbook.mdx +++ b/pages/serverless-containers/reference-content/serverless-handbook.mdx @@ -27,7 +27,7 @@ Key features: * **No server management:** you don't need to provision, maintain or manage servers * **Pay as ou go:** you only pay for the compute time you consume, making it cost effective -Serverless is not limited to Serverless Function which is perfect to deploy small chunks of code, it can also directly deploy containers on Serverless Containers and Serverless Jobs. +Serverless is not limited to Serverless Functions which is perfect to deploy small chunks of code, it can also directly deploy containers on Serverless Containers and Serverless Jobs. Refer to the [differences between Functions, Jobs, and Containers](/serverless-containers/reference-content/difference-jobs-functions-containers/) for more information on Scaleway's different Serverless products. # Why Serverless? From f94b1501e4978fecf6ddb8476d1be8e5d281a603 Mon Sep 17 00:00:00 2001 From: Thomas TACQUET Date: Mon, 2 Jun 2025 09:57:27 +0200 Subject: [PATCH 06/14] Apply suggestions from code review Co-authored-by: Jessica <113192637+jcirinosclwy@users.noreply.github.com> --- .../reference-content/serverless-handbook.mdx | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/pages/serverless-containers/reference-content/serverless-handbook.mdx b/pages/serverless-containers/reference-content/serverless-handbook.mdx index 6254f4e180..6f334e6be6 100644 --- a/pages/serverless-containers/reference-content/serverless-handbook.mdx +++ b/pages/serverless-containers/reference-content/serverless-handbook.mdx @@ -14,18 +14,18 @@ categories: - containers --- -# What is Serverless Compute? +# What is serverless compute? -Serverless computing is a cloud computing model where the cloud providers manages the infrastructure and dynamically alocates computing resources as needed. +Serverless computing is a cloud computing model where the cloud providers manage the infrastructure and dynamically allocate computing resources as needed. -This means that you don't have to provision machines, manage a cluster or pay for servers. Your application code is executed on demand and you only pay for the compute time consumed by your software. +This means that there is no need to provision machines, manage a cluster, or pay for servers. Your application code is executed on demand, and you only pay for the computing time consumed by your software. This approach enables greater scalability, flexibility and cost-effectiveness. Key features: -* **Automatic scaling:** your application can scale up or down automatically based on demand -* **No server management:** you don't need to provision, maintain or manage servers -* **Pay as ou go:** you only pay for the compute time you consume, making it cost effective +* **Automatic scaling:** Your application can scale up or down automatically based on demand +* **No server management:** No need to provision, maintain, or manage servers +* **Pay as you go:** Only pay for the computing time you consume, making it cost-effective Serverless is not limited to Serverless Functions which is perfect to deploy small chunks of code, it can also directly deploy containers on Serverless Containers and Serverless Jobs. Refer to the [differences between Functions, Jobs, and Containers](/serverless-containers/reference-content/difference-jobs-functions-containers/) for more information on Scaleway's different Serverless products. @@ -35,16 +35,16 @@ Refer to the [differences between Functions, Jobs, and Containers](/serverless-c Serverless offers numerous advantages that can significantly enhance your development and operational efficiency: * **Cost savings:** You only pay for the compute time your code uses, which can lead to significant cost reductions. No idle resources -* **Scalability:** Automatically scale your applications to handle varying loads without manual intervention. It's perfect for seasonal traffic and viral apps +* **Scalability:** Automatically scale your applications to handle varying loads without manual intervention. It is perfect for seasonal traffic and viral apps * **Faster time to market:** Focus on writing code rather than managing infrastructure, accelerating your development cycles * **Reduced operational overhead:** Let the cloud provider handle server maintenance, updates, and scaling, freeing up your team to focus on innovation -* **Eco friendly:** Optimized resource usage reduces wasted energy -* **Focus on apps:** you can put all your energy in application value instead of managing infrastructure +* **Eco-friendly:** Optimized resource usage reduces wasted energy +* **Focus on apps:** you can put all your energy into the application value instead of managing infrastructures -# How to control costs of Serverless? +# How to control the costs of Serverless? -Serverless is inherently cost-transparent, tips to otpimize costs: -* **Cost estimator:** when deploying Serverless resources via Scaleway Console, you can try different parameters to evaluate costs +Serverless is inherently cost-transparent, tips to optimize costs: +* **Cost estimator:** When deploying Serverless resources via Scaleway Console, you can try different parameters to evaluate costs * **Best practices** Use efficient code with optimized libraries, ensuring a small resource footprint * **Monitoring** Monitor usage with built-in observability and use Cost Manager: [How to use cost manager documentation](/billing/how-to/use-the-cost-manager/) * **Parameters** Define a max-scale setting according to traffic spikes @@ -56,15 +56,15 @@ Remember: Serverless eliminates upfront capital expenses and reduces operational By adopting Serverless, you are choosing agility, innovation, and cost savings. Whether you are a startup scaling rapidly or an enterprise modernizing legacy systems, Serverless lets you focus on what matters: delivering value to your users. -You can fully deploy your API on Serverless or use it to emporer and add automation to your infrastructure. -Serverless is excellent at handling traffic spikes, useful to offload regular servers on special events. +You can fully deploy your API on Serverless or use it to empower and add automation to your infrastructure. +Serverless is excellent at handling traffic spikes, which is useful for offloading regular servers during special events. -# Is my applicaiton a good fit for Serverless? +# Is my application a good fit for serverless? -Most applications can benefit from Serverless! Here's when it shines: +Most applications can benefit from serverless. Check some use cases: -* **Event driven workloads:** file processing, real time notification, IoT data streams -* **Microservies and APIs:** Stateless, short-lived tasks (e.g., user authentication, payment processing, etc...) +* **Event-driven workloads:** file processing, real-time notification, IoT data streams +* **Microservices and APIs:** Stateless, short-lived tasks (e.g., user authentication, payment processing, etc.) * **Sporadic traffic:** Apps with variable usage (e.g., marketing campaigns, ticketing system). * **Rapid prototyping:** Test ideas quickly without upfront infrastructure investment @@ -91,15 +91,15 @@ We believe in empowering your freedom to choose, adapt, and evolve. Here is how ## Container portability - **Docker compatibility**: Your container images (built with Docker, Helm, or other tools) are portable. You can redeploy them elsewhere—on-premises, on other clouds, or in hybrid environments. -- **No proprietary formats**: We don't modify your containers. What you build works anywhere. +- **No proprietary formats**: We do not modify your containers. What you build works anywhere. ## No proprietary lock-in - **No forced dependencies**: Some providers require customers to import specific libraries to work properly. We do not. -- **Open APIs**: Manage Serverless Containers via REST APIs, Terraform, CLI, etc... no proprietary control required. +- **Open APIs**: Manage Serverless Containers via REST APIs, Terraform, CLI, and more with no proprietary control required. -# How to migrate to Serverless ecosystem? +# How to migrate to a Serverless ecosystem? -Serverless products at Scaleway allows you to gradually migrate to Serverless, different strategies are possible: +Serverless products at Scaleway allow you to gradually migrate to Serverless, offering different strategies: ## Start small @@ -108,7 +108,7 @@ Serverless products at Scaleway allows you to gradually migrate to Serverless, d ## Hybrid architecture -* **Coexistance:** Run serverless endpoints alongside VM, clusters and traditional apps +* **Coexistence:** Run serverless endpoints alongside VMs, clusters, and traditional apps ## Incremental refactoring @@ -116,7 +116,7 @@ Serverless products at Scaleway allows you to gradually migrate to Serverless, d # What specific knowledge is required to deploy Serverless projects? -Serverless is designed to eliminate infrastructure complexity , so teams can focus on innovation: +Serverless is designed to eliminate infrastructure complexity, so teams can focus on innovation: ## No infrastructure expertise needed @@ -133,7 +133,7 @@ Serverless is designed to eliminate infrastructure complexity , so teams can foc * **Minimal learning curve:* Teams only need to understand event-driven architecture, container basics, and Scaleway’s serverless console/CLI * **Training resources:** Free tutorials, examples, and free-tier to experiment -# Is Servereless a good choice for a growing business? +# Is Serverless a good choice for a growing business? Absolutely. Serverless is ideal for startups and scaling businesses due to its cost efficiency, elasticity, and operational simplicity: From e36fc359c11cb6c0737083630b1b8a70d724b92e Mon Sep 17 00:00:00 2001 From: Thomas TACQUET Date: Mon, 2 Jun 2025 13:36:55 +0200 Subject: [PATCH 07/14] Update pages/serverless-containers/reference-content/serverless-handbook.mdx Co-authored-by: Jessica <113192637+jcirinosclwy@users.noreply.github.com> --- .../reference-content/serverless-handbook.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/serverless-containers/reference-content/serverless-handbook.mdx b/pages/serverless-containers/reference-content/serverless-handbook.mdx index 6f334e6be6..805eb6cf49 100644 --- a/pages/serverless-containers/reference-content/serverless-handbook.mdx +++ b/pages/serverless-containers/reference-content/serverless-handbook.mdx @@ -20,7 +20,7 @@ Serverless computing is a cloud computing model where the cloud providers manage This means that there is no need to provision machines, manage a cluster, or pay for servers. Your application code is executed on demand, and you only pay for the computing time consumed by your software. -This approach enables greater scalability, flexibility and cost-effectiveness. +This approach enables greater scalability, flexibility, and cost-effectiveness. Key features: * **Automatic scaling:** Your application can scale up or down automatically based on demand From 3b2b488f7419cee7afc1d495f0e258238d80764f Mon Sep 17 00:00:00 2001 From: Thomas Tacquet Date: Mon, 2 Jun 2025 13:38:40 +0200 Subject: [PATCH 08/14] small workloads sentence --- .../reference-content/serverless-handbook.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/serverless-containers/reference-content/serverless-handbook.mdx b/pages/serverless-containers/reference-content/serverless-handbook.mdx index 805eb6cf49..4282749305 100644 --- a/pages/serverless-containers/reference-content/serverless-handbook.mdx +++ b/pages/serverless-containers/reference-content/serverless-handbook.mdx @@ -103,7 +103,7 @@ Serverless products at Scaleway allow you to gradually migrate to Serverless, of ## Start small -* **Small workloads:** Migrate non-critical workloads first like internal APIs, automation jobs to Serverless Jobs +* **Small workloads:** Migrate non-critical workloads first like parts of APIs, automations and scheduled tasks * **Proof of concept:** Use our tutorial and check our [scaleway/serverless-examples repository](https://github.com/scaleway/serverless-examples) for inspiration ## Hybrid architecture From ea72744e273ca3cfff8b2b1227309314571f7927 Mon Sep 17 00:00:00 2001 From: Thomas Tacquet Date: Tue, 3 Jun 2025 09:36:17 +0200 Subject: [PATCH 09/14] rename page to serverless overview --- .../{serverless-handbook.mdx => serverless-overview.mdx} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename pages/serverless-containers/reference-content/{serverless-handbook.mdx => serverless-overview.mdx} (99%) diff --git a/pages/serverless-containers/reference-content/serverless-handbook.mdx b/pages/serverless-containers/reference-content/serverless-overview.mdx similarity index 99% rename from pages/serverless-containers/reference-content/serverless-handbook.mdx rename to pages/serverless-containers/reference-content/serverless-overview.mdx index 4282749305..d8dc3d4ed0 100644 --- a/pages/serverless-containers/reference-content/serverless-handbook.mdx +++ b/pages/serverless-containers/reference-content/serverless-overview.mdx @@ -1,9 +1,9 @@ --- meta: - title: Serverless ecosystem handbook + title: Serverless overview description: Understand the concepts and benefits of Serverless computing on Scaleway. content: - h1: Serverless ecosystem handbook + h1: Serverless overview paragraph: Understand the concepts and benefits of Serverless computing on Scaleway. tags: containers serverless dates: From b827121358e84b58074edeec50c0744bb6d7565e Mon Sep 17 00:00:00 2001 From: Thomas Tacquet Date: Tue, 3 Jun 2025 11:08:24 +0200 Subject: [PATCH 10/14] add item in menu --- menu/navigation.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/menu/navigation.json b/menu/navigation.json index 703fa3228a..78885f1fc3 100644 --- a/menu/navigation.json +++ b/menu/navigation.json @@ -4315,6 +4315,10 @@ }, { "items": [ + { + "label": "Serverless overview", + "slug": "serverless-overview" + }, { "label": "Containers limitations", "slug": "containers-limitations" From f01bd65cb0cf9ff8d2023fd1fb1432089a396725 Mon Sep 17 00:00:00 2001 From: Thomas TACQUET Date: Wed, 4 Jun 2025 09:50:50 +0200 Subject: [PATCH 11/14] Update pages/serverless-containers/reference-content/serverless-overview.mdx Co-authored-by: Jessica <113192637+jcirinosclwy@users.noreply.github.com> --- .../reference-content/serverless-overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/serverless-containers/reference-content/serverless-overview.mdx b/pages/serverless-containers/reference-content/serverless-overview.mdx index d8dc3d4ed0..ae7a609ab6 100644 --- a/pages/serverless-containers/reference-content/serverless-overview.mdx +++ b/pages/serverless-containers/reference-content/serverless-overview.mdx @@ -103,7 +103,7 @@ Serverless products at Scaleway allow you to gradually migrate to Serverless, of ## Start small -* **Small workloads:** Migrate non-critical workloads first like parts of APIs, automations and scheduled tasks +* **Small workloads:** Migrate non-critical workloads first, like parts of APIs, automations, and scheduled tasks * **Proof of concept:** Use our tutorial and check our [scaleway/serverless-examples repository](https://github.com/scaleway/serverless-examples) for inspiration ## Hybrid architecture From 2ca8a78a896d4ac185abb62a6b4f15dd9f98f482 Mon Sep 17 00:00:00 2001 From: Thomas Tacquet Date: Wed, 4 Jun 2025 16:54:32 +0200 Subject: [PATCH 12/14] add more links --- pages/serverless-containers/concepts.mdx | 4 +++- pages/serverless-containers/quickstart.mdx | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pages/serverless-containers/concepts.mdx b/pages/serverless-containers/concepts.mdx index b972daf1ed..df90b16049 100644 --- a/pages/serverless-containers/concepts.mdx +++ b/pages/serverless-containers/concepts.mdx @@ -150,7 +150,7 @@ The container can then process the message and perform any required actions, suc The port of a containerized application refers to the network port that the application inside the container listens on for incoming requests. -Refer to the [dedicated documentation](/serverless-containers/reference-content/port-parameter-variable/) for more information and examples on the **Port** parameter of Serverless Containers. +Refer to the [dedicated documentation](/serverless-containers/reference-content/port-parameter-variable/) for more information and examples on the **Port** parameter of Serverless Containers. ## Privacy policy @@ -206,6 +206,8 @@ One of the advantages of Serverless Containers is that when your container is no Secrets are an extra-secure type of environment variable. They are environment variables that are injected into your container and stored securely, but not displayed in the console after initial validation. +For more details about Serverless advantages, [read Serverless Overview](/serverless-containers/reference-content/serverless-overview/). + ## Serverless Serverless allows you to deploy your Functions (FaaS) and Containerized Applications (CaaS) in a managed infrastructure. Scaleway ensures the deployment, availability, and scalability of all your projects. diff --git a/pages/serverless-containers/quickstart.mdx b/pages/serverless-containers/quickstart.mdx index 87806e7874..f9c096e240 100644 --- a/pages/serverless-containers/quickstart.mdx +++ b/pages/serverless-containers/quickstart.mdx @@ -16,6 +16,10 @@ categories: Scaleway Serverless Containers provides you with containerized stateless web applications deployed in the cloud. They are designed for short-lived, event-driven tasks. + + For more details about Serverless advantages, [read Serverless Overview](/serverless-containers/reference-content/serverless-overview/). + + Containers rely on the HTTP protocol, and must therefore include a web server to work properly. Refer to the [differences between Containers, Jobs, and Functions](/serverless-containers/reference-content/difference-jobs-functions-containers/) for more information on Scaleway's different Serverless products. This page explains how to deploy a basic NGINX image in a Serverless Container using the Scaleway console. @@ -118,4 +122,4 @@ If you have no existing Serverless Containers resources in your current Project, For advanced usage, such as larger projects with dependencies, automation, multiple containers, and more, there are [several ways to deploy containers](/serverless-containers/reference-content/deploy-container/). -Check out our [GitHub repository](https://github.com/scaleway/serverless-examples) for real-world examples. \ No newline at end of file +Check out our [GitHub repository](https://github.com/scaleway/serverless-examples) for real-world examples. From 6eacc5d1dff80704ce6f4e7fdf58e3c63b9cb4da Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Fri, 6 Jun 2025 15:10:22 +0200 Subject: [PATCH 13/14] docs(srv): update --- .../reference-content/serverless-overview.mdx | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/pages/serverless-containers/reference-content/serverless-overview.mdx b/pages/serverless-containers/reference-content/serverless-overview.mdx index ae7a609ab6..6e20852183 100644 --- a/pages/serverless-containers/reference-content/serverless-overview.mdx +++ b/pages/serverless-containers/reference-content/serverless-overview.mdx @@ -14,7 +14,7 @@ categories: - containers --- -# What is serverless compute? +## What is serverless compute? Serverless computing is a cloud computing model where the cloud providers manage the infrastructure and dynamically allocate computing resources as needed. @@ -30,7 +30,7 @@ Key features: Serverless is not limited to Serverless Functions which is perfect to deploy small chunks of code, it can also directly deploy containers on Serverless Containers and Serverless Jobs. Refer to the [differences between Functions, Jobs, and Containers](/serverless-containers/reference-content/difference-jobs-functions-containers/) for more information on Scaleway's different Serverless products. -# Why Serverless? +## Why Serverless? Serverless offers numerous advantages that can significantly enhance your development and operational efficiency: @@ -41,7 +41,7 @@ Serverless offers numerous advantages that can significantly enhance your develo * **Eco-friendly:** Optimized resource usage reduces wasted energy * **Focus on apps:** you can put all your energy into the application value instead of managing infrastructures -# How to control the costs of Serverless? +## How to control the costs of Serverless? Serverless is inherently cost-transparent, tips to optimize costs: * **Cost estimator:** When deploying Serverless resources via Scaleway Console, you can try different parameters to evaluate costs @@ -51,7 +51,7 @@ Serverless is inherently cost-transparent, tips to optimize costs: Remember: Serverless eliminates upfront capital expenses and reduces operational costs giving you predictable, granular billing. -# Ready to go Serverless? +## Ready to go Serverless? By adopting Serverless, you are choosing agility, innovation, and cost savings. Whether you are a startup scaling rapidly or an enterprise modernizing legacy systems, Serverless lets you focus on what matters: delivering value to your users. @@ -59,7 +59,7 @@ Whether you are a startup scaling rapidly or an enterprise modernizing legacy sy You can fully deploy your API on Serverless or use it to empower and add automation to your infrastructure. Serverless is excellent at handling traffic spikes, which is useful for offloading regular servers during special events. -# Is my application a good fit for serverless? +## Is my application a good fit for serverless? Most applications can benefit from serverless. Check some use cases: @@ -68,13 +68,13 @@ Most applications can benefit from serverless. Check some use cases: * **Sporadic traffic:** Apps with variable usage (e.g., marketing campaigns, ticketing system). * **Rapid prototyping:** Test ideas quickly without upfront infrastructure investment -# How secure are Serverless resources? +## How secure are Serverless resources? Scaleway prioritizes strong security and isolation for Serverless products. * **Secured isolation layers:** Each container runs in a secure, isolated environment. Our systems provide a VM-like security while maintaining container-like performance -# How do I debug and monitor applications in a Serverless environment? +## How do I debug and monitor applications in a Serverless environment? Scaleway provides full observability: @@ -84,75 +84,75 @@ Scaleway provides full observability: As our Serverless environment does not encourage vendor-locking, you can easily debug your container locally. -# Will Serverless lock me into the ecosystem? +## Will Serverless lock me into the ecosystem? No. Scaleway Serverless is designed to minimize vendor lock-in. We believe in empowering your freedom to choose, adapt, and evolve. Here is how we ensure flexibility: -## Container portability +### Container portability - **Docker compatibility**: Your container images (built with Docker, Helm, or other tools) are portable. You can redeploy them elsewhere—on-premises, on other clouds, or in hybrid environments. - **No proprietary formats**: We do not modify your containers. What you build works anywhere. -## No proprietary lock-in +### No proprietary lock-in - **No forced dependencies**: Some providers require customers to import specific libraries to work properly. We do not. - **Open APIs**: Manage Serverless Containers via REST APIs, Terraform, CLI, and more with no proprietary control required. -# How to migrate to a Serverless ecosystem? +## How to migrate to a Serverless ecosystem? Serverless products at Scaleway allow you to gradually migrate to Serverless, offering different strategies: -## Start small +### Start small * **Small workloads:** Migrate non-critical workloads first, like parts of APIs, automations, and scheduled tasks * **Proof of concept:** Use our tutorial and check our [scaleway/serverless-examples repository](https://github.com/scaleway/serverless-examples) for inspiration -## Hybrid architecture +### Hybrid architecture * **Coexistence:** Run serverless endpoints alongside VMs, clusters, and traditional apps -## Incremental refactoring +### Incremental refactoring * **Break monoliths:** Convert microservices or stateless components to Serverless first -# What specific knowledge is required to deploy Serverless projects? +## What specific knowledge is required to deploy Serverless projects? Serverless is designed to eliminate infrastructure complexity, so teams can focus on innovation: -## No infrastructure expertise needed +### No infrastructure expertise needed * **Managed services:** Scaleway handles networking, scaling, patching, and availability * **Simplified operations:** No need for DevOps engineers to manage clusters or servers -## Developer-centric workflow +### Developer-centric workflow * **Familiar tools:** Use Git, Docker, CI/CD pipelines, and IDEs you already know * **Language flexibility:** Support for Python, Node.js, Rust, Go, PHP, and custom runtimes via Serverless Containers -## Learn Serverless basics +### Learn Serverless basics * **Minimal learning curve:* Teams only need to understand event-driven architecture, container basics, and Scaleway’s serverless console/CLI * **Training resources:** Free tutorials, examples, and free-tier to experiment -# Is Serverless a good choice for a growing business? +## Is Serverless a good choice for a growing business? Absolutely. Serverless is ideal for startups and scaling businesses due to its cost efficiency, elasticity, and operational simplicity: -## Auto-Scaling for traffic spikes +### Auto-Scaling for traffic spikes * **Zero manual intervention:* Automatically scale from zero to millions of requests during flash sales, marketing campaigns, or viral events * **Example:** An e-commerce app handles black friday traffic seamlessly without provisioning extra resources -## Pay-as-you-go cost model +### Pay-as-you-go cost model * **No idle costs:* Growing businesses avoid overspending on underutilized infrastructure * **Predictable budgeting:** Use cost estimator to forecast costs based on expected usage -## Focus on core innovation +### Focus on core innovation * **Reduce operational overhead:** Teams avoid spending time on server management, freeing resources for product development * **Faster iteration:** Deploy updates in minutes without downtime -## Enterprise-Ready as you scale +### Enterprise-Ready as you scale * **SLAs and security:** Check our [SLA page](https://www.scaleway.com/en/terms/sla/) * **Hybrid flexibility:** Seamlessly integrate with other Scaleway services (e.g., databases, messaging, AI/ML) to support complex workflows From 69bcaae206477eb4d18bbbeabe9e425c1cedb875 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Fri, 6 Jun 2025 17:47:47 +0200 Subject: [PATCH 14/14] docs(srv): update --- .../reference-content/serverless-overview.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/serverless-containers/reference-content/serverless-overview.mdx b/pages/serverless-containers/reference-content/serverless-overview.mdx index 6e20852183..f824b442c8 100644 --- a/pages/serverless-containers/reference-content/serverless-overview.mdx +++ b/pages/serverless-containers/reference-content/serverless-overview.mdx @@ -43,7 +43,7 @@ Serverless offers numerous advantages that can significantly enhance your develo ## How to control the costs of Serverless? -Serverless is inherently cost-transparent, tips to optimize costs: +Serverless is inherently cost-transparent. Here are some tips to optimize costs: * **Cost estimator:** When deploying Serverless resources via Scaleway Console, you can try different parameters to evaluate costs * **Best practices** Use efficient code with optimized libraries, ensuring a small resource footprint * **Monitoring** Monitor usage with built-in observability and use Cost Manager: [How to use cost manager documentation](/billing/how-to/use-the-cost-manager/) @@ -103,7 +103,7 @@ Serverless products at Scaleway allow you to gradually migrate to Serverless, of ### Start small -* **Small workloads:** Migrate non-critical workloads first, like parts of APIs, automations, and scheduled tasks +* **Small workloads:** Migrate non-critical workloads first, like parts of APIs, automation, and scheduled tasks * **Proof of concept:** Use our tutorial and check our [scaleway/serverless-examples repository](https://github.com/scaleway/serverless-examples) for inspiration ### Hybrid architecture @@ -130,7 +130,7 @@ Serverless is designed to eliminate infrastructure complexity, so teams can focu ### Learn Serverless basics -* **Minimal learning curve:* Teams only need to understand event-driven architecture, container basics, and Scaleway’s serverless console/CLI +* **Minimal learning curve:** Teams only need to understand event-driven architecture, container basics, and Scaleway’s serverless console/CLI * **Training resources:** Free tutorials, examples, and free-tier to experiment ## Is Serverless a good choice for a growing business? @@ -139,7 +139,7 @@ Absolutely. Serverless is ideal for startups and scaling businesses due to its c ### Auto-Scaling for traffic spikes -* **Zero manual intervention:* Automatically scale from zero to millions of requests during flash sales, marketing campaigns, or viral events +* **Zero manual intervention:** Automatically scale from zero to millions of requests during flash sales, marketing campaigns, or viral events * **Example:** An e-commerce app handles black friday traffic seamlessly without provisioning extra resources ### Pay-as-you-go cost model