Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 4 additions & 0 deletions menu/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -4509,6 +4509,10 @@
"label": "Serverless overview",
"slug": "serverless-overview"
},
{
"label": "Containers and Private Networks integration",
"slug": "containers-private-networks"
},
{
"label": "Containers limitations",
"slug": "containers-limitations"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,12 @@ After you order a server from the list of Elastic Metal servers compatible with
The maximum RAM quota is obtained by multiplying the maximum scale factor of your container by the selected RAM quantity.
For example, if you choose to create a container with 512 MB of memory and a maximum scale of 20, you will have 10 GB RAM.

#### Private Networks (VPC) quotas

| | [Payment method validated](/billing/how-to/add-payment-method/#how-to-add-a-credit-card) | Payment method and [identity validated](/account/how-to/verify-identity/) |
|-----------------------------------|:----------------------------------------------------------------------------------------------------------: |:------------------------------------------------------------------------------------:|
| Maximum attached Private Networks | 5 | 10 |

## Serverless Functions

<ComputeServerlessFunctions />
Expand All @@ -354,6 +360,12 @@ For example, if you choose to create a container with 512 MB of memory and a max
The maximum RAM quota is obtained by multiplying the maximum scale factor of your container by the selected RAM quantity.
For example, if you choose to create a container with 512 MB of memory and a max scale of 20, you will have 10 GB RAM.

#### Private Networks (VPC) quotas

| | [Payment method validated](/billing/how-to/add-payment-method/#how-to-add-a-credit-card) | Payment method and [identity validated](/account/how-to/verify-identity/) |
|-----------------------------------|:----------------------------------------------------------------------------------------------------------: |:------------------------------------------------------------------------------------:|
| Maximum attached Private Networks | 5 | 10 |

## Serverless Jobs

<ComputeServerlessJobs />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,7 @@ Do not have your containers listen on these ports, as they are used by our servi

## Private Networks and Virtual Private Cloud (VPC)

### Compatibility

Scaleway Serverless Containers support [Virtual Private Cloud (VPC)](/vpc/) and can be attached to a Private Network, which allows you to securely connect your resources in an isolated environment. Refer to the [dedicated documentation](/serverless-containers/how-to/use-private-networks/) for more information.

### Usage

- Containers in the same namespace can be attached to different Private Networks.

- Attaching Serverless Containers to Private Networks does not entail additional cost.

### Limitations

- VPC works with Namespaces that have **VPC support enabled**. VPC support can only be enabled at [namespace creation](/serverless-containers/how-to/create-manage-delete-containers-namespace/#creating-a-serverless-containers-namespace), and cannot be updated afterward.

- Only one Private Network can be attached to a container.
Refer to the [dedicated documentation](/serverless-containers/reference-content/containers-private-networks/) on VPC and Serverless Containers integration for more information.

## Default values for CPU and memory limits

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: Serverless Containers and Private Networks integration
description: This page contains details on how Serverless Containers interacts with Virtual Private Cloud and Private Networks
dates:
- posted: 2025-07-29
- validation: 2025-07-29
---

## Compatibility

Scaleway Serverless Containers support [Virtual Private Cloud (VPC)](/vpc/) and can be attached to a Private Network, which allows you to securely connect your resources in an isolated environment. Refer to the [dedicated documentation](/serverless-containers/how-to/use-private-networks/) for more information.

## Features

- Containers in the same namespace can be attached to different Private Networks.
- Both [sandbox](/serverless-containers/concepts/#sandbox) environments (`V1` and `V2`) are compatible with Private Networks.
- Attaching Serverless Containers to Private Networks **does not entail additional cost**.
- **Egress** (outbound private traffic from a container to resources within the same Private Network) will be routed through the private interface, but external traffic (from the Internet) will be through the public endpoint of the container.
- All DNS resolution is done through the Private Network (using the VPC DNS server `169.254.169.254`), which allows to resolve `*.internal` records.

## Quotas

Refer to the [dedicated documentation](/organizations-and-projects/additional-content/organization-quotas/) for more information on Private Networks quotas for Serverless Containers.

## Limitations

- VPC works with Namespaces that have **VPC support enabled**. VPC support can only be enabled at [namespace creation](/serverless-containers/how-to/create-manage-delete-containers-namespace/#creating-a-serverless-containers-namespace), and cannot be updated afterward.
- Only one Private Network can be attached to a container.
- **VPC routing** (custom routes and cross-PN automatic routing) is not supported yet.
- **Ingress** (inbound private traffic from resources to a container within the same Private Network) is not supported yet.
- Each [container instance](/serverless-containers/concepts/#instance) has a unique IP automatically assigned by Scaleway in the Private Network. This implies the following:
- Users **cannot preemptively book an IP** with [IPAM](/ipam/), and reference it in the attachment.
- A single Serverless Container can have a **large number of IPs** being used within the Private Network, depending on the number of concurrent instances.
- **Cold-starts are slightly longer** due to the additional steps required to attach the node to the Private Network and book an IP.