Skip to content

Commit a1857a7

Browse files
committed
docs(srv): add migration guide for serverless containers MTA-6412
1 parent 0e42940 commit a1857a7

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
---
2+
title: How to migrate your workloads to Scaleway Serverless Containers
3+
description: This page gives recommendations and steps to migrate your workloads from Kubernetes or conventional virtual machines to Scaleway Serverless Containers
4+
tags: migration switch change adopt serverless containers go serverless try k8s vm
5+
dates:
6+
validation: 2025-08-25
7+
posted: 2025-08-25
8+
---
9+
10+
This guide is designed for developers and operators who are currently running workloads on Kubernetes or traditional virtual machines and are considering a migration to [Serverless Containers](/serverless-containers/concepts/#serverless-containers). This guide covers the [core concepts](#why-migrating-to-serverless-containers) of Serverless Containers, the [operational benefits](#key-features) of this model, and a [practical path](#quick-deployment-guide) for migration.
11+
12+
## Why migrating to Serverless Containers
13+
14+
Moving to a Serverless Containers model involves a shift in operational responsibility from you to the cloud provider. This change brings several key advantages for development teams.
15+
16+
- **Reduced operational overhead**: The primary benefit is the abstraction of the underlying infrastructure. You do not need to provision, manage, scale, or patch servers, operating systems, or container orchestration platforms like Kubernetes. This allows your team to focus on application logic rather than infrastructure management.
17+
18+
- **Container-based workflow**: You can continue to use the standard container-based development workflow. Packaging your application and its dependencies into a container image ensures a consistent and reproducible environment, from local development to production.
19+
20+
- **Stateless architecture**: Serverless Containers are designed for stateless services. This architectural pattern promotes building applications that are horizontally scalable and resilient, as any instance can handle any request without relying on local state.
21+
22+
- **Efficient resource consumption**: The platform automatically scales the number of running container instances based on request volume, CPU consumption or RAM usage. This removes the need to manually configure and tune autoscaling rules, ensuring your application has the resources it needs to meet demand. For services with variable or infrequent traffic, this model is highly efficient, as resources can scale down to zero when there are no requests, eliminating the cost of idle capacity.
23+
24+
Refer to our [dedicated overview page](/serverless-containers/reference-content/serverless-overview/) for general information on Scaleway's Serverless products.
25+
26+
## Key features
27+
28+
Serverless Containers come packed with features designed for modern application development:
29+
30+
Private Network compatibility: Securely connect your services to other resources within your private cloud network. Read more about private networks integration (https://www.scaleway.com/en/docs/serverless-containers/reference-content/containers-private-networks/)
31+
32+
Custom domains: Easily map your own domain names to your services. Check on how to add custom domains to Serverless Containers (https://www.scaleway.com/en/docs/serverless-containers/how-to/add-a-custom-domain-to-a-container/)
33+
34+
Healthchecks: Configure readiness and liveness probes to ensure your application instances are healthy and ready to serve traffic. Get more info about healtchecks (https://www.scaleway.com/en/docs/serverless-containers/concepts/#health-check)
35+
36+
Built-in monitoring: Gain immediate insights into your application's performance with integrated logging and metrics, without needing to set up complex monitoring agents. Check how to monitor your Serverless Container (https://www.scaleway.com/en/docs/serverless-containers/how-to/monitor-container/)
37+
38+
Enhanced security: Because the platform is managed by the cloud provider, it benefits from continuous security patching and best practices, reducing your operational security burden. Check how to secure a Serverless Container (https://www.scaleway.com/en/docs/serverless-containers/how-to/secure-a-container/)
39+
40+
For additional features related to Serverless Containers, check for all Concepts (https://www.scaleway.com/en/docs/serverless-containers/concepts/)
41+
42+
## Quick deployment guide
43+
44+
Deploying your first service to Serverless Containers is straightforward. Here’s a high-level overview of the steps:
45+
46+
Containerize your Application: If you haven't already, package your application into a container image using a Dockerfile. Read Container Registry quickstart(https://www.scaleway.com/en/docs/container-registry/quickstart/)
47+
48+
Push to a Registry: Push your container image to Scaleway Container Registry.
49+
50+
Deploy a container: Read How to deploy a Container](https://www.scaleway.com/en/docs/serverless-containers/how-to/deploy-container/)
51+
52+
Deploy: Click "Deploy" and the platform will pull your container image and run it. Within minutes, you'll have a publicly accessible HTTPS endpoint for your new service.
53+
54+
Best practices for migration
55+
56+
Migrating existing applications from Kubernetes or Instances to Serverless Containers is an opportunity to modernize your architecture.
57+
58+
General best practices
59+
60+
Containerize everything: Your application must be packaged as a container image. This is the fundamental deployment unit for Serverless Containers
61+
62+
Embrace statelessness: Since Serverless Containers are stateless, you cannot rely on the local filesystem for storing data that needs to persist between requests
63+
64+
Use external storage: For file storage, use an object storage service like Scaleway Object Storage (https://www.scaleway.com/en/docs/object-storage/quickstart/)
65+
66+
Externalize state: For application state, use a managed database, cache like Redis(https://www.scaleway.com/en/docs/managed-databases-for-redis/how-to/create-a-database-for-redis/) or a message queues(https://www.scaleway.com/en/docs/queues/quickstart/)
67+
68+
Manage your infrastructure as code: While you can manage your services through the console, we highly recommend using developer tools for a repeatable and version-controlled setup.
69+
70+
CLI: Use the command-line interface provided by your cloud provider for scripting and automation. Read more(https://www.scaleway.com/en/docs/scaleway-cli/quickstart/)
71+
72+
Terraform/IaC: Define your Serverless Containers services using tools like Terraform for a fully automated and declarative infrastructure. Read more (https://www.scaleway.com/en/docs/terraform/quickstart/)
73+
74+
Migration Strategies
75+
76+
Progressive migration: You don't need to migrate your entire application at once. Serverless Containers are perfect for microservices. You can start by migrating a single, smaller service to get a feel for the platform. This approach minimizes risk and allows your team to learn as you go.
77+
78+
API Migration: When migrating an API, you can create a new version of your API on Serverless Containers. For example, you can create a new /v2/ endpoint for your API that is served by Serverless Containers, while the existing /v1/ remains on your current infrastructure. This allows for a gradual rollout to your users.
79+
80+
Start small with Serverless Jobs
81+
82+
If you're looking for an even simpler way to start your Serverless journey, consider using Serverless Jobs. This is a companion product designed for running batch jobs, scripts, or automated tasks that run to completion.
83+
84+
Instead of migrating a full web service, you can start by offloading a small automation task (like a nightly data processing script) to a Serverless Job. This is a low-risk way to familiarize your team with the serverless container ecosystem before committing to migrating larger, more critical services.
85+
86+
Quickstart of Serverless Jobs product (https://www.scaleway.com/en/docs/serverless-jobs/quickstart/)

0 commit comments

Comments
 (0)