A solutions architect is configuring an Application Load Balancer (ALB) to distribute traffic to Amazon EC2 instances running a web service on custom port . The instances are managed by an Auto Scaling group. The solutions architect notices that the load balancer is marking all instances as unhealthy. The service is running on the instances, and security groups allow traffic on port . What is the most likely cause of this issue?
- AThe security group on the EC2 instances does not allow outbound return traffic on port because security groups are stateless.
- BAmazon Route 53 is using latency routing to direct health check traffic to the closest instance rather than using the load balancer.
- The target group health check is configured to query the default port instead of port .Cevap
- DThe Application Load Balancer is unable to perform health checks because target groups only support health checks on port or port .
Cevap
The target group health check is configured to query the default port instead of port .
The correct answer is correct because the web application listens on port , but the health check port is misconfigured to query the default port . Since no service is listening on port , the health checks fail and the instances are marked as unhealthy. Setting the health check port to or utilizing the traffic port resolves the mismatch.
Adım Adım Çözüm
Anahtar Kavram
ELB Target Group Health Check Port Configuration