Skip to content

Commit 96be62b

Browse files
SamyOubouazizthomas-tacquetnerda-codes
committed
docs(srv): add srv x vpc ref content (#5348)
* docs(srv): add srv x vpc ref content * docs(srv): update serverless x VPC doc * Update pages/serverless-containers/reference-content/containers-private-networks.mdx Co-authored-by: Thomas TACQUET <[email protected]> * docs(srv): update serverless x VPC doc * docs(srv): add faas * docs(srv): add faas * Apply suggestions from code review Co-authored-by: Néda <[email protected]> --------- Co-authored-by: Thomas TACQUET <[email protected]> Co-authored-by: Néda <[email protected]>
1 parent 7dc2b58 commit 96be62b

File tree

8 files changed

+92
-32
lines changed

8 files changed

+92
-32
lines changed

menu/navigation.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4567,6 +4567,10 @@
45674567
"label": "Serverless overview",
45684568
"slug": "serverless-overview"
45694569
},
4570+
{
4571+
"label": "Containers and Private Networks integration",
4572+
"slug": "containers-private-networks"
4573+
},
45704574
{
45714575
"label": "Containers limitations",
45724576
"slug": "containers-limitations"
@@ -4731,6 +4735,10 @@
47314735
"label": "Functions runtimes",
47324736
"slug": "functions-runtimes"
47334737
},
4738+
{
4739+
"label": "Functions and Private Networks integration",
4740+
"slug": "functions-private-networks"
4741+
},
47344742
{
47354743
"label": "Functions limitations",
47364744
"slug": "functions-limitations"

pages/organizations-and-projects/additional-content/organization-quotas.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,12 @@ After you order a server from the list of Elastic Metal servers compatible with
333333
The maximum RAM quota is obtained by multiplying the maximum scale factor of your container by the selected RAM quantity.
334334
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.
335335

336+
#### Private Networks (VPC) quotas
337+
338+
| | [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/) |
339+
|-----------------------------------|:----------------------------------------------------------------------------------------------------------: |:------------------------------------------------------------------------------------:|
340+
| Maximum attached Private Networks | 5 | 10 |
341+
336342
## Serverless Functions
337343

338344
<ComputeServerlessFunctions />
@@ -354,6 +360,12 @@ For example, if you choose to create a container with 512 MB of memory and a max
354360
The maximum RAM quota is obtained by multiplying the maximum scale factor of your container by the selected RAM quantity.
355361
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.
356362

363+
#### Private Networks (VPC) quotas
364+
365+
| | [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/) |
366+
|-----------------------------------|:----------------------------------------------------------------------------------------------------------: |:------------------------------------------------------------------------------------:|
367+
| Maximum attached Private Networks | 5 | 10 |
368+
357369
## Serverless Jobs
358370

359371
<ComputeServerlessJobs />

pages/serverless-containers/how-to/use-private-networks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ This must be carried out from the VPC section of the console. Follow the procedu
9191

9292
## Private Networks and containers limitations
9393

94-
For more information on limitations when using Private Networks with Serverless Containers, refer to the [dedicated documentation](/serverless-containers/reference-content/containers-limitations/#private-networks-and-virtual-private-cloud-vpc).
94+
For more information on limitations when using Private Networks with Serverless Containers, refer to the [dedicated documentation](/serverless-containers/reference-content/containers-private-networks).

pages/serverless-containers/reference-content/containers-limitations.mdx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -84,21 +84,7 @@ Do not have your containers listen on these ports, as they are used by our servi
8484

8585
## Private Networks and Virtual Private Cloud (VPC)
8686

87-
### Compatibility
88-
89-
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.
90-
91-
### Usage
92-
93-
- Containers in the same namespace can be attached to different Private Networks.
94-
95-
- Attaching Serverless Containers to Private Networks does not entail additional cost.
96-
97-
### Limitations
98-
99-
- 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.
100-
101-
- Only one Private Network can be attached to a container.
87+
Refer to the [dedicated documentation](/serverless-containers/reference-content/containers-private-networks/) on VPC and Serverless Containers integration for more information.
10288

10389
## Default values for CPU and memory limits
10490

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Serverless Containers and Private Networks integration
3+
description: This page contains details on how Serverless Containers interacts with Virtual Private Cloud and Private Networks
4+
dates:
5+
posted: 2025-07-29
6+
validation: 2025-07-29
7+
---
8+
9+
## Compatibility
10+
11+
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.
12+
13+
## Features
14+
15+
- Containers in the same namespace can be attached to different Private Networks.
16+
- Both [sandbox](/serverless-containers/concepts/#sandbox) environments (`V1` and `V2`) are compatible with Private Networks.
17+
- Attaching Serverless Containers to Private Networks **does not incur additional cost**.
18+
- **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 routed through the public endpoint of the container.
19+
- All DNS resolution is done through the Private Network (using the VPC DNS server `169.254.169.254`), which allows to resolve `*.internal` records.
20+
21+
## Quotas
22+
23+
Refer to the [dedicated documentation](/organizations-and-projects/additional-content/organization-quotas/) for more information on Private Networks quotas for Serverless Containers.
24+
25+
## Limitations
26+
27+
- 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.
28+
- Only one Private Network can be attached to a Serverless Container.
29+
- **VPC routing** (custom routes and cross-PN automatic routing) is not supported yet.
30+
- **Ingress** (inbound private traffic from resources to a container within the same Private Network) is not supported yet.
31+
- Each [container instance](/serverless-containers/concepts/#instance) has a unique IP automatically assigned by Scaleway in the Private Network. This implies the following:
32+
- Users **cannot preemptively book an IP** with [IPAM](/ipam/), and reference it in the attachment.
33+
- A single Serverless Container can have a **large number of IPs** being used within the Private Network, depending on the number of concurrent instances.
34+
- **Cold-starts are slightly longer** due to the additional steps required to attach the node to the Private Network and book an IP.

pages/serverless-functions/how-to/use-private-networks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ This must be carried out from the VPC section of the console. Follow the procedu
9191

9292
## Private Networks and functions limitations
9393

94-
For more information on limitations when using Private Networks with Serverless Functions, refer to the [dedicated documentation](/serverless-functions/reference-content/functions-limitations/#private-networks-and-virtual-private-cloud-vpc).
94+
For more information on limitations when using Private Networks with Serverless Functions, refer to the [dedicated documentation](/serverless-functions/reference-content/functions-private-networks/).

pages/serverless-functions/reference-content/functions-limitations.mdx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,7 @@ Due to potential abuse (spam), no outbound traffic is allowed through following
6666

6767
## Private Networks and Virtual Private Cloud (VPC)
6868

69-
### Usage
70-
71-
- Functions in the same namespace can be attached to different Private Networks.
72-
73-
- Attaching Serverless Functions to Private Networks does not entail additional cost.
74-
75-
### Compatibility
76-
77-
Scaleway Serverless Functions 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-functions/how-to/use-private-networks/) for more information.
78-
79-
### Limitations
80-
81-
- VPC works with Namespaces that have **VPC support enabled**. VPC support can only be enabled at [namespace creation](/serverless-functions/how-to/create-manage-delete-functions-namespace/#creating-a-serverless-functions-namespace), and cannot be updated afterward.
82-
83-
- Only one Private Network can be attached to a function.
69+
Refer to the [dedicated documentation](/serverless-functions/reference-content/functions-private-networks/) on VPC and Serverless Functions integration for more information.
8470

8571
## Versioning and rollback
8672

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Serverless Functions and Private Networks integration
3+
description: This page contains details on how Serverless Functions interacts with Virtual Private Cloud and Private Networks
4+
dates:
5+
- posted: 2025-08-04
6+
- validation: 2025-08-04
7+
---
8+
9+
## Compatibility
10+
11+
Scaleway Serverless Functions 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-functions/how-to/use-private-networks/) for more information.
12+
13+
## Features
14+
15+
- Functions in the same namespace can be attached to different Private Networks.
16+
- Both [sandbox](/serverless-functions/concepts/#sandbox) environments (`V1` and `V2`) are compatible with Private Networks.
17+
- Attaching Serverless Functions to Private Networks **does not incur additional cost**.
18+
- **Egress** (outbound private traffic from a function to resources within the same Private Network) will be routed through the private interface, but external traffic (from the Internet) will be routed through the public endpoint of the function.
19+
- All DNS resolution is done through the Private Network (using the VPC DNS server `169.254.169.254`), which allows to resolve `*.internal` records.
20+
21+
## Quotas
22+
23+
Refer to the [dedicated documentation](/organizations-and-projects/additional-content/organization-quotas/) for more information on Private Networks quotas for Serverless Functions.
24+
25+
## Limitations
26+
27+
- VPC works with Namespaces that have **VPC support enabled**. VPC support can only be enabled at [namespace creation](/serverless-functions/how-to/create-manage-delete-functions-namespace/#creating-a-serverless-functions-namespace), and cannot be updated afterward.
28+
- Only one Private Network can be attached to a Serverless Container.
29+
- **VPC routing** (custom routes and cross-PN automatic routing) is not supported yet.
30+
- **Ingress** (inbound private traffic from resources to a function within the same Private Network) is not supported yet.
31+
- Each [function instance](/serverless-functions/concepts/#instance) has a unique IP automatically assigned by Scaleway in the Private Network. This implies the following:
32+
- Users **cannot preemptively book an IP** with [IPAM](/ipam/), and reference it in the attachment.
33+
- A single Serverless Container can have a **large number of IPs** being used within the Private Network, depending on the number of concurrent instances.
34+
- **Cold-starts are slightly longer** due to the additional steps required to attach the node to the Private Network and book an IP.

0 commit comments

Comments
 (0)