[Edited]
How do I check my application(web server)'s health check in EC2?
Say, I have 2 ec2 instances, ec2-webApp1 and ec2-webApp2. Both of them are listening to port 80. webApp1 is connected with ELB which I can use "health check" whether if the application is running or not. http://webApp1.internal.ip/myApp:80 ==> send a Get request, and the application returns 200 OK response. I put this URL as health check URL in ELB setting.
whereas ec2-webApp2 is not connected with ELB and I want to set up monitoring alarm so when the app is not running, I can get the notification.
In the ec2-webApp2 instance, I checked "Status Checks" tab / "Monitoring" tab -> "Create Alarm," but I couldn't find like one in ELB status check where I can configure custom URL to tell AWS how to check if myApp is running.
I wonder how other people setup application monitoring.
TIA