AWS

You have a load balancer running and behind it 5 web servers. Users complain that some times when they try to use the application it doesn't works. You've found out that sometimes some of the instances crash. How would you deal with it?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

One possible way is to use health checks with the load balancer to ensure the instances are ready to be used before forwarding traffic to them.