edit-icon download-icon

Remove backend ECS

Last Updated: Jan 29, 2018

Directly removing backend ECS instances from a Server Load Balancer instance may cause service interruption. We recommend setting the weight of an ECS instance to zero first, and then remove it when no traffic is distributed to it.

  1. Log on Server Load Balancer console.

  2. Choose a region and then click the ID of the target Server Load Balancer instance.

  3. In the left-side navigation pane, click Server > Backend Server.

    If the ECS instance is added to a server group, click VServer Group or Master-Slave Server Group accordingly.

  4. Hover the mouse pointer to the weight of the target ECS instance and then set the value to 0.

    weight

  5. When no traffic is distributed to the ECS instance, click Remove to remove it from the backend server pool.

Troubleshoot

If there are ongoing service requests sent to the ECS instance after removing it from the backend server pool, check the following:

  • Whether the ECS instance is added to backend server pools of other Server Load Balancer instances.

    You can use the ECS instance ID to filter Server Load Balancer instances that the ECS instance is added to.

    search

  • Log on to the ECS instance, run the netstat command to check whether the ECS instance is deployed with public services.

    • Windows: Run netstat -ano to view all open ports on the instance.

    • Linux: Run this command to view all open ports on the instance or use other parameters of the netstat command.

      3

Thank you! We've received your feedback.