A financial services firm is deploying a distributed, real-time risk modeling engine on a fleet of Amazon EC2 instances. The modeling nodes require the lowest possible latency and maximum network throughput for node-to-node communication to synchronize state. The application runs on a custom port of on each instance. An Application Load Balancer (ALB) is configured to route traffic to the instances on port . The Solutions Architect needs to ensure the instances can communicate efficiently and are not mistakenly marked as unhealthy by the ALB. Which combination of actions should the Solutions Architect take to meet these requirements? (Select TWO.)
- Launch the EC2 instances within a cluster placement group in a single Availability ZoneAnswer
- Set the target group health check port configuration to 'traffic-port' or explicitly to port Answer
- CLaunch the EC2 instances within a spread placement group across multiple Availability Zones
- DLeave the target group health check port configuration at its default value of port
- ELaunch the EC2 instances within a partition placement group with a partition count of
Answer
To meet the requirements, the Solutions Architect should launch the EC2 instances in a cluster placement group and configure the ALB target group health check port to 'traffic-port' or explicitly to port .
Launching instances within a cluster placement group provides low-latency, high-throughput network performance by placing them close together within a single Availability Zone. Setting the health check port to the traffic port or explicitly to port ensures the load balancer verifies the actual port where the application is listening, preventing healthy instances from being falsely marked as unhealthy.
Step-by-Step Solution
Key Concept
Optimizing compute networks using placement groups and aligning load balancer health check ports with custom application ports.