A logistics tracking application ingests real-time GPS telemetry data from fleet vehicles. The backend processing service runs on Amazon EC2 instances in an Auto Scaling group (ASG) located in private subnets behind an Application Load Balancer (ALB) in public subnets. The backend service listens on TCP port 9000. The ALB uses an HTTPS listener on port 443 and forwards requests to a target group configured to use port 9000.
To satisfy a new security policy, a network administrator modified the Network Access Control List (NACL) of the private subnets to allow inbound traffic from the public subnets only on port 9000. Shortly after this modification, the ALB marks all EC2 instances as unhealthy, and the ASG begins repeatedly terminating and replacing them. Local system logs show that the application is running and listening on port 9000 successfully on all instances.
Which configuration change will resolve this issue and restore high availability?
- AConfigure the target group's health check settings to use port 443 instead of port 9000 to match the Application Load Balancer's public-facing listener port.
- BAdd a rule to the security group of the EC2 instances to allow outbound traffic to the public subnets on ports 1024-65535, because security groups require explicit outbound rules for return traffic.
- Modify the network ACL of the private subnet to allow outbound traffic to the public subnets on ephemeral ports (1024-65535) to permit return traffic for the health checks.Answer
- DChange the Amazon Route 53 DNS routing policy to Latency routing with target health evaluation enabled, directing client traffic to bypass the Application Load Balancer.