Skip to content

Commit 8475fbc

Browse files
feat(serverless): add overview to jobs and functions
1 parent dd03392 commit 8475fbc

File tree

8 files changed

+338
-6
lines changed

8 files changed

+338
-6
lines changed

menu/navigation.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4595,6 +4595,10 @@
45954595
},
45964596
{
45974597
"items": [
4598+
{
4599+
"label": "Serverless overview",
4600+
"slug": "serverless-overview"
4601+
},
45984602
{
45994603
"label": "Functions runtimes",
46004604
"slug": "functions-runtimes"
@@ -4739,6 +4743,10 @@
47394743
},
47404744
{
47414745
"items": [
4746+
{
4747+
"label": "Serverless overview",
4748+
"slug": "serverless-overview"
4749+
},
47424750
{
47434751
"label": "Jobs limitations",
47444752
"slug": "jobs-limitations"

pages/serverless-containers/concepts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,12 +230,12 @@ When provisioned with a [minimum scale](#min-scale) of `0`, Serverless Container
230230

231231
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. Secrets defined at the container level override the ones defined at the namespace level if they have the same name.
232232

233-
For more details about Serverless advantages, [read Serverless Overview](/serverless-containers/reference-content/serverless-overview/).
234-
235233
## Serverless
236234

237235
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.
238236

237+
For more details about Serverless advantages, [read Serverless Overview](/serverless-containers/reference-content/serverless-overview/).
238+
239239
## Serverless Framework
240240

241241
Serverless.com (Serverless Framework) is a tool that allows you to deploy serverless applications without having to manage Serverless Container's API call. Write and deploy a YAML configuration file, everything else is handled automatically, even the image building.

pages/serverless-functions/concepts.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ Secrets defined at the function level override the ones defined at the namespace
169169

170170
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.
171171

172+
For more details about Serverless advantages, [read Serverless Overview](/serverless-functions/reference-content/serverless-overview/).
173+
172174
## Serverless Framework
173175

174176
Serverless.com (Serverless Framework) is a tool that enables the deployment of serverless applications without having to manage Serverless Function's API call. Just write your configuration in a YAML and deploy, it handles everything.

pages/serverless-functions/quickstart.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ meta:
55
content:
66
h1: Functions - Quickstart
77
paragraph: Quickstart guide to deploying and managing Serverless Functions on Scaleway.
8-
tags: functions namespace
8+
tags: functions namespace
99
dates:
1010
validation: 2025-02-10
1111
posted: 2021-05-26
@@ -15,6 +15,10 @@ categories:
1515

1616
Scaleway Serverless Functions makes your [functions](/serverless-functions/concepts/#serverless-functions) available, executes them on demand and manages resource allocation for you.
1717

18+
<Message>
19+
For more details about Serverless advantages, [read Serverless Overview](/serverless-functions/reference-content/serverless-overview/).
20+
</Message>
21+
1822
Functions are designed for lightweight and short-lived workloads, and are limited to [a selection of runtimes](/serverless-functions/reference-content/functions-runtimes/#available-runtimes) for optimum performance.
1923

2024
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.
@@ -88,4 +92,4 @@ The **Output** section displays the response from your function and the status c
8892

8993
## Going further
9094

91-
If you require more advanced usage, such as large projects with dependencies, automation, and multiple functions, refer to our [deployment methods](/serverless-functions/reference-content/deploy-function/) documentation and check our [repository](https://github.com/scaleway/serverless-examples) for examples and use cases.
95+
If you require more advanced usage, such as large projects with dependencies, automation, and multiple functions, refer to our [deployment methods](/serverless-functions/reference-content/deploy-function/) documentation and check our [repository](https://github.com/scaleway/serverless-examples) for examples and use cases.
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
---
2+
meta:
3+
title: Serverless overview
4+
description: Understand the concepts and benefits of Serverless computing on Scaleway.
5+
content:
6+
h1: Serverless overview
7+
paragraph: Understand the concepts and benefits of Serverless computing on Scaleway.
8+
tags: functions serverless
9+
dates:
10+
validation: 2025-06-18
11+
posted: 2025-06-18
12+
categories:
13+
- serverless
14+
- functions
15+
---
16+
17+
## What is serverless compute?
18+
19+
Serverless computing is a cloud computing model where the cloud providers manage the infrastructure and dynamically allocate computing resources as needed.
20+
21+
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.
22+
23+
This approach enables greater scalability, flexibility, and cost-effectiveness.
24+
25+
Key features:
26+
* **Automatic scaling:** Your application can scale up or down automatically based on demand
27+
* **No server management:** No need to provision, maintain, or manage servers
28+
* **Pay as you go:** Only pay for the computing time you consume, making it cost-effective
29+
30+
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.
31+
Refer to the [differences between Functions, Jobs, and Containers](/serverless-functions/reference-content/difference-jobs-functions-containers/) for more information on Scaleway's different Serverless products.
32+
33+
## Why Serverless?
34+
35+
Serverless offers numerous advantages that can significantly enhance your development and operational efficiency:
36+
37+
* **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 is 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 into the application value instead of managing infrastructures
43+
44+
## How to control the costs of Serverless?
45+
46+
Serverless is inherently cost-transparent. Here are some tips to optimize costs:
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
51+
52+
Remember: Serverless eliminates upfront capital expenses and reduces operational costs giving you predictable, granular billing.
53+
54+
## Ready to go Serverless?
55+
56+
By adopting Serverless, you are choosing agility, innovation, and cost savings.
57+
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.
58+
59+
You can fully deploy your API on Serverless or use it to empower and add automation to your infrastructure.
60+
Serverless is excellent at handling traffic spikes, which is useful for offloading regular servers during special events.
61+
62+
## Is my application a good fit for serverless?
63+
64+
Most applications can benefit from serverless. Check some use cases:
65+
66+
* **Event-driven workloads:** file processing, real-time notification, IoT data streams
67+
* **Microservices and APIs:** Stateless, short-lived tasks (e.g., user authentication, payment processing, etc.)
68+
* **Sporadic traffic:** Apps with variable usage (e.g., marketing campaigns, ticketing system).
69+
* **Rapid prototyping:** Test ideas quickly without upfront infrastructure investment
70+
71+
## How secure are Serverless resources?
72+
73+
Scaleway prioritizes strong security and isolation for Serverless products.
74+
75+
* **Secured isolation layers:** Each function runs in a secure, isolated environment. Our systems provide a VM-like security while maintaining container-like performance
76+
77+
## How do I debug and monitor applications in a Serverless environment?
78+
79+
Scaleway provides full observability:
80+
81+
* **Logs and metrics:** Centralized logging and real-time metrics via Cockpit
82+
* **Local debugging:** Test functions locally using our [local testing tools](/serverless-functions/reference-content/local-testing/#requirements)
83+
* **Error Reporting:** Automatic alerts for failed invocations or resource bottlenecks via Cockpit. See [how to configure alerts for Serverless Functions](/serverless-functions/how-to/configure-alerts-functions/)
84+
85+
As our Serverless environment does not encourage vendor-locking, you can easily debug your container locally.
86+
87+
## Will Serverless lock me into the ecosystem?
88+
89+
No. Scaleway Serverless is designed to minimize vendor lock-in.
90+
We believe in empowering your freedom to choose, adapt, and evolve. Here is how we ensure flexibility:
91+
92+
### No proprietary lock-in
93+
- **No forced dependencies**: Some providers require customers to import specific libraries to work properly. We do not.
94+
- **Open APIs**: Manage Serverless Functions via REST APIs, Terraform, CLI, and more with no proprietary control required.
95+
96+
## How to migrate to a Serverless ecosystem?
97+
98+
Serverless products at Scaleway allow you to gradually migrate to Serverless, offering different strategies:
99+
100+
### Start small
101+
102+
* **Small workloads:** Migrate non-critical workloads first, like parts of APIs, automation, and scheduled tasks
103+
* **Proof of concept:** Use our tutorial and check our [scaleway/serverless-examples repository](https://github.com/scaleway/serverless-examples) for inspiration
104+
105+
### Hybrid architecture
106+
107+
* **Coexistence:** Run serverless endpoints alongside VMs, clusters, and traditional apps
108+
109+
### Incremental refactoring
110+
111+
* **Break monoliths:** Convert microservices or stateless components to Serverless first
112+
113+
## What specific knowledge is required to deploy Serverless projects?
114+
115+
Serverless is designed to eliminate infrastructure complexity, so teams can focus on innovation:
116+
117+
### No infrastructure expertise needed
118+
119+
* **Managed services:** Scaleway handles networking, scaling, patching, and availability
120+
* **Simplified operations:** No need for DevOps engineers to manage clusters or servers
121+
122+
### Developer-centric workflow
123+
124+
* **Familiar tools:** Use Git, Docker, CI/CD pipelines, and IDEs you already know
125+
* **Language flexibility:** Support for Python, Node.js, Rust, Go, PHP on Serverless Functions
126+
127+
### Learn Serverless basics
128+
129+
* **Minimal learning curve:** Teams only need to understand event-driven architecture, container basics, and Scaleway’s serverless console/CLI
130+
* **Training resources:** Free tutorials, examples, and free-tier to experiment
131+
132+
## Is Serverless a good choice for a growing business?
133+
134+
Absolutely. Serverless is ideal for startups and scaling businesses due to its cost efficiency, elasticity, and operational simplicity:
135+
136+
### Auto-Scaling for traffic spikes
137+
138+
* **Zero manual intervention:** Automatically scale from zero to millions of requests during flash sales, marketing campaigns, or viral events
139+
* **Example:** An e-commerce app handles black friday traffic seamlessly without provisioning extra resources
140+
141+
### Pay-as-you-go cost model
142+
143+
* **No idle costs:* Growing businesses avoid overspending on underutilized infrastructure
144+
* **Predictable budgeting:** Use cost estimator to forecast costs based on expected usage
145+
146+
### Focus on core innovation
147+
148+
* **Reduce operational overhead:** Teams avoid spending time on server management, freeing resources for product development
149+
* **Faster iteration:** Deploy updates in minutes without downtime
150+
151+
### Enterprise-Ready as you scale
152+
153+
* **SLAs and security:** Check our [SLA page](https://www.scaleway.com/en/terms/sla/)
154+
* **Hybrid flexibility:** Seamlessly integrate with other Scaleway services (e.g., databases, messaging, AI/ML) to support complex workflows

pages/serverless-jobs/concepts.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ These functions automatically scale based on demand and are designed to be light
8181

8282
Serverless Jobs are similar to Serverless Containers but are better suited for running longer workloads. See [the comparison between Serverless products](/serverless-jobs/reference-content/difference-jobs-functions-containers) for more information.
8383

84+
For more details about Serverless advantages, [read Serverless Overview](/serverless-jobs/reference-content/serverless-overview/).
85+
8486
## Secrets reference
8587

8688
A secret reference is a mechanism that allows you to use a secret stored in [Secret Manager](/secret-manager/) within Serverless Jobs. It allows you to securely reference sensitive data, such as API secret keys, passwords, tokens, or certificates.
@@ -113,4 +115,4 @@ Examples using Terraform/OpenTofu can be found in our [Serverless Examples repos
113115

114116
## vCPU-s
115117

116-
Unit used to measure the resource consumption of a container. It reflects the amount of vCPU used over time.
118+
Unit used to measure the resource consumption of a container. It reflects the amount of vCPU used over time.

pages/serverless-jobs/quickstart.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ categories:
1616

1717
Scaleway Serverless Jobs allows you to run recurring tasks in the cloud. A [Job](/serverless-jobs/concepts/#job) is based on a job definition, which is used as a template to create job runs.
1818

19+
<Message>
20+
For more details about Serverless advantages, [read Serverless Overview](/serverless-jobs/reference-content/serverless-overview/).
21+
</Message>
22+
1923
Jobs are designed for autonomous and recurring tasks, and therefore do not offer automatic scaling or a web interface.
2024

2125
Refer to the [differences between Jobs, Containers, and Functions](/serverless-jobs/reference-content/difference-jobs-functions-containers/) for more information on Scaleway's different Serverless products.
@@ -75,4 +79,4 @@ Discover the Serverless Jobs interface in the Scaleway console.
7579

7680
1. Click **Jobs** in the **Serverless** section of the side menu. The Jobs page displays.
7781
3. Click the <Icon name="more" /> icon next to the job you want to delete, and select **Delete job** from the drop-down menu.
78-
4. Type **DELETE** in the pop-up, then click **Delete job**.
82+
4. Type **DELETE** in the pop-up, then click **Delete job**.

0 commit comments

Comments
 (0)