Changing Backend Server Weights

Scenario

You can change the weights specified for backend servers based on their capability to process requests.

Constraints and Limitations

  • The weight ranges from 0 to 100. If you set the weight of a backend server to 0, new requests will not be routed to this server.

  • The weights can only be specified when you select weighted round robin, weighted least connections, or source IP hash as the load balancing algorithm. For more information about load balancing algorithms, see Backend Server Weights.

Procedure

  1. Log in to the management console.

  2. In the upper left corner of the page, click image1 and select the desired region and project.

  3. Click image2 in the upper left corner to display Service List and choose Network > Elastic Load Balancing.

  4. In the navigation pane on the left, choose Elastic Load Balancing > Backend Server Groups.

  5. On the Backend Server Groups page, click the name of the backend server group.

  6. Switch to the Backend Servers tab and click Backend Servers.

  7. Select the backend servers and click Modify Weight above the backend server list.

  8. In the displayed dialog box, change the weights as you need.

    • Changing the weight of a single backend server: Set the weight in the Weight column.

    • Changing the weights of multiple backend servers: Set the weight next to Batch Modify Weights and click OK.

    Note

    You can change the weights of multiple backend servers to 0 so they will not receive requests from the load balancer.

  9. Click OK.