Load balancing
Spread traffic across machines and take unhealthy ones out.
At a glance
- Protocols
- TCP, HTTP and HTTPS
- Types
- lb11, lb21, lb31, application, dedicated
- TLS
- Certificates issued for you, or your own
- Private
- Dedicated balancers can be private to a VPC
What it does
- TLS termination
- Terminate HTTPS with a certificate the platform issues for names in your hosted zones, or upload your own. Redirect HTTP to HTTPS and keep sessions sticky.
- Host and path rules
- An application load balancer routes by host name and path to up to ten target groups, with access logs and live numbers.
- Web application firewall
- Attach a web ACL to an application load balancer: managed rules against injection and scanners, IP and country rules, and rate limits.
- Health checks
- Every target is checked on its own. A target that fails is taken out of rotation until it answers again.
- Machines or IP addresses
- Add machines by reference or any IP address as a target, choose round robin or least connections, and pass the client address on with the PROXY protocol.
Command line
Create a load balancer, add an HTTPS service and a target.
$ dcloud lb load-balancers create --name web --type lb11 --region-id de1
$ dcloud lb services add <lb> --protocol https --source-port 443 --destination-port 8080
$ dcloud lb targets add <lb> --type server --instance-id <instance> Price
As of 19 November 2026
Each load balancer is billed per hour of its type, never more in a month than its monthly price.
| What | Price | Unit |
|---|---|---|
| Load balancer lb11 † | €0.0112 | per hour, at most €6.99 a month |
| Load balancer lb21 † | €0.0336 | per hour, at most €20.99 a month |
| Load balancer lb31 † | €0.0681 | per hour, at most €42.49 a month |
| Application load balancer | €0.00684 | per hour, at most €4.99 a month |
| Dedicated load balancer | €0.00958 | per hour, at most €6.99 a month |
| Web application firewall | €0.00411 | per web ACL-hour, at most €3.00 a month |
† Charged after notice: metered today and shown in the console with what it would cost. It appears on invoices from a date we announce in advance, never retroactively.
Documentation
Related: Compute, CDN and WAF, DNS, App deployment.