Parameter | Description |
Target Group Type | Select the type of the backend service that the target group carries. Currently, only instances are supported. |
Target Group Name | Enter a target group name, which is used for identification and management in a convenient manner. It can contain up to 60 characters. |
VPC | Select the VPC to which the target group belongs. The backend services added to a target group must belong to the same virtual private cloud (VPC). If the existing network is not suitable, click Create VPC to create one. |
Backend Protocol | Select the protocol between ALB and backend services. HTTP, HTTPS, gRPC, and gRPCs are supported. This document uses HTTP as an example. |
Balancing Method | Select a traffic distribution algorithm for multiple backend services within a target group. The following two methods are supported: weighted round robin (WRR) and weighted least connections (WLC). |
Session Persistence | After it is enabled, ALB distributes requests from the same client to the same backend service. Note: If WLC is selected for Balancing Method, requests are scheduled based on the service load and weight in the target group. In this case, requests from the same client may not be distributed to the same backend service, and session persistence is not supported. |
Persistent Connection | After it is enabled, the number of connections between ALB and backend services fluctuates within the range of [QPS, QPS x 60]. The specific value depends on the connection reuse rate. If a limit is imposed on the number of connections to backend services, proceed with caution. |
Tag |
Parameter | Description |
Health Check | After it is enabled, ALB automatically checks for and removes abnormal backend services. |
Check Method | TCP, HTTP, and HTTPS check methods are supported. |
Check Port | By default, the real server port is used. If no special requirements exist, we recommend that you leave it empty. |
Advanced Configuration | The default settings are retained in this document. You can click Modify to modify them. For details, see Configuring a Health Check. |
Parameter | Description |
Listening Protocol | Select the protocol type for listening. In this document, HTTP is used. |
Name | Enter a value. It cannot exceed 255 characters. |
Listener Port | Enter the listening port that can be used to receive and forward requests from and to a backend service. Value range: 1–65535. |
Tag | |
Advanced Configuration | Retain the default settings in this document. To modify them, you can click Modify. For details, see Creating and Managing a Listener. |
Parameter | Description |
Rule Name | Name of the forwarding rule, which can contain up to 255 characters. Characters such as digits, letters, Chinese characters, hyphens, underscores, and periods are supported. If it is left empty, the system automatically generates one. |
Forwarding Condition | Forwarding condition. The domain name, path, HTTP Header, Query String, HTTP request method, Cookie, and SourceIp conditions are supported. Traffic is forwarded only when all configured conditions are met. For details, see Configuring a Forwarding Rule. |
Forwarding Action | Actions such as forwarding to, redirecting to, returning a fixed response, rewriting, writing a header, and deleting a header are supported. When forwarding conditions are met, one or more configured forwarding actions are executed. For details, see Configuring a Forwarding Rule. |
Priority | Order in which rules take effect within a listener rule set. The value range is 1–10000, and the priority must be unique. |
Parameter | Description |
Host Record | Domain name prefix. For details, see Subdomain Name Description and Wildcard Resolution Description. |
Record Type | CNAME is recommended. |
Line Type | A default type is recommended. Otherwise, some users may experience resolution failures. |
Record Value | The CNAME record value, which can be filled in as the ALB instance domain name. |
Weight | The specified weight ratio. Multiple records under the same line are returned based on it. |
TTL | The DNS time‑to‑live value, in seconds. |
http://<domain_name> in your browser. Refresh the page multiple times and check whether the response alternates between rs‑1 and rs‑2 to verify that load balancing takes effect.Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback