1

I have a Tomcat webapp deployed on Elastic Beanstalk for which I want to configure CloudWatch alarms, especially for when the web server is down. The Tomcat container uses Google OAuth2 for authentication and a custom MongoDB Realm for authorization. So there are no public URLs to hit as any request would be redirected to Google for authentication.

From the research that I've done, it looks like an alarm for CPU Utilization's insufficient data is the answer to getting notified if the web-server is down. However, I've read conflicting comments that CPU Utilization has nothing to do with a server being down and an Elastic Load Balancer health check should be used instead.

Other solutions require you to install custom CloudWatch libraries or using external tools.

So what are the best practices for such monitoring, preferably using tools provided by AWS?

0

You must log in to answer this question.