Try Out Health Checks
Explore how to use AWS CLI commands to monitor the health of your WordPress instances behind a load balancer. Learn to check target health, simulate instance failure, and understand how auto-scaling and load balancing ensure your site’s resilience.
We'll cover the following...
We'll cover the following...
Let’s see if our health checks work and how we can check them. We'll use the elbv2 describe-target-health command. We just need to pass the target group ARN via the --target-group-arn parameter. So, the command would look like this:
To get the target group ARN, we can use the describe-target-groups command again, just like we did in our last lesson. The full command, therefore, looks like this:
Run the command in the terminal below:
The output should be ...