Learn how to order additional zones for your service which increases the availability of your Load Balancer service in case a zone is unavailable. It is also possible, if configured appropriately, to use multiple zones to minimize latency for your visitors.
Add a zone
From the API
- To order a zone via the API, you must first create a cart via:
- Please note the cart number ("cart"), it will be useful for the rest. Then you assign it via:
- You can list the options available on your Load Balancer service via:
- When you have found the option corresponding to the desired area, you can add it to your shopping cart ("cart") via:
- Finally, you can validate your cart ("cart") via:
Don't forget to pay for the order you just generated: POST /me/order/{orderId}/pay
Use multiple zones
For high availability
If you want multiple zones to achieve high availability, you can use the special all
zone when you declare a frontend
and a server cluster
.
This special all
zone will allow you to deploy the same configuration on all zones subscribed to your Load Balancer service and prevent you from duplicating the configuration for all zones.
To reduce latency
If the goal is to reduce latency, we can imagine directing requests coming from the zone1 load balancer to backend servers geographically close to zone1, and similarly, directing requests coming from the zone2 load balancer to backend servers close to zone2.
To achieve this, you need to specify a frontend in each zone that uses a server cluster in the same zone. This will allow us to declare backend servers in different clusters per zone and to control which backend servers are used in which zone.
For example, if we have backend servers in the data centers of Vint Hill (vin
) and Hillsboro (hil
), you can order a Load Balancer service in the vin
and hil
areas and configure:
- A frontend in the
vin
zone with a default cluster in thevin
zone that contains servers in the Vint Hill data center - A frontend in the
hil
zone with a default cluster in thehil
zone that contains servers in the Hillsboro data center
Go further
For more information and tutorials, please see our other OVHcloud Load Balancer guides or explore the guides for other OVHcloud products and services.