A financial services company is deploying a high-frequency trading application on a fleet of Amazon EC2 instances. The application requires extremely low-latency, point-to-point network communication between the EC2 instances to coordinate order matching. The instances are managed by an Auto Scaling group and sit behind an Application Load Balancer. The application service is bound to port , but the target group health check is querying the default HTTP port , marking the instances as unhealthy. Which combination of actions should a solutions architect take to resolve the health check issues and optimize the network performance of the instances?
- ALeave the target group health check port configured to port , and launch the EC2 instances in a cluster placement group.
- Modify the target group health check settings to query port , and launch the EC2 instances in a cluster placement group.Answer
- CModify the target group health check settings to query port , and launch the EC2 instances in a spread placement group.
- DLeave the target group health check port configured to port , and launch the EC2 instances in a partition placement group.
Answer
Modify the target group health check settings to query port , and launch the EC2 instances in a cluster placement group.
The correct solution is to modify the target group health check settings to query port and launch the EC2 instances in a cluster placement group. A cluster placement group groups instances closely together within a single Availability Zone, enabling low-latency, high-throughput network communication. Changing the health check port to ensures the load balancer queries the active port of the application, resolving the health check failures.
Step-by-Step Solution
Key Concept
Optimizing EC2 network latency using placement groups and aligning load balancer health check ports with active services.