This section provides a complete tutorial on using Server Load Balancer. An Internet-facing Server Load Balancer instance will be created to distribute the received HTTP requests to the backend servers.
Note: Before creating a Server Load Balancer instance, you have to plan and design your load balancing service such as the instance type, the region of the instance and so on. For details, refer to Plan and prepare.
This tutorial includes the following tasks:
The Server Load Balancer service is a complementary service for ECS multi-machine solutions，and must be used in conjunction with ECS. In this tutorial, two ECS instances are created to process the distributed traffic.
Create required applications on the ECS instances. In this tutorial, a static web page is created to test the load balancing service.
A Server Load Balancer instance is a running entity of the Server Load Balancer service. In this tutorial, an Internet-facing Server Load Balancer instance is created.
After creating a Server Load Balancer instance, you have to add at least one listener, and multiple ECS instances as the backend servers. In this tutorial, a TCP listener is added, and the ECS instances created in the task 1 are used as the backend servers.
If you do not need the Server Load Balancer service anymore, delete it to avoid additional charges.