Load Balancer
Parameter | Explanation | Sample value |
Listener name | Set the name of Listener. If left blank, it defaults to Protocol-port, such as UDP-80. | listener-1 |
CLB protocol | Select the protocol type for CLB instance listener. This article uses UDP. | UDP |
Listening port | Enter the listening port. The range is 1 to 65535.
tip
| Listen on a single port, 80 |
Scheduling algorithm | Specify the rule that the listener follows to forward requests.
| Weighted Round Robin (WRR) |
Timeout period | CLB will close the connection if no new access requests are received within this time range. The default UDP protocol timeout is 90 seconds, with a configurable range of 1 to 300 seconds. | 90 seconds |
Parameter | Explanation | Sample value |
Access control | Enable access control. When enabled, listening traffic forwarding will be restricted. For details, see ACL overview. After turning on, select the control method and policy group.
| Enable, denylist, policy01 |
Proxy-Protocol | Turn on Proxy protocol or not. Enable Proxy protocol when the backend server needs the real source IP but the source IP in the packet is replaced (e.g., IPv6 requests forwarded to an IPv4 backend server).
| No |
Session Persistence | Enable session persistence
| Turn on, 1000 seconds |
Bandwidth cap | Whether to turn on exclusive bandwidth.
| Turn on, 100Mbps |
Connection Draining | Enable Connection Draining
| Turn on, 100 seconds |
Tags | A tag consists of a key-value pair and is used for categorizing and searching resources For more information, see Tag management. Click the Add icon, input the tag key and tag value, and add a tag for the listener. |
|
Parameter | Explanation | Sample value |
Health check | Enable health check Once enabled, the CLB instance periodically sends requests to backend servers to test their operational status and determine availability. If a backend server is detected to be in poor health, traffic will stop being forwarded to it and will be redirected to other normally functioning backend servers. | Check |
Health check port | Enter the health check port, through which the backend server receives health check requests sent by the CLB instance. | 1 |
Health check request | Specify the request string sent for health checks. | healthcheckrequest |
Expected correct response | The response string expected to be returned when the health check result is normal. tip If Health Check Request is specified, you must configure this parameter. | ok |
Response timeout | After turning on health check, enter the time to wait for the health check response.
| 2 seconds |
Detect interval | After enabling health checks, type the health check interval.
| 2 seconds |
Healthy threshold | After enabling health checks, specify the number of consecutive successful health checks required to consider a backend server normal.
| 3 times |
Unhealthy threshold | After enabling health checks, enter the number of consecutive health check failures required to determine backend server failure.
| 3 times |