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.
Remove backend ECS instances
- Log on to the SLB console.
- Choose a region and then click the ID of the target Server Load Balancer instance.
- In the Details left-side navigation pane, click .
If the ECS instance is added to a server group, click the VServer group or active/standby server group accordingly.
- Hover the mouse pointer to the weight of the target ECS instance and then set the value to 0.
- 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 and the intranet IP to filter Server Load Balancer instances that the ECS instance is added to.
- Log on to the ECS instance, run the
netstat
command to check whether the ECS instance is deployed with Internet 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.
- Windows: Run