Sidebar navigationMain contentFooter
Jump toContribute on Github

How to use your Load Balancer with a Private Network

Reviewed on 19 September 2023Published on 26 May 2021

The Private Network feature of the managed Load Balancers product lets you attach your Load Balancer to up to eight different Private Networks. Scaleway Private Networks allow your cloud resources to communicate in an isolated and secure network. Load Balancers using Private Networks can communicate with their backend servers without using the public internet.

Private Load Balancers must be connected to a Private Network in order to be functional, as they do not have a public IP address and can only receive requests from other resources on the Private Network. This is in contrast to public Load Balancers, which are accessible for requests via the internet through their public IP address, but can optionally use Private Networks to communicate with their backend servers. The procedure for attaching either a public or a private Load Balancer to a Private Network is the same, and described below.

Security & Identity (IAM)

To perform certain actions described below, you must either be the Owner of the Organization in which the actions will be performed, or an IAM user with the necessary permissions.

Requirements
  • You have an account and are logged into the Scaleway console
  • You have created a Load Balancer
  • You have created a Private Network

How to attach a Private Network to your Load Balancer

  1. Click Load Balancers in the Network section of the Scaleway console side menu. The Load Balancer dashboard displays.

  2. Click on the Load Balancer that you want to add to a Private Network. The Load Balancer’s overview page displays.

  3. Click the Private Networks tab.

  4. Click Attach to a Private Network. A pop-up displays.

  5. Select whether to attach to a new Private Network, or an existing one.

  6. Click Attach to Private Network to validate the form. The Private Network is attached to the Load Balancer and displays in the Private Network tab.

    To attach several Private Networks to your Load Balancer, repeat the steps above for each of them. To see the Load Balancer’s IP address on the Private Network, follow this procedure.

    Note

    Previously it was possible to set a static private IP address for your Load Balancer when attaching it to the Private Network. This feature is now deprecated, as VPC is in general availability and managed DHCP is offered as default on Private Networks. When you attach your Load Balancer to a Private Network, the network will always use DHCP mode to assign the Load Balancer’s IP address, via Scaleway’s internal IPAM.

How to detach a Private Network from your Load Balancer

  1. Click Load Balancers in the Network section of the Scaleway console side menu. The Load Balancer overview page displays.
  2. Click on the Load Balancer that you want to detach from a Private Network.
  3. Click the Private Networks tab. The list of Private Networks attached to your Load Balancer displays.
  4. Click the «Unlink Icon» button next to the Private Network that you want to detach from the Load Balancer.

The Private Network is detached from the Load Balancer, and disappears from the Private Network tab.

See also
How to create and manage routesHow to set up an S3 failover
Cloud Products & Resources
  • Scaleway Console
  • Compute
  • Storage
  • Network
  • IoT
  • AI
Dedicated Products & Resources
  • Dedibox Console
  • Dedibox Servers
  • Network
  • Web Hosting
Scaleway
  • Scaleway.com
  • Blog
  • Careers
  • Scaleway Learning
Scaleway Docs
Follow us
FacebookTwitterSlackInstagramLinkedin
ContractsLegal NoticePrivacy PolicyCookie PolicyDocumentation license
© 1999-2024 – Scaleway SAS