Load Balancer
Parameter | Explanation | Example |
Listener name | Set the name of Listener. If left blank, it defaults to Protocol-Port, for example HTTP-80. | listener-1 |
CLB protocol | Select the protocol type for CLB instance listener. | HTTP |
Listening port | This refers to the listening port. The listener forwards requests from this port to the backend server group. | 80 |
Scheduling algorithm | Specify the rule that the listener follows to forward requests.
| Weighted Round Robin (WRR) |
Parameter | Explanation | Example |
keepalive_timeout | Keepalive timeout between the client and the CLB. If there are no access requests within the timeout period, the CLB will terminate the current connection and establish a new connection upon the next request. Valid input range: 0–900 seconds. Setting it to 0 disables keepalive connections. | 75 seconds |
client_header_timeout | Enter the timeout for reading the client_header_timeout. If the client does not transmit the complete header within the timeout, CLB returns error code 408, indicating a request timeout. Value range: 30 to 120 seconds. | 60 seconds |
client_body_timeout | Enter the timeout for reading the client_body_timeout. When the client sends a request to CLB, if the client does not send any request body within the timeout period, CLB returns error code 408 to the client, indicating the request timed out.
| 60 seconds |
send_timeout | Enter the timeout for CLB to send a response to the client. When CLB sends a response to the client, if the client does not receive any data within the timeout period, the connection will be closed.
| 60 seconds |
proxy_read_timeout | Enter the timeout for CLB to read responses from the backend server. CLB sends requests to the backend server. If no response is received from the server within the timeout, the connection will close.
| 60 seconds |
proxy_send_timeout | Enter the CLB timeout for transmitting requests to the backend server. When CLB sends a request to the backend server, it closes the connection if no data is received within the timeout period.
| 60 seconds |
proxy_connect_timeout | Enter the timeout for establishing a connection between the CLB and the backend server. If the connection between CLB and the backend server is not established within the timeout period, the connection attempt will be terminated.
| 4 seconds |
Parameter | Explanation | Example |
Access control | Indicates whether the listener applies an allowlist or denylist to control access requests, allowing or blocking certain IPs; the default is off. For details, see ACL overview. After turning on Identity and Access Management (IAM), select the control method and policy group name.
| Turn on, denylist, policy01 |
Session Persistence | When the scheduler is Weighted Round Robin (WRR), enabling sticky session for the listener is optional. After enabling session persistence, the load balancer forwards requests from the same client to the same backend server based on cookies. Select the cookie handling method and set the session persistence timeout or cookie name as needed. Cookie processing method: Supports both Cookie Insertion and Cookie Rewriting.
tip If the backend server’s response Cookie does not match the specified Cookie name, the load balancer does not rewrite the Cookie and forwards the request according to the configured routing algorithm. | Turn on, implant cookies, 1000 seconds |
Bandwidth cap | Select whether to enable bandwidth speed limit for the listener. After turning on the switch, set the bandwidth limit for this listener. The maximum value equals the remaining unallocated bandwidth of the CLB instance specification to which the listener belongs, measured in Mbps. | Enable, 100Mbps |
Max new connections limit | Type CLB's maximum limit of new connections as needed.
tip This feature is currently in Beta stage. For trial requests, please contact your account manager. | 30000 |
Max Connections | Type CLB's maximum limit of concurrent connections as needed.
tip This feature is currently in Beta stage. For trial requests, please contact your account manager. | 300000 |
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. |
|