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. + + +## 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**.