A financial firm is deploying a web application on Amazon EC2 instances in private subnets. The instances are managed by an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The application is configured to listen on port 8080. After deployment, the ALB is marking all registered EC2 instances as unhealthy. The solutions architect must resolve the health check failures and ensure the architecture is secure and resilient. Which combination of actions should the solutions architect take to resolve this issue? (Select two.)
- Update the ALB target group health check settings to explicitly use port 8080.Cevap
- Configure the security group of the EC2 instances to allow inbound traffic on port 8080 from the security group of the ALB.Cevap
- CModify the target group to perform health checks on port 80, expecting the operating system to automatically forward the probes to port 8080.
- DChange the Network ACL of the private subnet to stateful mode to automatically permit ephemeral port return traffic for the health checks.
- ESet up an Amazon Route 53 Latency routing policy targeting the individual private IP addresses of the EC2 instances to bypass the ALB's health checks.
Cevap
Update the ALB target group health check settings to explicitly use port 8080, and configure the security group of the EC2 instances to allow inbound traffic on port 8080 from the security group of the ALB.
To resolve the health check issues, the target group's health check configuration must be modified to query port 8080 where the application is listening, and the EC2 security group must allow inbound traffic on port 8080 from the ALB security group to allow the probes to succeed.
Adım Adım Çözüm
Anahtar Kavram
ELB health check configuration and target group security integration