ScalewaySkip to loginSkip to main contentSkip to footer section

Serverless Functions

Experience an easy way to run your code on the cloud.

Build scalable services

Optimize code execution time by selecting the memory and vCPU needed for your function. As traffic increases, your service will automatically adapt and scale to deliver seamless performance to your customers.

Build applications quicker

Serverless Functions allows the automatic and flexible scaling of your workload, allowing you to focus on building your applications instead of spending time managing your infrastructure.

Multi-cloud compatible

Your functions run on Knative, the open-source serverless framework for Kubernetes. They'll work with any provider, on any machine.

Popular use cases

Automate IT operations

Focus on high added-value activities by automating your infrastructure management operations, such as provisioning, scaling, and cleaning.

ServerlessFaaS-Schema-1040px-Dark.webp

Key features

Usage-based pricing

Billing is dependent on the number of requests and consumed resources (memory). Only pay when your functions are running.

Scalable & No servers

Serverless Functions runs your code without you needing to provision or manage any infrastructure.
Write your code, transfer it to Serverless Functions, and it runs and scales up or down automatically.

Supports various languages

We support Node.js, Go, Python, PHP and Rust. You can choose your programming language to fit your application scenarios.

Custom domains

Choose the domains associated with Serverless Functions and map your services to the domain you need to allocate to your functions.

Triggers

Trigger your function using synchronous HTTP calls to the function URL, Schedule execution using CRON or start your function asynchronously using message queues and event-driven patterns.

Security

Serverless Functions provides a secure-by-default environment by managing all underlying infrastructure, including OS patching and security configurations. Each service runs within a strong sandbox for kernel-level isolation from other workloads. You can use VPC Service Controls to create a security perimeter and use secrets for sensitive data.

Easy start with great UX

Manage your services by making development logic more flexible

Go to pricing

Why choose Scaleway?

Our European, multi-cloud & open source DNA

Based in France with builders and customers all over the world, our services are located within the European Union and protected by its regulations.

Sustainable by design

100% of electricity consumed in our data centers comes from renewable energy. Decommissioned hardware are securely reused & recycled.

24/7 Ticket support

Our technical assistance is available 24/7 to answer all your questions and assist you. Upgrade your support plan to reach our assistance team directly by phone.

Transparent & predictable billing

Our services are designed to offer you the best price/performance ratio, with straightforward billing to grow your business and keep your expenses under control.

Changelog

Serverless Functions

  • fixed

    Improved memory metric accuracy for sandbox v2

    We have implemented a fix to improve the accuracy of memory usage metrics for Serverless Functions services. This update resolves a previous reporting inconsistency to ensure that metrics more precisely reflect actual resource consumption.

    • What changed: We refined the underlying calculation used to report memory usage.

    • What to expect: You may notice that memory metrics in your dashboards and views appear slightly lower than before. This is an expected result of the improved measurement accuracy, and does not indicate a change in your application's actual performance or resource allocation.

    • Scope: This fix applies exclusively to services using sandbox v2.

    No action is required on your part.

  • changed

    Environment variables and secret variables limit increase

    The maximum number of environment variables and secret environment variables has been increased from 100 to 200.

  • fixed

    Improved cold start for Serverless Functions attached to Private Networks

    Optimizations have been applied to Serverless Functions connected to Private Networks to address significant cold start latency. Startup times have now been reduced.

  • changed

    Serverless Functions - Authentication for private resources via IAM

    Serverless Functions uses a product-specific authentication method based on JWT to authenticate requests for private endpoints. It is now possible to use the new IAM policy FunctionsPrivateAccess.

    Previous authentication method based on JWT will be deprecated gradually. Follow How to migrate from JWT to IAM authentication for private functions.

  • changed

    Serverless Function Test tab Update

    The Testing tab for Serverless Functions has been updated to replace the in-browser test request system with a ready-to-use curl command. This change aims to avoid browser-induced limitations that can cause CORS errors.

View full changelog

Frequently asked questions

What is Scaleway Serverless Functions?

SouthShortIcon

Serverless Functions is a service which enables you to execute small components (functions, code snippets) in the cloud with no need for server management.

Why should I use Serverless Functions?

SouthShortIcon

If you want to deploy simple functions or components (either in a microservices application, to automate cloud operation, or to connect services) then Serverless Functions is for you!”

What use cases does Scaleway Serverless Functions support?

SouthShortIcon

We recommend using Scaleway Serverless Functions to handle asynchronous tasks such as media or data transformation, infrastructure management automation. If your use case requires low latency, you can provision resources using the minimum scale feature.

Can I deploy Serverless Functions using serverless.com?

SouthShortIcon

We created a plugin that enables you to deploy your functions using serverless.com,
read our documentation for more information.

How am I billed for Serverless Functions?

SouthShortIcon

The Serverless Functions pricing scheme has three components:
Number of Requests: Number of times that a request is executed for a given function.
Resources consumption: Every time your function is called, we measure the time taken by your function to handle the request, then multiply it by the chosen memory tiers, in GB.
Provisioned resources: If you want to reduce the cold start latency of your function, you can choose to provision resources by setting a minimum function scale. We will then keep the required number of functions ready to handle incoming requests
Read our documentation for more information.

What is the Secret Management feature?

SouthShortIcon

Secrets Management enables you to securely integrate sensitive information such as credentials to your functions.

Where can I find the SLA (Service Level Agreement) for this product?

SouthShortIcon

You can find the SLA for this product here.

Get started with tutorials