Critical Issue with Health Check for Auto Scaling Group in AWS

Troubleshooting Application Functionality and Health Check in Auto Scaling Group

Prev Question Next Question

Question

You have an application running a specific process that is critical to the application's functionality and has added and configured the health check process properly to your Auto Scaling Group.

The instances are showing healthy.

But the application itself is not working as it should.

What could be the issue with the health check, since it is still showing the instances as healthy?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - D.

If you have custom health checks, you can send the information from your health checks to Auto Scaling so that Auto Scaling can use this information.

For example, if you determine that an instance is not functioning as expected, you can set the health status of the instance to Unhealthy.

The next time Auto Scaling performs a health check on the instance, it will determine that the instance is unhealthy and then launch a replacement instance.

For more information on Autoscaling health checks, please refer to the below document link: from AWS.

http://docs.aws.amazon.com/autoscaling/latest/userguide/healthcheck.html

The most likely issue in this scenario is that the health check is not checking the application process itself. While the health check may be properly configured to monitor the basic health of the instances (such as CPU and memory usage), it may not be configured to check the specific application process that is critical to the application's functionality.

It's important to understand that a health check can only monitor the aspects of the system that it has been configured to monitor. If the health check is not configured to monitor the application process, it may report the instances as healthy even if the application is not functioning properly.

Option A, "You do not have the time range in the health check properly configured," is unlikely to be the issue since the time range of the health check is usually not relevant to the issue of the application not functioning properly.

Option B, "It is not possible for a health check to monitor a process that involves the application," is incorrect since it is indeed possible to configure a health check to monitor a specific application process.

Option C, "The health check is not configured in the correct region," is also unlikely to be the issue since the health check would likely not report the instances as healthy at all if it were not configured in the correct region.

Therefore, option D, "The health check is not checking the application process," is the most likely issue in this scenario. To resolve the issue, the health check should be reconfigured to check the specific application process that is critical to the application's functionality.