To maintain high availability of services, it’s beneficial to implement load balancer and failover mechanisms. In the
e24cloud, the simplest way is to deploy a DNS-level load balancer.
DNS-level Load Balancer is responsible for evenly distributing traffic among servers.
DNS-level Failover ensures redirecting traffic from a server that has encountered a failure to another functioning
server.
Both of these functionalities combined into a convenient mechanism can be activated using the Client Panel. To do this, go to the Resources > DNS Management tab in the Client Panel, and then click on the edit button next to the domain for which you want to enable this service.
Next, click the Add New Record button.
In the form, provide the (sub)domain for which you want to enable DNS load balancing and failover, and then choose the algorithm type of operation. There are 4 types available:
For example, a load balancer/failover defined for a sample domain with a specified port for 5 servers looks like this:
For example, a load balancer/failover defined for a sample domain with a specified URL for 5 servers looks like this:
For example, a load balancer/failover defined for 5 servers selected based on the round-robin algorithm looks like this: