You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/serverless-containers/reference-content/understanding-serverless-benefits.mdx
+86-19Lines changed: 86 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
2
meta:
3
-
title: Understanding Serverless benefits
3
+
title: Serverless ecosystem handbook
4
4
description:
5
5
content:
6
-
h1: Understanding Serverless benefits
6
+
h1: Serverless ecosystem handbook
7
7
paragraph:
8
8
tags: containers serverless
9
9
dates:
@@ -28,24 +28,26 @@ Key features:
28
28
***Pay as ou go:** you only pay for the compute time you consume, making it cost effective
29
29
30
30
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.
31
+
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.
31
32
32
33
# Why Serverless?
33
34
34
35
Serverless offers numerous advantages that can significantly enhance your development and operational efficiency:
35
36
36
-
***Cost savings:** You only pay for the compute time your code uses, which can lead to significant cost reductions. No idle resources.
37
-
***Scalability:** Automatically scale your applications to handle varying loads without manual intervention. It's perfect for seasonal traffic and viral apps.
38
-
***Faster time to market:** Focus on writing code rather than managing infrastructure, accelerating your development cycles.
39
-
***Reduced operational overhead:** Let the cloud provider handle server maintenance, updates, and scaling, freeing up your team to focus on innovation.
***Cost savings:** You only pay for the compute time your code uses, which can lead to significant cost reductions. No idle resources
38
+
***Scalability:** Automatically scale your applications to handle varying loads without manual intervention. It's perfect for seasonal traffic and viral apps
39
+
***Faster time to market:** Focus on writing code rather than managing infrastructure, accelerating your development cycles
40
+
***Reduced operational overhead:** Let the cloud provider handle server maintenance, updates, and scaling, freeing up your team to focus on innovation
41
+
***Eco friendly:** Optimized resource usage reduces wasted energy
42
+
***Focus on apps:** you can put all your energy in application value instead of managing infrastructure
42
43
43
44
# How to control costs of Serverless?
44
45
45
46
Serverless is inherently cost-transparent, tips to otpimize costs:
46
-
* Use efficient code and set timeouts
47
-
* Monitor usage with built-in observability
48
-
* Define a max-scale setting
47
+
***Cost estimator:** when deploying Serverless resources via Scaleway Console, you can try different parameters to evaluate costs
48
+
***Best practices** Use efficient code with optimized libraries, ensuring a small resource footprint
49
+
***Monitoring** Monitor usage with built-in observability and use Cost Manager: [How to use cost manager documentation](/billing/how-to/use-the-cost-manager/)
50
+
***Parameters** Define a max-scale setting according to traffic spikes
49
51
50
52
Remember: Serverless eliminates upfront capital expenses and reduces operational costs giving you predictable, granular billing.
51
53
@@ -58,27 +60,32 @@ You can fully deploy your API on Serverless or use it to emporer and add automat
58
60
Serverless is excellent at handling traffic spikes, useful to offload regular servers on special events.
59
61
60
62
# Is my applicaiton a good fit for Serverless?
63
+
61
64
Most applications can benefit from Serverless! Here's when it shines:
62
65
63
-
* Event driven workloads: file processing, real time notification, IoT data streams.
64
-
* Microservies and APIs: Stateless, short-lived tasks (e.g., user authentication, payment processing, etc...)
***Rapid prototyping:** Test ideas quickly without upfront infrastructure investment
67
70
68
71
# How secure are Serverless resources?
69
72
70
-
**Isolation:** Each container runs in a secure, isolated environment
71
-
**IAM integration:** Fine-grained access control via IAM, inject directly required redentials to Serverless ressources.
73
+
Scaleway prioritizes strong security and isolation for Serverless products.
74
+
75
+
***Secured isolation layers:** Each container runs in a secure, isolated environment. Our systems provide a VM-like security while maintaining container-like performance
72
76
73
77
# How do I debug and monitor applications in a Serverless environment?
74
78
75
79
Scaleway provides full observability:
76
80
77
81
***Logs and metrics:** Centralized logging and real-time metrics via Cockpit
78
82
***Local debugging:** Test containers locally using the Serverless CLI and emulator
79
-
***Error Reporting:** Automatic alerts for failed invocations or resource bottlenecks via Cockpit
83
+
***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/)
84
+
85
+
As our Serverless environment does not encourage vendor-locking, you can easily debug your container locally.
80
86
81
87
# Will Serverless lock me into the ecosystem?
88
+
82
89
No. Scaleway Serverless is designed to minimize vendor lock-in.
83
90
We believe in empowering your freedom to choose, adapt, and evolve. Here is how we ensure flexibility:
84
91
@@ -87,5 +94,65 @@ We believe in empowering your freedom to choose, adapt, and evolve. Here is how
87
94
-**No proprietary formats**: We don't modify your containers. What you build works anywhere.
88
95
89
96
## No proprietary lock-in
90
-
-**No forced dependencies**
97
+
-**No forced dependencies**: Some providers require customers to import specific libraries to work properly. We do not.
91
98
-**Open APIs**: Manage Serverless Containers via REST APIs, Terraform, CLI, etc... no proprietary control required.
99
+
100
+
# How to migrate to Serverless ecosystem?
101
+
102
+
Serverless products at Scaleway allows you to gradually migrate to Serverless, different strategies are possible:
103
+
104
+
## Start small
105
+
106
+
***Small workloads:** Migrate non-critical workloads first like internal APIs, automation jobs to Serverless Jobs
107
+
***Proof of concept:** Use our tutorial and check our [scaleway/serverless-examples repository](https://github.com/scaleway/serverless-examples) for inspiration
108
+
109
+
## Hybrid architecture
110
+
111
+
***Coexistance:** Run serverless endpoints alongside VM, clusters and traditional apps
112
+
113
+
## Incremental refactoring
114
+
115
+
***Break monoliths:** Convert microservices or stateless components to Serverless first
116
+
117
+
# What specific knowledge is required to deploy Serverless projects?
118
+
119
+
Serverless is designed to eliminate infrastructure complexity , so teams can focus on innovation:
120
+
121
+
## No infrastructure expertise needed
122
+
123
+
***Managed services:** Scaleway handles networking, scaling, patching, and availability
124
+
***Simplified operations:** No need for DevOps engineers to manage clusters or servers
125
+
126
+
## Developer-centric workflow
127
+
128
+
***Familiar tools:** Use Git, Docker, CI/CD pipelines, and IDEs you already know
129
+
***Language flexibility:** Support for Python, Node.js, Rust, Go, PHP, and custom runtimes via Serverless Containers
130
+
131
+
## Learn Serverless basics
132
+
133
+
***Minimal learning curve:* Teams only need to understand event-driven architecture, container basics, and Scaleway’s serverless console/CLI
134
+
***Training resources:** Free tutorials, examples, and free-tier to experiment
135
+
136
+
# Is Servereless a good choice for a growing business?
137
+
138
+
Absolutely. Serverless is ideal for startups and scaling businesses due to its cost efficiency, elasticity, and operational simplicity:
139
+
140
+
## Auto-Scaling for traffic spikes
141
+
142
+
***Zero manual intervention:* Automatically scale from zero to millions of requests during flash sales, marketing campaigns, or viral events
143
+
***Example:** An e-commerce app handles black friday traffic seamlessly without provisioning extra resources
144
+
145
+
## Pay-as-you-go cost model
146
+
147
+
***No idle costs:* Growing businesses avoid overspending on underutilized infrastructure
148
+
***Predictable budgeting:** Use cost estimator to forecast costs based on expected usage
149
+
150
+
## Focus on core innovation
151
+
152
+
***Reduce operational overhead:** Teams avoid spending time on server management, freeing resources for product development
153
+
***Faster iteration:** Deploy updates in minutes without downtime
154
+
155
+
## Enterprise-Ready as you scale
156
+
157
+
***SLAs and security:** Check our [SLA page](https://www.scaleway.com/en/terms/sla/)
158
+
***Hybrid flexibility:** Seamlessly integrate with other Scaleway services (e.g., databases, messaging, AI/ML) to support complex workflows
0 commit comments