Getting Started with Scaleway Elements Serverless Functions

Serverless Overview

Scaleway Elements Serverless Platform allows you to deploy your Functions (FaaS) and Containerized Applications (CaaS) in a managed infrastructure. Benefit from a constant availability, everywhere.

Scaleway ensures deployment, availability, scalability which allows you to save money and time. You can focus on software development instead of devOps missions.

Requirements

Operation Procedures

Several operations can be performed on the Serverless Functions Plattform, including:

Tip: See our additional documentation on Managing Functions for information on further operations beyond those included in this document.

Creating a Function Namespace

A Function Namespace is a project that allows you to group your functions. In addition, you can share between all your applications, the environment variables (configuration setups) that are stored in the namespace’s scope.

In the side menu, click Functions. If you do not have a Function Namespace already created, the product presentation is displayed:

1 . Click Create a Namespace. The creation page displays.

2 . Enter a name for the Function Namespace and add an optional description to ease the management of your namespaces.

3 . Choose a Region in which your Namespace will be deployed.

4 . (Optional) Set environment variables. Environment variables configured in a namespace will be available in all functions/apps within the same namespace. Click on + Add to define these variables:

5 . Click on Create a Namespace to deploy it.

Managing a Function Namespace

1 . In the side menu, click Functions to enter the corresponding section of the console.

2 . In the list of your Functions Namespaces, choose the namespace you want to use.

3 . Click on Namespace Settings in the horizontal menu on the top of the page.

4 . The Namespace Information displays. You can find information about the region, registry endpoint and an optional description:

5 . (Optional) Add additional environment variables to your Function Namespace. Environment variables configured in a namespace will be available in all functions/apps within the same namespace. Click on + Add to define these variables:

6 . Click Save to confirm these changes and to save your configuration.

Deleting a Function Namespace

In case a Function Namespace is no longer needed, it can be deleted from the Scaleway console.

1 . In the side menu, click Functions to enter the corresponding section of the console.

2 . In the list of your Functions Namespaces, choose the namespace you want to use.

3 . Click on the Namespace settings tab.

5 . Click on Delete namespace to delete the namespace.

6 . Confirm its deletion by typing the word Delete in the popup. Then click on Delete this namespace. Be careful, as this is irreversible. All data will be destroyed.

Managing Functions

The Scaleway Elements console provides further options to create and manage functions in your Function namespace: Discover how to manage functions on Scaleway Elements Functions

Going Further

Discover the Cloud That Makes Sense