A company is deploying a new web application on Amazon EC2 instances managed by an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The solutions architect needs to ensure that the ALB only routes traffic to instances that are running the web service successfully, and that the ASG automatically terminates and replaces any instance where the web service has failed. Which two configurations should the solutions architect implement to meet these requirements? (Select two.)
- Set the Auto Scaling group health check type to ELB.Answer
- Configure the Application Load Balancer target group health check to monitor the specific port and path where the web application is running.Answer
- CConfigure the Application Load Balancer target group health check to use the default port 80 while the web application is configured to listen on a custom port.
- DUpdate the subnet Network Access Control Lists (Network ACLs) to be stateful to allow return health check traffic.
- ECreate a Route 53 Latency routing policy to automatically detect failed EC2 instances and remove them from the target group.
Answer
To meet the requirements, the solutions architect must set the Auto Scaling group health check type to ELB and configure the Application Load Balancer target group health check to monitor the specific port and path where the web application is running.
Configuring the Auto Scaling group to use ELB health checks ensures that the group will replace instances if they fail the application-level load balancer health checks. Configuring the Application Load Balancer target group health check to monitor the specific port and path where the web application is running ensures that the load balancer correctly identifies whether the application itself is healthy, rather than just the underlying EC2 instance.
Step-by-Step Solution
Key Concept
ELB and Auto Scaling Group Health Check Integration
Estimated Time:1m 0s