Managing Containers - Scaleway Elements Serverless

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 container operations can be performed on the Serverless Plattform, these include:

Deploying a Container

Containers allow you to control your production environment. We provide you with custom Docker images that are entirely handled for you in the cloud. With Containers, you can rely on your favorite technologies such as Django or Ruby On Rails.

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

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

3 . Click Deploy a Container to display the container creation page.

4 . Choose a name for the container. Optionally enter a description to facilitate the management of it.

5 . Optionally set environment variables for the container. Container environment variables will be injected in the container together with the namespace’s variables.

6 . Assign resources. Resources define the performance characteristics of your container. They are allocated to your container at runtime.

7 . Set the container privacy policy. It can either be Public or Private.

Note: Setting a container to Private will not take care of the actual authentication, as token validation is done at function runtime. For further information refer to the developers documentation

8 . If required, configure advanced options like triggers. Adding triggers to your container will make it possible for you to handle events coming from other sources, such as CRON (time-based jobs).

9 . Click on Create a container to deploy it.

Managing a Container

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

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

The list of your containers displays.

3 . Click on the name of the container you want to manage.

4 . The container endpoint is listed on the container information page. If required, you can modify the resources allocated to a container, update its resource allocation, or configure environment variables.

5 . Click on Deploy a container to download the latest version of the container from the container registry and to deploy the application.

Modifying a Containers Privacy Policies

Privacy Policies define whether a container can be executed anonymously, or protected via an authentication mechanism provided by Scaleway.

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

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

The list of your containers displays.

3 . Click on the name of the container you want to manage.

4 . Click on the Container Settings tab.

5 . Set the privacy policy for the container. It can either be Public or Private.

Note: Setting a container to Private will not take care of the actual authentication, as token validation is done at function runtime. For further information refer to the developers documentation

Deleting a Container

If a container is no longer needed, it can be deleted from the Scaleway console.

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

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

3 . The list of your containers displays. Click on the container you want to delete:

4 . Click on the Container Settings tab.

5 . Click on Delete container to delete the container. Be careful as this is irreversible. All data will be destroyed.

Related documentations

Discover the Cloud That Makes Sense