For AI agents: the complete documentation index is available at https://docs.us.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.us.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.us.ovhcloud.com/en/network/load-balancer/create-stickiness.md.
  • English

Tracking connections on the OVHcloud Load Balancer

View as Markdown

The OVHcloud Load Balancer service offers several methods for tracking connections (also known as session persistence or stickiness) to your services.

Each session on the OVHcloud Load Balancer service is maintained by a persistent connection system. The system is configured on the application layer of the OVHcloud Load Balancer service to ensure persistent connections to the server.

 

Requirements

 

Instructions

The different types of connection tracking

Two main connection tracking methods can be configured on your services:

Tracking connectionsDetails
CookieConfigures a session cookie, which will be used to distribute traffic from a single HTTP session to the same server in the cluster.
SourceIpA hash algorithm will be applied to the source IP address of the request received by the OVHcloud Load Balancer. This ensures the same client IP is consistently routed to the same server.

The following elements will affect traffic redirection:

  • if the configured weight changes
  • if a server in the cluster is re-enabled
  • if a server in the cluster is no longer responding
Warning

NOTE: Once you have refreshed your configuration, the connections will be rebalanced, and your HTTP sessions will be lost as a result.

 

View details of a server cluster

Via the OVHcloud Control Panel
Via the OVHcloud API

From the OVHcloud Control Panel:

  1. Select Bare Metal Cloud from the top navigation bar.
  2. Expand the Network section in the left-hand menu.
  3. Click Load Balancer and choose your Load Balancer service.
  4. Select the Server cluster tab.

Server cluster tab empty

 

Modify a server cluster's connection tracking method

Via the OVHcloud Control Panel
Via the OVHcloud API

Click the more options ... button to the right of the server cluster you wish to modify and choose Edit from the menu.

Server cluster more options

On the next screen, you can modify session tracking in the Advanced settings area. Once you have finished your configuration, click Update.

Server cluster advanced settings

 

Apply the modifications

Via the OVHcloud Control Panel
Via the OVHcloud API

Finalize your changes by clicking Apply configuration in the yellow banner.

On the next screen, select ☑ your Datacenter and click Apply configuration.

Apply configuration page

 

Go further

Browse all the Load Balancer guides.

Browse the rest of the OVHcloud US documentation for guides on our other products and services.

Learn more about Load Balancer on the OVHcloud US website.