A company is hosting a specialized transaction processing application on a fleet of Amazon EC2 instances managed by an Auto Scaling group (ASG). The instances are registered with a target group for an Application Load Balancer (ALB). The application receives transaction requests on TCP port 9443, and the target group is configured to route traffic to port 9443 with the health check port set to 'traffic-port'. To verify application health, the load balancer needs to query an administrative status API endpoint that runs on port 8081 of the instances. Currently, the ALB is marking all instances as unhealthy, causing the ASG to continuously terminate and launch new instances. Which action should the solutions architect take to resolve this issue?
- Modify the target group configuration to explicitly set the health check port to 8081.Answer
- BModify the target group's port configuration from 9443 to 8081 to match the administrative status port, allowing the default traffic-port health check to succeed.
- CAdd an outbound rule to the security group of the EC2 instances to allow traffic on port 8081 to the Application Load Balancer, as security groups are stateless and require explicit outbound rules for health check responses.
- DConfigure Amazon Route 53 latency routing to distribute incoming traffic directly to the EC2 instances' Elastic IP addresses, bypassing the Application Load Balancer health check mechanism.