Skip to main content

Add backend servers to the default server group

Overview

Before a Server Load Balancer (SLB) instance can process requests, you must add at least one backend server to the default server group to receive requests.

Prerequisites

Before you add an Elastic Compute Service (ECS) instance to the default server group, make sure that the following requirements are met:

  • An SLB instance is created. For more information, see Create an SLB instance.
  • ECS instances are created and applications are deployed on the ECS instances to receive requests.

Overview

  1. On the Instances page, click the instance.

  2. On the Instances page, click the Default Server Group tab.fg-dc-slb-3.3.2-1

  3. On the Default Server Group section, click the Add button. fg-dc-slb-3.3.2-2

  4. On the Select Servers section, select one or more ECS instances.

  5. On the Select Servers section, click the Next button.fg-dc-slb-3.3.2-3

  6. On the Configure Ports and Weights section, specify the weight of each ECS instance.
    Note: An ECS instance with a higher weight receives more requests.

  7. On the Configure Ports and Weights section, click the Add button.fg-dc-slb-3.3.2-4

  8. On the Configure Ports and Weights section, select the ECS instances.

  9. On the Configure Ports and Weights section, click the OK button.fg-dc-slb-3.3.2-5

  10. On the pop-up message, click the OK button. fg-dc-slb-3.3.2-6

  11. Once the backend server is successfully added to the Default Server Group, its status has been updated as shown.

    fg-dc-slb-3.3.2-7