Managed Load Balancer Hostnames and IP addresses
Load Balancer is designed such that its IP addresses should not change. However, the IP is not fixed and may change in certain circumstances. Therefore, we recommend always using the Load Balancer hostname instead of the IP address when accessing services behind a Load Balancer.
Fixed public addresses with floating IPs
If you need a public address that doesn't change, for example for a DNS A record or an allowlist on another system, attach a floating IP to the load balancer. In the Control Panel, open the load balancer and click Attach Floating IP in the IP Addresses section of its Overview tab. With the API, use POST /1.3/load-balancer/{uuid}/ip-addresses. The floating IP must be in the same location as the load balancer and not attached to anything else. You can attach up to one floating IP for each node in the plan.
Plan the change for a time when an interruption is acceptable. The floating IP replaces the load balancer's previous public address, and the previous address stops answering as soon as the floating IP is attached. The load balancer's hostname resolves to the floating IP once DNS has updated.
Addresses on private networks
On each SDN Private Network attached to the load balancer, every load balancer node holds two addresses. The API lists them under each node's networks:
- The address marked
"listen": trueis the load balancer's private frontend address on that network. - The address marked
"listen": falseis the node's own address. Your backend servers see it as the source of every health check and every forwarded request.
A plan with two nodes, such as Production Small, therefore holds four addresses on each private network. The addresses are assigned when the load balancer is created and are known once it is running. If your backend servers filter incoming traffic, for example with the SDN Firewall, allow the "listen": false addresses on the backend port.
Until the health checks of a backend's members pass, a frontend that uses that backend answers with HTTP 503.