From 2054b3a493a80ef30f309883a7cc71264d616493 Mon Sep 17 00:00:00 2001 From: Samy OUBOUAZIZ Date: Tue, 18 Nov 2025 11:31:24 +0100 Subject: [PATCH 1/3] feat(use-cases): add scaling your application use case MTA-6623 --- .../scaling-your-application/index.mdx | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 pages/use-cases/application-hosting/scaling-your-application/index.mdx diff --git a/pages/use-cases/application-hosting/scaling-your-application/index.mdx b/pages/use-cases/application-hosting/scaling-your-application/index.mdx new file mode 100644 index 0000000000..5fe30a9707 --- /dev/null +++ b/pages/use-cases/application-hosting/scaling-your-application/index.mdx @@ -0,0 +1,71 @@ +--- +title: Scaling your application +description: This page provides guidelines, tips, and best practices to deploy and scale your application using Scaleway products +tags: deploy create scale scaling application app webapp autoscaling kubernetes instances serverless +dates: + validation: 2025-11-18 + posted: 2025-11-18 +--- + +Scaleway offers scalable and secure hosting solutions to support your app development and deployment. Whether you're building a small prototype or a full-scale enterprise application, we have the resources you need. + +Choosing the right hosting strategy is key to ensuring performance, scalability, and maintainability. Below are best practices and guidelines to help you scale your application effectively using Scaleway products. + +## Choose the Right Hosting Model for Your Use Case + +Different applications have different requirements in terms of scalability, control, and operational complexity. Consider the following deployment options based on your application’s needs: + +| Deployment Method | Best For | Scalability | Management Overhead | +|----------------------------------|------------------------------------------------------------|-------------|---------------------| +| **Serverless Containers** | Dynamic web apps, APIs, microservices | High | Low | +| **Instances (Virtual Machines)** | Full control, long-running workloads, custom configurations | Medium | High | +| **Elastic Metal (Aluminium)** | High-performance, predictable workloads, low-latency apps | High | High | +| **Object Storage + Edge** | Static websites, frontend assets, serverless front-ends | High | Very Low | + + +For most modern web applications, we recommend starting with **Serverless Containers** or **Instances** depending on whether you prefer abstraction over infrastructure or full control. + + +## Best Practices for Scaling Applications + +### Use Auto-Scaling Where Possible +When deploying with **Serverless Containers**, your application automatically scales to zero when idle and scales out under load, optimizing cost and performance. This is ideal for variable or unpredictable traffic. + + +Structure your app to be stateless and rely on external services (like Managed Databases for PostgreSQL and MySQL or Object Storage) for persistence to make scaling seamless. + + +### Leverage Edge Services for Global Performance +Pair your application with **Scaleway Edge Services** to cache responses at the edge, reducing latency and backend load. This is especially effective for content-heavy or globally accessed applications. + + +Use Edge TLS pipelines to secure and accelerate traffic to your app or static assets. + + +### Separate Concerns: Frontend and Backend +Deploy frontend and backend components independently: +- Host static frontends (React, Vue, etc.) on **Object Storage** with **Edge** for fast global delivery. +- Run backend APIs in **Serverless Containers** or **Instances** for dynamic processing. + + +Independent scaling, faster iteration, and improved security. + + +### Automate Deployment and CI/CD +Use Scaleway Container Registry and integrate with your CI/CD pipeline to automate image building and deployment. This ensures consistent, repeatable deployments. + + +Tag your container images semantically and use deployment hooks to minimize downtime. + + +### Monitor and Optimize +Use monitoring tools to track CPU, memory, and request metrics. Scaleway provides integration points for observability solutions. + + +Set up alerts for high load or error rates to proactively manage performance. + + +### Secure Your Application +- Always enable HTTPS using **Edge Services** or load balancers. +- Use private networks and security groups to restrict access to backends and databases. +- Regularly update and patch your environments, especially on **Instances** and **Elastic Metal**. From 1e84d8036ca08eae7c467f819355749520a9aa96 Mon Sep 17 00:00:00 2001 From: Samy OUBOUAZIZ Date: Tue, 18 Nov 2025 11:47:38 +0100 Subject: [PATCH 2/3] feat(use-cases): update --- pages/use-cases/application-hosting/index.mdx | 7 +++++++ .../index.mdx => scaling-your-application.mdx} | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) rename pages/use-cases/application-hosting/{scaling-your-application/index.mdx => scaling-your-application.mdx} (92%) diff --git a/pages/use-cases/application-hosting/index.mdx b/pages/use-cases/application-hosting/index.mdx index f4496f8dd4..640f5007c3 100644 --- a/pages/use-cases/application-hosting/index.mdx +++ b/pages/use-cases/application-hosting/index.mdx @@ -21,6 +21,13 @@ Looking to deploy a web application? Scaleway offers scalable and secure hosting label="Read more" url="/tutorials/deploy-saas-application/" /> + For most modern web applications, we recommend starting with **Serverless Containers** or **Instances** depending on whether you prefer abstraction over infrastructure or full control. From c184628f1c40c72852bff47171cd6b6433eb89eb Mon Sep 17 00:00:00 2001 From: Samy OUBOUAZIZ Date: Tue, 18 Nov 2025 11:49:17 +0100 Subject: [PATCH 3/3] feat(use-cases): update --- .../application-hosting/scaling-your-application.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/use-cases/application-hosting/scaling-your-application.mdx b/pages/use-cases/application-hosting/scaling-your-application.mdx index 8a667249ac..4eb3a5b3a4 100644 --- a/pages/use-cases/application-hosting/scaling-your-application.mdx +++ b/pages/use-cases/application-hosting/scaling-your-application.mdx @@ -30,6 +30,7 @@ For most modern web applications, we recommend starting with **Serverless Contai ## Best Practices for Scaling Applications ### Use Auto-Scaling Where Possible + When deploying with **Serverless Containers**, your application automatically scales to zero when idle and scales out under load, optimizing cost and performance. This is ideal for variable or unpredictable traffic. @@ -37,6 +38,7 @@ Structure your app to be stateless and rely on external services (like Managed D ### Leverage Edge Services for Global Performance + Pair your application with **Scaleway Edge Services** to cache responses at the edge, reducing latency and backend load. This is especially effective for content-heavy or globally accessed applications. @@ -44,6 +46,7 @@ Use Edge TLS pipelines to secure and accelerate traffic to your app or static as ### Separate Concerns: Frontend and Backend + Deploy frontend and backend components independently: - Host static frontends (React, Vue, etc.) on **Object Storage** with **Edge** for fast global delivery. - Run backend APIs in **Serverless Containers** or **Instances** for dynamic processing. @@ -53,6 +56,7 @@ Independent scaling, faster iteration, and improved security. ### Automate Deployment and CI/CD + Use Scaleway Container Registry and integrate with your CI/CD pipeline to automate image building and deployment. This ensures consistent, repeatable deployments. @@ -60,6 +64,7 @@ Tag your container images semantically and use deployment hooks to minimize down ### Monitor and Optimize + Use monitoring tools to track CPU, memory, and request metrics. Scaleway provides integration points for observability solutions. @@ -67,6 +72,7 @@ Set up alerts for high load or error rates to proactively manage performance. ### Secure Your Application + - Always enable HTTPS using **Edge Services** or load balancers. - Use private networks and security groups to restrict access to backends and databases. - Regularly update and patch your environments, especially on **Instances** and **Elastic Metal**.