Reputation: 4151
Many of my ec2 instances do not have an ELB. I want to do an automatic failover or at the very least have my autoscaling policies honor network connectivity issues, faulty ec2 hardware, performance degradation etc. which in turn would mark instance unhealthy. I don't want to change health check type to ELB and leave it at EC2 (because my instances don't have ELB). Could you give me pointers on how to do this?
Thanks
Upvotes: 0
Views: 362
Reputation: 11
And in case, you want to extend the status checks on other parameters like threads or container queue size etc, you can implement Health evaluation based on these metrics using health heck endpoint. I have explained this Technique in my blog https://yoursandmyideas.com/2017/08/11/detecting-server-instanceprocess-health-status/
Upvotes: 1
Reputation: 9411
As I understand it, you DO have autoscaling groups. In this case, AWS WILL replace instances automatically if it detects faulty hardware or connectivity problem. No additional steps are needed from you.
Upvotes: 1