Configuring health checks for your service
AWS App Runner monitors the health of your service by performing health checks. The default health check protocol is TCP. App Runner pings the domain assigned to your service. By using the App Runner API or the AWS CLI you can alternatively set the health check protocol to HTTP. App Runner sends health check HTTP requests to your web application.
You can configure a few settings related to health checks. The following table describes the health check settings and their default values.
Setting | Description | Default |
---|---|---|
Protocol |
The IP protocol that App Runner uses to perform health checks for your service. If you set the protocol to If you set the protocol to |
|
Path |
The URL that App Runner sends HTTP health check requests to. Applicable only to HTTP checks. |
|
Interval |
The time interval, in seconds, between health checks. |
|
Timeout |
The time, in seconds, to wait for a health check response before deciding it failed. |
|
Healthy threshold |
The number of consecutive checks that must succeed before App Runner decides that the service is healthy. |
|
Unhealthy threshold |
The number of consecutive checks that must fail before App Runner decides that the service is unhealthy. |
|
Configure health checks
Configure health checks for your App Runner service using one of the following methods: