Problem :
I am new to AWS and trying to configure ELB with EC2 in AWS but I ran into "Instance has failed at least the Unhealthy Threshold number of health checks consecutively" error to make the instance out of service. I have also checked following:
1) Currently I am using 8080 port for security check and the path is "/index.html". I have tested the following link http://ec2DNSname:8080/index.html in my browser and it returns following:
Response header:
HTTP/1.1 200 OK
X-Powered-By: Express
Accept-Ranges: bytes
ETag: "150-1420697739000"
Date: Thu, 08 Jan 2015 06:16:21 GMT
Cache-Control: public, max-age=0
Last-Modified: Thu, 08 Jan 2015 06:15:39 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 150
Vary: Accept-Encoding
Connection: keep-alive
2) In my EC2 configuration I am allowing the inbound TCP traffic on 8080 from any machines
May I know the possible cause of failing the health check?