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.
Log on Server Load Balancer console.
Choose a region and then click the ID of the target Server Load Balancer instance.
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.
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.
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.
Log on to the ECS instance, run the
netstatcommand to check whether the ECS instance is deployed with public services.
netstat -anoto 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