Skip to navigationSkip to main contentSkip to footerScaleway DocsAsk our AI
Ask our AI

How to use Private Networks with your Serverless Functions

Private Networks allow your Serverless Functions to communicate in an isolated and secure network without needing to be connected to the public internet. Each function can be connected to one or several Private Networks, letting you build your own network topologies.

For full information about Scaleway Private Networks and VPC, see our dedicated documentation and best practice guide.

Before you start

To complete the actions presented below, you must have:

How to create a Private Network

This action must be carried out from the Private Networks section of the console. Follow the procedure detailed in our dedicated Private Networks documentation.

How to attach a Serverless Function to a Private Network

How to detach a function from a Private Network

  1. Click Functions in the Serverless section of the side menu. The functions page displays.
  2. Click the relevant functions namespace.
  3. Click the name of the function you want to manage.
  4. Open the Settings tab, then scroll to the Advanced options section.
  5. In the Private Networks tab, click the unlink icon icon next to the Private Network attached to your function.
  6. Click Save function settings.

Your function is redeployed and is now detached from the Private Network.

How to delete a Private Network

Note

Before deleting a Private Network, you must detach all resources attached to it.

This must be carried out from the Private Networks section of the console. Follow the procedure detailed in our dedicated Private Networks documentation.

Private Networks and functions limitations

For more information on limitations when using Private Networks with Serverless Functions, refer to the dedicated documentation.

Still need help?

Create a support ticket
No Results