Check the health of your Network Load Balancer targets
You can check the health status of the targets registered with your target groups.
To check the health of your targets using the console
Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/
. -
In the navigation pane, under Load Balancing, choose Target Groups.
-
Choose the name of the target group to open its details page.
-
The Details pane displays the total number of targets, plus the number of targets for each health status.
-
On the Targets tab, the Health status column indicates the status of each target.
-
If the status of a target is any value other than
Healthy
, the Health status details column contains more information.
To check the health of your targets using the Amazon CLI
Use the describe-target-health command. The output of this command contains the
target health state. It includes a reason code if the status is any value other than
Healthy
.
To receive email notifications about unhealthy targets
Use CloudWatch alarms to trigger a Lambda function to send details about unhealthy
targets. For step-by-step instructions, see the following blog post: Identifying unhealthy targets of your load balancer