A SysOps administrator is managing an Application Load Balancer (ALB) that routes traffic to a Target Group of Amazon EC2 instances. The Target Group is configured to receive HTTPS traffic on port . The health check is configured to use the HTTP protocol on port targeting the `/health` endpoint. The security group associated with the EC2 instances allows inbound TCP traffic on port from the ALB's security group, but the ALB marks all instances as unhealthy. Which of the following actions should the administrator take to resolve this issue and allow the health checks to pass?
- AModify the health check port in the target group configuration to use the traffic port (port ) but keep the protocol as HTTP.
- BConfigure an Amazon Route DNS failover routing policy to bypass the load balancer and send traffic directly to the instances when health checks fail.
- Add a rule to the security group associated with the EC2 instances that allows inbound TCP traffic on port from the load balancer's security group.Cevap
- DModify the stateless network ACL of the EC2 instances' subnet to allow outbound ephemeral port traffic (-) to all destinations.
Cevap
Add a rule to the security group associated with the EC2 instances that allows inbound TCP traffic on port from the load balancer's security group.
Adding an inbound rule for TCP port from the load balancer's security group to the EC2 instances' security group resolves the issue because the Application Load Balancer performs health checks using the HTTP protocol on port . Although the instances allow HTTPS traffic on port , the health check requests on port were being blocked by the instances' security group.
Adım Adım Çözüm
Anahtar Kavram
Elastic Load Balancing target group health check security group configuration
Tahmini Süre:2m 0s