Handle Larger Traffic with Load Balancer – Additional Settings

Server Load Balancer (SLB) is suitable for applications with high access traffic to improve availability and reliability.

Balance the loads of your applications

If your applications experience high access traffic, SLB can help you distribute inbound traffic among multiple backend servers ( instances) according to the listening rules you set. Additionally, you can configure session persistence to distribute the requests from the same client to the same backend server.

YouTube player

Scale your applications

You can add or remove backend servers at any time to scale the serving capacity of your applications. SLB supports various web servers and application servers.

Protect your applications from single points of failure

You can add multiple ECS instances to an SLB . If some ECS instances are faulty, SLB automatically shields faulty ECS instances and distributes requests to healthy ECS instances, guaranteeing that your applications can still work normally.

Realize disaster tolerance across zones

To provide more stable and reliable services, SLB provides multiple zones in most regions to achieve same- disaster tolerance. If the primary zone becomes unavailable, SLB switches to the secondary zone in about 30 seconds and the load balancing service will hardly be affected. Once the primary zone becomes available, SLB automatically switches back to the primary zone.

We recommend that you create an SLB instance in a region that has deployed multiple zones. You also need to consider the deployment of backend servers. We recommend that you add at least one backend server in each zone to achieve the highest efficiency.

As shown in the following figure, ECS instances in different zones are added to an SLB instance. In normal situation, SLB will distribute traffic to ECS instances both in the primary zone (Zone A) and in the secondary zone (Zone B). Once the primary zone is unavailable, the traffic will be distributed to the ECS instances in the secondary zone. This avoids service interruption caused by the failure of a single zone, and also reduces latency.

Achieve disaster tolerance across regions

You can deploy SLB instances in different regions, and add ECS instances of different zones in the same region to an instance. Then, you can use Alibaba DNS to resolve domain names to service addresses of SLB instances in different regions, thus implementing global load balancing. When a region becomes unavailable, you can temporarily stop DNS in that region, and no access will be affected.

Read more: https://www.alibabacloud.com/help/doc-detail/27543.htm

Print Friendly, PDF & Email

Related posts:

Random posts:

%d bloggers like this: