I'm dealing with a load balancer that keeps sending traffic to a target group that's showing as unhealthy, even though everything seems fine on our end. Has anyone else experienced this issue?
3 Answers
Make sure the health check path your load balancer is calling actually exists and returns a 200 status. If that path isn’t set up correctly, you’ll need to adjust it or handle different response codes like 404s or 403s for your health checks.
If a target group has only unhealthy instances, the load balancer will still send requests to those targets. This is actually expected behavior, so you might want to check the health checks you've configured.
It really depends on the type of health checks you're using. If you’re only using EC2 health checks instead of ALB health checks, that could be why you're seeing this behavior. Double-check your settings to ensure you're using the right type of health checks.
Exactly! It works as designed, which can be confusing at times.