Skip to content

Commit 5fdaeff

Browse files
committed
feat(srv): update
1 parent fd4a8a2 commit 5fdaeff

File tree

6 files changed

+37
-11
lines changed

6 files changed

+37
-11
lines changed

menu/navigation.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4385,6 +4385,10 @@
43854385
"label": "Secure a container",
43864386
"slug": "secure-a-container"
43874387
},
4388+
{
4389+
"label": "Use Private Networks",
4390+
"slug": "use-private-networks"
4391+
},
43884392
{
43894393
"label": "Test a container",
43904394
"slug": "test-a-container"

pages/serverless-containers/concepts.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,21 @@ Refer to the [dedicated documentation](/serverless-containers/reference-content/
181181

182182
A container's privacy policy defines whether a container may be invoked anonymously (**public**) or only via an authentication mechanism provided by the [Scaleway API](https://www.scaleway.com/en/developers/api/serverless-containers/#authentication) (**private**).
183183

184-
## Private Networks compatibility
184+
## Private Networks
185185

186-
Refer to the [dedicated FAQ](/serverless-containers/faq/#how-can-i-configure-access-to-a-private-network-or-virtual-private-cloud-vpc) for more information on Serverless Containers compatibility with Private Networks and [Virtual Private Cloud (VPC)](/vpc/).
186+
Scaleway Serverless Containers support Private Networks.
187+
188+
Private Networks let you connect Scaleway resources across multiple AZs within the same region. Attached resources can then communicate between themselves in an isolated and secure layer 2 network, away from the public internet.
189+
190+
**D**ynamic **H**ost **C**onfiguration **P**rotocol (DHCP) is built into each Private Network, making it easy to manage the private IP addresses of your resources on the network.
191+
192+
Read our dedicated documentation on [creating a Private Network](/vpc/how-to/create-private-network/).
193+
194+
<Message type="note">
195+
Previously, Private Networks at Scaleway were zoned. Only resources from within one defined AZ could be attached to each network. Now, all Private Networks are regional, and resources from any AZ within that network's region can be attached. "Old" zoned Private Networks have all been automatically migrated to become regional.
196+
197+
While DHCP is built into all new Private Networks, it may not be automatically activated for older Private Networks. Check our [migration](/vpc/reference-content/vpc-migration/) documentation for more information.
198+
</Message>
187199

188200
## Queue trigger
189201

pages/serverless-containers/faq.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ Yes, you can [redirect all inbound HTTP connections to HTTPS](/serverless-contai
229229

230230
### Can I whitelist the IPs of my containers?
231231

232-
Serverless Containers does not yet support Private Networks. However, you can use the Scaleway IP ranges defined at [https://www.scaleway.com/en/peering/](https://www.scaleway.com/en/peering/) on Managed Databases and other products that allow IP filtering.
232+
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-functions/how-to/use-private-networks/) for more information.
233233

234234
### Which protocols are supported by Serverless Containers?
235235

@@ -243,9 +243,7 @@ Containers use **http1** by default, yet the gRPC protocol requires `http2`. You
243243

244244
### How can I configure access to a Private Network or Virtual Private Cloud (VPC)?
245245

246-
Scaleway Serverless Containers does not currently support Scaleway VPC or Private Networks, though this feature is under development.
247-
248-
To add network restrictions on your resource, refer to the [list of prefixes used at Scaleway](https://www.scaleway.com/en/peering/). Serverless resources do not have dedicated or predictable IP addresses.
246+
Scaleway Serverless Functions support [Virtual Private Cloud (VPC)](/vpc/) and can be attached to a Private network. Refer to the [dedicated documentation](/serverless-functions/how-to/use-private-networks/) for more information.
249247

250248
### Can I use my own TLS certificates for custom domains?
251249

@@ -290,6 +288,6 @@ Further integrations are also possible even if not listed above, for example, [S
290288

291289
You cannot use Serverless Containers with Edge Services because there are no native integrations between the two products yet.
292290

293-
### Can I use the IP address of a Serverless Function?
291+
### Can I use the IP address of a Serverless Container?
294292

295293
By design, it is not possible to guarantee static IPs on Serverless compute resources.

pages/serverless-containers/how-to/create-manage-delete-containers-namespace.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ This page shows you how to create and manage a Serverless Containers namespace.
2929
- Enter a **name** or use the automatically generated one. The name must only contain alphanumeric characters and dashes.
3030
- Enter an optional **description** and **tags**.
3131
- Choose a **region**, which is the geographical location in which your namespace will be deployed.
32+
- Tick the **Enable VPC support** if you want to create containers within this namespace that you can attach to a [Private Network](/serverless-functions/concepts/#private-networks).
3233
- Enter any **environment variables** required for your namespace. Environment variables configured in a namespace will be available in all containers/apps within the same namespace. For each environment variable, click **+ Add new variable** and enter the key / value pair.
3334
- Set secret environment variables (optional). **Secrets** are environment variables that are injected into your container and stored securely, but not displayed in the console after initial validation. Add a **key** and a **value**.
3435
- Verify the **estimated cost**.

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

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ This section contains usage limits that apply when using Serverless Containers.
3535
| Secret environment variables | Max size | 65536 bytes | Secret environment variable |
3636
| Time before scale to zero | Time | 15 minutes | Instance |
3737
| Time before scale down | Time | 30 seconds | Instance |
38-
| Max HTTP request duration\*** | Max | 60 minutes | Request |
38+
| HTTP request duration\*** | Max | 60 minutes | Request |
39+
| Private Networks attached | Max | 1 | Container |
3940
| Logs | Logs | 30000 per minute | Project |
4041

4142
\* Lower limits may apply before account verification. Contact our support team if you have any questions.
@@ -87,9 +88,19 @@ Do not have your containers listen on these ports, as they are used by our servi
8788

8889
**Not available:** Serverless products are designed to abstract away infrastructure management, to be easily scalable, and to be cost-efficient and simple. So dedicated IPs are not supported for this product.
8990

90-
## Private Network and Virtual Private Cloud (VPC) compatibility
91+
## Private Networks and Virtual Private Cloud (VPC)
9192

92-
Refer to the [dedicated FAQ](/serverless-containers/faq/#how-can-i-configure-access-to-a-private-network-or-virtual-private-cloud-vpc) for more information on Serverless Containers compatibility with Private Networks and [Virtual Private Cloud (VPC)](/vpc/).
93+
### Compatibility
94+
95+
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.
96+
97+
### Limitations
98+
99+
- VPC is only compatible with containers using [sandbox](/serverless-containers/reference-content/container-sandbox/) V1 for the moment.
100+
101+
- 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-containers-namespace/#creating-a-serverless-containers-namespace), and cannot be updated afterward.
102+
103+
- Only one Private Network can be attached to a function.
93104

94105
## Default values for CPU and memory limits
95106

pages/serverless-functions/how-to/create-manage-delete-functions-namespace.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This page shows you how to create, manage, and delete a Functions namespace usin
3232
- Enter a **name** or use the automatically generated one. The name can only contain lowercase alphanumeric characters and dashes.
3333
- Enter an optional **description** and **tags**.
3434
- Choose a **region**, which is the geographical location in which your namespace will be deployed.
35-
- Tick the **Enable VPC support** if you want to create functions within this namespace that you can attach to a [Private Network](/serverless-functions/concepts/#private-networks)
35+
- Tick the **Enable VPC support** if you want to create functions within this namespace that you can attach to a [Private Network](/serverless-functions/concepts/#private-networks).
3636
- Click **+ Add advanced options** to define any **environment variables** you want to inject into your function. For each environment variable, click **+ Add variable** and enter the key/value pair.
3737
- Set optional secret environment variables. **Secrets** are environment variables which are injected into your function and stored securely, but not displayed in the console after initial validation. Add a **key** and a **value**.
3838
4. Click **Create namespace only** to finish, or click **Create namespace and add a function** if you want to [create a function](/serverless-functions/how-to/create-a-function/) next.

0 commit comments

Comments
 (0)