Cloud Servers
When you use ELB to route requests, ensure that at least one backend server is running properly and can receive requests routed by the load balancer.
After a backend server is unbound from a load balancer, the backend server does not receive requests forwarded by the load balancer, but the backend server is disassociated from the load balancer. You can add the backend server to the backend server group again when traffic increases or the reliability needs to be enhanced.
Notes and Constraints
- Only servers in the same VPC as the load balancer can be added.
- ECSs and BMSs can be added as backend servers. If Transfer Client IP Address is enabled for the listeners of a shared load balancer, only BMSs with certain flavors can be added as backend servers.
Adding a Cloud Server
- Go to the backend server group list page.
- On the Backend Server Groups page, click the name of the backend server group.
- Switch to the Backend Servers tab and click Add on the right.
- Search for backend servers using specified keywords.
- Specify the weights and ports for the backend servers, and click Finish.
Backend server ports can be set in batches.
Modifying Cloud Server Ports/Weights
- Go to the backend server group list page.
- On the Backend Server Groups page, click the name of the target backend server group.
- On the Backend Servers tab, click Backend Servers.
- Select the cloud servers and click Modify Weight up above the cloud server list.
- In the displayed dialog box, modify the weights as you need.
- Changing the weight of a single cloud server: Set the weight in the Weight column.
- Modifying the weights of multiple cloud servers: Select the target cloud servers and set the weight next to Batch Modify Weights and click OK.
You can set the weights of multiple cloud servers to 0 to block them from receiving requests routed by each load balancer.
- Click OK.
Removing a Cloud Server
If a cloud server is removed, requests are still routed to it. This is because a persistent connection is established between the load balancer and the backend server and requests are routed to this server until the TCP connection times out. If no data is transmitted over this TCP connection after it times out, ELB disconnects the connection.
- Go to the backend server group list page.
- On the Backend Server Groups page, click the name of the target backend server group.
- Switch to the Backend Servers tab and click Backend Servers.
- Select the cloud servers you want to remove and click Remove above the cloud server list.
- In the displayed dialog box, click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot