Implementing Cloud Design Patterns for AWS(Second Edition)
上QQ阅读APP看书,第一时间看更新

Health checks

The other great item the AWS load balancers provide is a health checking feature. In our previous small-scale example, there is only one instance. The load balancer checks every thirty seconds for a valid response from the HTTP port. If three checks fail, it removes the instance from the pool. This helps to insulate us from any individual faults in our services. This works a lot better when we have multiple instances attached to our load balancer.