Check the health of your Network Load Balancer targets - Elastic Load Balancing
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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
  1. Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/.

  2. In the navigation pane, under Load Balancing, choose Target Groups.

  3. Choose the name of the target group to open its details page.

  4. The Details pane displays the total number of targets, plus the number of targets for each health status.

  5. On the Targets tab, the Health status column indicates the status of each target.

  6. 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.