Add backend servers

更新时间:
复制 MD 格式

After you create a simple application balancer, you must add backend servers to distribute traffic. The backend servers are simple application servers. This topic describes how to add backend servers.

Prerequisites

Simple application servers are created in the same region as the simple application balancer.

Procedure

  1. Go to the Simple Load Balancer page in the Simple Application Server console.

  2. On the Simple Load Balancer page, click the ID of the target load balancer instance.

  3. Click the Backend Servers tab. In the Backend Servers section, select the Simple Application Server instances to add, and then click Add Backend Servers.

    The console page is shown in the following figure:

    Description:

    1. Select the Simple Application Server instances to add (Area ① in the figure).

    2. Click Add Backend Servers (Area ② in the figure).

    After you add the backend servers, wait for them to be attached to the load balancer. The page is then updated as shown in the following figure.

What to do next

After you add backend servers, you can configure the load balancer based on your requirements:

  • If you want to forward requests from the same client to the same backend server, enable session persistence.

  • You can modify the health check path of the backend servers based on your deployment environment.

    Note

    By default, the health check feature for the Simple Application Server load balancer sends HTTP requests to port 80. You must ensure that the firewalls of your backend servers allow traffic over port 80 and that web services, such as Apache, are installed. Web services are not installed by default on Simple Application Server instances that are created from OS images and must be installed manually. If a backend server fails the health check, verify that port 80 is working as expected. For more information, see Check whether TCP port 80 works as expected.

For more information, see Modify the configurations of a Simple Application Server load balancer.