Reputation: 406
I have looked all the issue but cannot find the issue as I'm working on https for rails on the EC2 so I have setup loading balance and security group, but it keep said instance is not working as it's mention 'OutOfService', i have look at the security group and all port is open
as it said Instance has failed at least the UnhealthyThreshold number of health checks consecutively. but when i open ip address from Ec2 dns address and it working fine
Upvotes: 0
Views: 87
Reputation: 191
Check availability zones of both load balancer and ec2 instance. If both are in different zones make sure that you enabled cross zone load balancing in the classic load balancer. Also make sure that the ping target is TCP:80 in the Health check of the load balancer.
Upvotes: 1