Tutorial overview

Last Updated: Sep 04, 2017

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 need to plan and design your load balancing service, such as the instance type, instance region, and more. For details, see Plan and prepare.

The tutorial includes the following tasks:

  1. Create ECS instances

    Server Load Balancer 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.

  2. Install web pages

    Create required applications on the ECS instances. In this tutorial, a static web page is created to test the load balancing service.

  3. Create a Server Load Balancer instance

    A Server Load Balancer instance is a running entity of Server Load Balancer. In this tutorial, an Internet-facing Server Load Balancer instance is created.

  4. Configure the Server Load Balancer instance

    After creating a Server Load Balancer instance, you have to add at least one listener, and multiple ECS instances as backend servers. In this tutorial, a TCP listener is added, and the ECS instances created in task 1 are used as backend servers.

  5. Delete the Server Load Balancer instance

    If you no longer need Server Load Balancer, delete it to avoid additional charges.

Thank you! We've received your feedback.