| Health Check | Specifies whether to enable the health check option. NOTE: When the health check is enabled or disabled, the number of healthy or unhealthy backend servers may temporarily fluctuate but will stabilize after a monitoring period. | Enable it. |
| Health Check Protocol | Specifies the protocol that will be used by the load balancer to check the health of backend servers. If the protocol of the backend server group is UDP, the health check protocol is UDP by default. Dedicated load balancers support TCP, HTTP, gRPC, and HTTPS. | HTTP |
| HTTP Method | Specifies the request method for the health check. This parameter is mandatory for dedicated load balancers and the health check protocol is HTTP, gRPC, or HTTPS. - GET: The backend server returns all the information.
- HEAD: The backend server returns only HTTP headers, improving request efficiency.
Ensure that your backend servers support HEAD requests. Otherwise, the health check may fail. In this case, you can use GET to perform the health check. - POST: Ensure that your backend servers support POST requests.
Otherwise, the health check may fail. In this case, you can use GET to perform the health check. NOTE: - If the health check protocol is HTTP or HTTPS, the GET and HEAD methods are supported.
- If the health check protocol is gRPC, the GET and POST methods are supported.
| GET |
| Domain Name | Specifies the domain name that will be used for the health check. This parameter is mandatory if the health check protocol is HTTP, gRPC, or HTTPS. - You can use the private IP address of the backend server as the domain name.
- You can also specify a domain name that consists of at least two labels separated by periods (.). Use only letters, digits, and hyphens (-). Do not start or end strings with a hyphen. Max total: 100 characters. Max label length: 63 characters.
| www.elb.com |
| Health Check Port | Specifies the port that will be used by the load balancer to check the health of backend servers. The port number ranges from 1 to 65535. - By default, the service port on each backend server is used.
- You can specify a port for a health check.
| 80 |
| Path | Specifies the health check path, which is the destination on backend servers for health checks. This parameter is mandatory if the health check protocol is HTTP, gRPC, or HTTPS. The path can contain 1 to 80 characters and must start with a slash (/). If the backend server group is associated with a dedicated load balancer, the check path can contain letters, digits, hyphens (-), slashes (/), periods (.), question marks (?), number signs (#), percent signs (%), ampersands (&), and extended character sets _;~!. () *[]@$^:',+ | /index.html |
| 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 value ranges from 1 to 50. | 3 |
| Healthy Threshold | Specifies the number of consecutive successful health checks required for declaring a backend server healthy. The value ranges from 1 to 10. | 3 |
| Unhealthy Threshold | Specifies the number of consecutive failed health checks required for declaring a backend server unhealthy. The value ranges from 1 to 10. | 3 |
| Status Code | Specifies the status codes that will be returned to the load balancer to indicate the health of backend servers. This parameter is available only when you set the health check protocol to HTTP, gRPC, or HTTPS. You can enter a unique number or a positive number range within the status code range, for example, 0-10 and 200-300. A maximum of five HTTP status codes and number ranges are supported. If there is more than one status code or number range, press Enter to separate them. - If the check protocol is HTTP or HTTPS, the status code ranges from 200 to 599.
- When the gRPC protocol is used, the status code ranges from 0 to 99.
NOTE: This feature will be available in more regions. See details on the management console. | 200 |