Skip to main content

Configure sticky sessions for your load balancers

Reviewed on · View on GitHub

You can configure sticky sessions — stickiness — for your load balancers to ensure that all the requests from the same client are directed to the same backend VM (Virtual Machine) for the duration of the session.

Permissions​

info

This action requires the following IAM (Identity and Access Management) permissions:

  • compute.loadBalancer.update
  1. From the left-hand side menu, click Network → Load Balancers to access the list of load balancers.
  2. Click the name of the load balancer for which you want to configure sticky sessions.
  3. In the "Policies" tab, click Create a policy.
  4. Configure the parameters of the stickiness policy.
  5. Click Create. The stickiness policy is created and associated with the load balancer.
Was this page helpful?