--- title: "Deploy a Load Balancer" description: "Deploy a load balancer, choose its distribution algorithm and sticky sessions, find its floating IPs, and know what to configure after deploy." category: "Deployment" language: en source: https://cubepath.com/docs/products/deployment/deploy-a-load-balancer updated: 2026-11-17 --- # Deploy a Load Balancer Create a Load Balancer from the **Deploy Load Balancer** page in [my.cubepath.com](https://my.cubepath.com). Deploy is quick: you add listeners and backend targets afterwards from the load balancer's tabs. > Note: Your account must be [verified](/docs/products/overview/account-setup) before you can deploy. ## What it's for A load balancer gives you **one stable public address** in front of several servers, and stops sending traffic to any of them that fails a health check. That buys two things at once: you can lose a backend without losing the service, and you can add or remove backends without touching DNS. Traffic comes in through **listeners** (a port the load balancer accepts traffic on) and goes out to **targets** (the servers that answer it). ## Deploy ```steps ### Pick region Choose a **region**. Load Balancers are available in **Miami (MIA)**, **Houston (HOU)** and **Barcelona (BCN)**. ### Choose a plan Each plan sets the maximum **targets**, **listeners** and **connections per second**, with monthly and hourly pricing shown. ![Load balancer plans with targets, listeners and connections per second](https://cdn.cubepath.com/img/docs/products/2b31eb8f-b766-49e7-9711-c3cac27356ff.png) ### Attach a private network (optional) Open **Advanced Settings** and attach a **private network** so the load balancer reaches targets by their private IP. Targets must be on the same network. ### Name and deploy Set the **name** (and optional **label**), then click **Deploy**. ``` > Important: Listeners, backend targets and health checks are configured **after** deploy, from the [Listeners](/docs/products/deployment/lb-listeners) tab, not during creation. A freshly deployed load balancer accepts no traffic until you add a listener. ## Distribution algorithm Each listener has its own algorithm for spreading traffic across its targets. New listeners use **Round Robin**; to change it, use **Edit Listener** on the [Listeners](/docs/products/deployment/lb-listeners) tab. | Algorithm | How it behaves | Use it when | |-----------|----------------|-------------| | **Round Robin** | Each new connection goes to the next target in turn | Backends are identical and requests cost roughly the same | | **Least Connections** | New connections go to the target holding the fewest | Request duration varies a lot: long-lived connections, streaming, slow queries | Round robin is the sensible default. Least connections is what you want the moment some requests take far longer than others, because round robin will happily pile new work onto a backend that's already stuck on ten slow requests. ## Sticky sessions **Sticky sessions** route repeat requests from the same client to the same target, using a cookie you name and a **TTL** you set (how many seconds the client stays on that target). You turn them on per HTTP or HTTPS listener, when you create or edit it. Turn it on when your application keeps session state in memory on each server. Better still, build the application so it doesn't need it: an application that keeps sessions in a shared store (a [managed Valkey](/docs/products/deployment/deploy-a-managed-database), for example) load balances cleanly, survives a backend dying without logging everyone out, and lets you scale without reshuffling users. > Note: With stickiness on, removing a target logs out the clients pinned to it. Weigh that against the convenience. ## Floating IP The load balancer gets its public **IPv4** and **IPv6** addresses automatically when you deploy it. They're [floating IPs](/docs/products/security/floating-ips), listed on the [Network](/docs/products/deployment/lb-network) tab, and they're the addresses your DNS points at. Deleting the load balancer releases those addresses. If you delete it and create a new one, the new one isn't guaranteed the same addresses, so be ready to update your DNS. ## The load balancer tabs [Listeners](/docs/products/deployment/lb-listeners), [Network](/docs/products/deployment/lb-network), [Metrics](/docs/products/deployment/lb-metrics), [Activity](/docs/products/deployment/lb-activity) and [Resize](/docs/products/deployment/lb-resize).