A backend server group has at least a healthy backend server. If incoming traffic increases, you need to add more backend servers.
After a backend server is removed, it cannot receive requests from the load balancer. You can add it back to the backend server group when the traffic goes up again.
If the load balancer is associated with an AS group, instances in the AS group are automatically added to the backend server group associated with the load balancer. If instances are removed from the AS group, they will be automatically removed from the backend server group.
Backend servers can reside in different subnets of the same VPC.
In the Backend Port text box, enter the port used by each backend server.
If multiple backend servers use the same port, you can batch add the port in the Batch Add Port text box and then click Finish.
If you want to set the same weight for multiple backend servers, you can batch configure the weights.
Configure the parameters based on Table 1 and Table 2.
Parameter |
Description |
Example Value |
---|---|---|
Name |
Specifies the name of the backend server group. |
server_group-sq4v |
Backend Protocol |
Specifies the protocol used by backend servers to receive requests. The backend protocol can be TCP, UDP, or HTTP. |
HTTP |
Load Balancing Algorithm |
Specifies the algorithm used by the load balancer to distribute traffic. The following options are available:
NOTE:
|
Weighted round robin |
Sticky Session |
Specifies whether to enable sticky sessions. If you enable sticky sessions, all requests from a client are sent to the same backend server. NOTE:
You can enable sticky sessions only if you select Weighted round robin for Load Balancing Algorithm. |
- |
Sticky Session Type |
After you enable the sticky session feature, select a sticky session type:
NOTE:
|
Load balancer cookie |
Cookie Name |
Specifies the cookie name. If you select Application cookie, enter a cookie name. |
cookieName-qsps |
Stickiness Duration (min) |
Specifies the minutes that sticky sessions are maintained.
NOTE:
If you have set Sticky Session Type to Application cookie, Stickiness Duration cannot be set. |
20 |
Description |
Provides supplementary information about the backend server group. You can enter a maximum of 255 characters. |
- |
Parameter |
Description |
Example Value |
---|---|---|
Enable Health Check |
Specifies whether to enable health checks. |
N/A |
Protocol |
|
HTTP |
Domain Name |
Specifies the domain name that will be used for health checks. The domain name can contain digits, letters, hyphens (-), and periods (.), and must start with a digit or letter. Configure this parameter only if you have set Protocol to HTTP. |
www.elb.com |
Port |
Specifies the port used by the load balancer to perform health checks on backend servers. The port number ranges from 1 to 65535. NOTE:
If you do not specify a health check port, the backend port will be used for health checks by default. If you specify a port, it will be used for health checks. |
80 |
Advanced Settings |
||
Interval (s) |
Specifies the maximum time between two consecutive health checks, in seconds. The interval ranges from 1 to 50. |
5 |
Timeout (s) |
Specifies the maximum time required for waiting for a response from the health check, in seconds. The timeout duration ranges from 1 to 50. |
3 |
Check Path |
Specifies the destination path for health checks. Configure this parameter only if you have set Protocol to HTTP. The path can contain 1 to 80 characters and must start with a slash (/). |
/index.html |
Maximum Retries |
Specifies the maximum number of health check retries. The value ranges from 1 to 10. |
3 |