For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.ovhcloud.com/en/guides/public-cloud/network-services/getting-started-load-balancer.md.
Skip to content

Getting started with Load Balancer on Public Cloud

View as Markdown

Discover how to launch a Load Balancer on Public Cloud

Objective

Our Public Cloud Load Balancer is based on OpenStack Octavia and is fully integrated into the Public Cloud universe.

Learn how to configure an OVHcloud Load Balancer with the help of this guide.

Requirements


OVHcloud Console Access

  • Direct link:
  • Navigation path: Public Cloud > Select your project > Network > Load Balancer

Instructions

Creating the Load Balancer

OVHcloud Console
OVHcloud API
OVHcloud CLI
Terraform
OpenStack CLI

Click Load Balancer (under Network) in the left menu, then click the Create a Load Balancer button.

The configuration page opens. All settings are on this single page.

Step 1: Name

Enter a Load Balancer name (letters, digits, dots, hyphens and underscores, 70 characters maximum).

Step 2: Region choice

  1. Filter by deployment mode: Region 1-AZ (single availability zone), Region 3-AZ (spread across three availability zones for high availability) or Local Zone.
  2. Select a region: choose the region where your private network and its subnet are located.

Step 3: Size choice

In Choose the size of the Load Balancer, select the size. The help panel contains a link to the product page on which the characteristics / benchmark of all sizes are provided.

Step 4: Select the private network and the subnet where the Load Balancer will be spawned

In Select a private network, choose the Private network and the Subnet. If the selected subnet has no Gateway and you attach a public IP, a Gateway will be created automatically. The interface will inform you if the private network / subnet is not compliant with the prerequisites (see Public Cloud Networking concepts).

Step 5: Attach a public IP (or not)

At this stage, you need to know if your Load Balancer will be receiving public traffic or not (for more details, read our Public Cloud Networking concepts page).

If your Load Balancer is processing public traffic, enable Attach a public IP (Floating IP), then choose one of the 2 options:

  • Create a new floating IP: This option will create a new Floating IP for your Load Balancer.
  • Reuse an existing floating IP: If you already have a Floating IP in this region, select it.

If your Load Balancer is processing private traffic, leave Attach a public IP (Floating IP) disabled: your Load Balancer will only be accessible from a private network.

Step 6 (optional): Define the listener(s) and the members

In the Add instances section, click Add a listener.

  • First, choose the listener protocol & the port according to the traffic you will receive. Note that a specific listener called Prometheus is available to monitor your Load Balancer. In that case, it is not possible to add members. For more information on this listener, read the Monitor your Public Cloud Load Balancer with Prometheus guide.
  • Then, choose the Health Monitor type in Select a health monitor. Note that since some health monitor types are not compatible with some protocols, the user interface filters those types so that you can only choose compatible items. For more information on the health monitor compatibility, read the Public Cloud Networking concepts guide.
  • Finally, click Add an instance to choose, from the instances of your region, the members that will be part of the pool, with their Instance port.
Info

In order to simplify the Load Balancer configuration workflow, it is only possible to have a pool with the same protocol as the listener and the member can only be chosen from the instance. Furthermore the pool load balancing algorithm is by default set to ROUND_ROBIN. Those limitations can be bypassed by skipping this part of configuration and use the pool / member configuration once the Load Balancer is created.

Step 7: Create the Load Balancer

Check the summary, then click Create a Load Balancer.

You will be redirected to the Load Balancer listing page. Among the attributes that are displayed, the operating status and the Provisioning status provide information on the state of your load balancer. Find more information on the "Load Balancer concepts" page.

Go further

Official documentation of OpenStack Octavia

Cookbook OpenStack Octavia

For training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to request a quote and have your project analysed by our experts.

Join our community of users.

Was this page helpful?