High Availability with Alibaba Cloud – Server Load Balancer (SLB), Usage Cases

In this post, I’m going to discuss how to achieve high availability for your applications using Alibaba Cloud SLB. As mentioned in Alibaba Cloud Server Load Balancer (SLB) post, the SLB instance is a highly available traffic distribution control service that can be elastically expanded according to service requests without affecting incoming traffic loads.

Even your SLB can elastically expand if you haven’t designed your application servers to handle the load correctly, you can still experience the application outage.

There are several High Availability options available with Alibaba Cloud Server Load Balancer

  • Alibaba Cloud SLB supports multi-zone load balancing, you can configure your application instances to distribute in multiple availability zones. This way your application will be available even if any of the availability zone outages happen.
SLB HA using Multi-Zone
  • You can leverage ECS Service called “Auto Scaling” to have scaled up and scaled down the application instances according to the load. Using Auto Scaling can optimize your ECS Instance usage and minimize the cost by leveraging by deploying Subscription-based and Pay As You Go instances all together according to your traffic loads. Furthermore, Auto Scaling Group can automatically register ECS instances to the SLB with the correct listener and health configurations.

SLB with Auto Scaling
  • Even Alibaba Cloud Server Load Balancer doesn’t support currently* for cross-region load balancing you can leverage Alibaba DNS Service to overcome that limitation as shown below.
Cross-Region HA with the help of Alibaba DNS Service