Load Balancers
Load Balancers are used to distribute traffic across multiple target servers in order to reduce load on individual servers. This increases availability, scalability, and performance of your application. Traffic is therefore redirected by the Load Balancer to one of the servers that have been added as a target server. This distribution is based on one of the two algorithms we offer, which are namely Round Robin and Least Connections.
How the algorithms work:
-
Round Robin
This algorithm distributes traffic in a specific order. Simply put, incoming request 1 is redirected to server 1, request 2 to server 2 and so on. In the end, the algorithm goes back to server 1 and repeats this procedure.
-
Least Connections
This algorithm monitors traffic on the servers. Incoming requests are redirected to the server with the least traffic at the time.
Each Load Balancer has a public IPv4 and a public IPv6. If a Load Balancer is added to a private Network, it will also have a private IPv4.
Supported target IPs:
- Public IPv4
- Private IPv4
Pricing
For information about available plans and prices, see hetzner.com/cloud/load-balancer.
Resources and attributes
The following resources and attributes are associated with this feature:
- Cloud Servers
- Dedicated Root Servers (Hetzner Robot account)
- Networks
- Managed Let's Encrypt certificate
- Name
- Labels
Limits
- By default, up to 20 Load Balancers across all projects
Please note: It can be possible to increase default limits if requested.