Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions pages/serverless-containers/how-to/deploy-container.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ title: How to deploy a container
description: Deploy containers from the Scaleway Container Registry or from external public registries.
tags: deploy container create scaleway-registry docker image external registry public
dates:
validation: 2025-09-02
validation: 2025-12-04
posted: 2021-05-26
---
import Requirements from '@macros/iam/requirements.mdx'
import ContainerRegistryNote from '@macros/serverless/container-registry-note.mdx'


This page shows you how to deploy Serverless Containers using the [Scaleway console](https://console.scaleway.com/).

You can deploy a container from the [Scaleway Container Registry](/container-registry/quickstart/), or any other public container registry, such as Docker Hub, AWS Container registries, GitLab container registry, etc.
Expand All @@ -31,9 +30,9 @@ You can deploy a container from the [Scaleway Container Registry](/container-reg

1. Select the **Scaleway** Container Registry.

2. Choose an [image](/serverless-containers/concepts/#container-image) from your Container Registry.
2. Select the required Container Registry region and namespace from the drop-down lists.

3. Select the required Container Registry namespace from the drop-down list, then select the container and tag.
3. Choose an [image](/serverless-containers/concepts/#container-image) from your Container Registry, then select the container and tag.

4. Choose the [port](/serverless-containers/concepts/#port) your container is listening on. We recommend configuring your container to listen on the `$PORT` environment variable.

Expand Down Expand Up @@ -61,6 +60,11 @@ In the **Advanced options** section, set the following:
Encode your environment variables and secrets to `base64` if they are too large, and contain carriage returns.
</Message>
</TabsTab>
<TabsTab label="Private Networks">
Configure the Private Network for the container to ensure secure and isolated network communication. Click **Select a Private Network** to:
- Attach an existing Private Network (VPC) within the same Availability Zone from the drop-down menu.
- Create a new Private Network and attach it to the container.
</TabsTab>
<TabsTab label="Security">
- Set the desired [privacy policy](/serverless-containers/concepts/#privacy-policy) for your container. This defines whether container invocation may be done anonymously (**public**) or only via an authentication mechanism provided by the [Scaleway API](https://www.scaleway.com/en/developers/api/serverless-containers/#authentication) (**private**).
- Tick the box under **HTTPS connections only** to prevent your container from being called from insecure HTTP connections. All HTTP traffic will be redirected to HTTPS.
Expand Down
2 changes: 1 addition & 1 deletion pages/serverless-containers/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ If you have no existing Serverless Containers resources in your current Project,
</Message>
5. Complete the following steps in the wizard:
- Select the **Scaleway** Container Registry.
- Select the appropriate **Registry namespace** from the drop-down list, and then select the `nginx` **container** and `latest` **tag**.
- Select the appropriate **Registry region** and **Registry namespace** from the drop-down lists, and then select the `nginx` **container** and `latest` **tag**.
- Set the **port** to `80`.
- Enter a **name** or use the automatically generated one. The name can only contain lowercase alphanumeric characters and dashes.
- Enter a **description** (optional).
Expand Down