A backend server group is a logical collection of one or more backend servers to receive massive concurrent requests at the same time. A backend server can be an ECS, BMS, or IP address.
The following process describes how a backend server group forwards traffic:
Backend Server Type |
Description |
Reference |
---|---|---|
Cloud servers |
You can add ECSs or BMSs that are in the same VPC as the load balancer. |
|
IP as backend servers |
You can add cloud servers in other VPCs or on-premises servers if IP as a backend is enabled for the load balancer. |
Backend server groups can bring the following benefits:
You can configure the key functions listed in Table 2 for each backend server group to ensure service stability.
Key Function |
Description |
Detail |
---|---|---|
Removal Protection |
Specifies whether to enable the removal protection option to prevent a backend server group from being removed by accident. |
|
Health Check |
Specifies whether to enable the health check option. Health checks determine whether backend servers are healthy. If a backend server is detected unhealthy, it will not receive requests from the associated load balancer, improving your service reliability. |
|
Load Balancing Algorithm |
The load balancer distributes traffic based on the load balancing algorithm you have configured for the backend server group. |
|
Sticky Session |
Specifies whether to enable the sticky session option. If you enable this option, all requests from a client during one session are sent to the same backend server. |
|
Slow Start |
Specifies whether to enable slow start. After you enable it, the load balancer linearly increases the proportion of requests to backend servers in this mode. When the slow start duration elapses, the load balancer sends full share of requests to backend servers and exits the slow start mode. NOTE:
Slow start is only available for HTTP and HTTPS backend server groups of dedicated load balancers. |
The backend protocol of the new backend server group must match the frontend protocol of the listener as described in Table 3.
You can create a backend server group by referring to Table 4.
Frontend Protocol |
Backend Protocol |
---|---|
TCP |
TCP |
UDP |
|
HTTP |
HTTP |
HTTPS |
|