Tutorial overview

Last Updated: Aug 16, 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 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:

  1. Create ECS instances

    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.

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

  5. Delete the Server Load Balancer instance

    If you do not need the Server Load Balancer service anymore, delete it to avoid additional charges.

Thank you! We've received your feedback.