A company is deploying a distributed financial transaction processing application on a cluster of Amazon EC2 instances. The nodes in the cluster must communicate with each other with the lowest possible network latency and the highest throughput. Which EC2 configuration should a solutions architect select to meet these networking requirements?
- Launch the EC2 instances in a cluster placement group within a single Availability Zone.Answer
- BLaunch the EC2 instances in a spread placement group across multiple Availability Zones.
- CLaunch the EC2 instances in a partition placement group to isolate the nodes onto separate logical partitions.
- DDeploy the EC2 instances behind an Application Load Balancer and configure the target group health check to query HTTP port 80 while the application service runs on port 8080.
Answer
Launch the EC2 instances in a cluster placement group within a single Availability Zone.
Launching the EC2 instances in a cluster placement group within a single Availability Zone is correct because it logically groups the instances on the same physical hardware backplane. This provides the minimum possible physical distance between the network interfaces, enabling low-latency, high-throughput node-to-node communication.
Step-by-Step Solution
Key Concept
EC2 Placement Groups for High-Performing Compute