Global Accelerator (GA) performs health checks to test the status of endpoints. Health checks improve service reliability and availability and prevent service interruptions caused by unhealthy endpoints.
Introduction to health checks
You can enable health checks for endpoint groups of a GA instance. After you enable health checks, GA periodically checks whether the endpoints are healthy. When GA detects an unhealthy endpoint, GA distributes new requests to other healthy endpoints. When the unhealthy endpoint recovers, GA distributes requests to the endpoint again.
GA supports health checks that use the following protocols: TCP, HTTP, and HTTPS.
TCP health checks

No. | Description |
---|---|
1 | A GA instance sends a TCP SYN packet to the IP address and port of an endpoint based on the health check configurations of the TCP listener. |
2 | The GA instance verifies the health status of the endpoint based on whether the endpoint
can return an SYN-ACK packet within the specified timeout period.
Note The response timeout period specifies the maximum amount of time to wait for a health
check response. If an endpoint does not respond within the specified timeout period,
the endpoint fails to pass the health check. By default, the timeout period is set
to 3 seconds and cannot be changed.
|
3 | After the GA instance receives an SYN-ACK packet from the endpoint, the GA instance sends an ACK packet to establish a TCP session. |
HTTP and HTTPS health checks

No. | Description |
---|---|
1 | A GA instance sends an HTTP GET request to an endpoint based on the health check configurations of the listener. The HTTP GET request is sent to an address in the following format: the IP address of the endpoint + health check port + health check path. |
2 | After the endpoint receives the request, the endpoint checks the status of the service
and returns a relevant HTTP status code.
Note The response timeout period specifies the maximum amount of time to wait for a health
check response. If an endpoint does not respond within the specified timeout period,
the endpoint fails to pass the health check. By default, the timeout period is set
to 3 seconds and cannot be changed.
|
Health check time window
- Health check interval: the interval at which health checks are performed.
- Response timeout: the amount of time to wait for a response.
- Healthy threshold: the number of consecutive successes or failures of health checks.
- Time window for health check failures = Response timeout × Healthy threshold + Health
check interval × (Healthy threshold - 1)
The following figure shows an example in which the response timeout is 3 seconds, the health check interval is 2 seconds, and the healthy threshold is 3 times. Therefore, the time window for health check failures is 13 seconds based on the formula 3 × 3 + 2 × (3 - 1).
- Time window for health check successes = (Response time of a successful health check
× Healthy threshold) + Heath check interval × (Healthy threshold - 1)
The following figure shows an example in which the response time is 1 second, the health check interval is 2 seconds, and the healthy threshold is 3 times. Therefore, the time window for health check successes is 7 seconds based on the formula 1 × 3 + 2 × (3 - 1).
Limits
If your GA instance uses UDP listeners, you can enable health checks for an endpoint only if the endpoint is associated with a TCP, HTTP, or HTTPS service. Otherwise, the endpoint is marked as abnormal.
Enable health checks
What to do next
Operation | Description |
---|---|
Modify health check configurations |
|
Disable health checks |
|
Related topics
- CreateEndpointGroup: Creates an endpoint group. You can configure health checks when you create an endpoint group.
- UpdateEndpointGroup: Modifies an endpoint group. You can configure health checks when you modify an endpoint group.
- GetHealthStatus: Queries health check information about an endpoint.