A materials science laboratory is deploying a distributed crystalline structure simulation on Amazon EC2 instances. The simulation nodes run a specialized Message Passing Interface (MPI) application that requires sub-10 microsecond network latency. The coordination service runs on port . A Network Load Balancer (NLB) is configured to route traffic to the instances, but all instances are currently marked as unhealthy in the target group, and latency between the nodes is suboptimal. Which combination of actions will resolve the latency issues and fix the health check failures?
- Deploy the EC2 instances in a cluster placement group within a single Availability Zone, and update the Network Load Balancer target group health check port to 9095.Answer
- BDeploy the EC2 instances in a spread placement group within a single Availability Zone, and configure the Network Load Balancer target group health check to use the default port 80.
- CDeploy the EC2 instances in a partition placement group across multiple Availability Zones, and configure the Network Load Balancer target group health check port to 9095.
- DDeploy the EC2 instances in a cluster placement group spanning multiple Availability Zones, and update the Network Load Balancer target group health check port to 9095.
Answer
Deploy the EC2 instances in a cluster placement group within a single Availability Zone, and update the Network Load Balancer target group health check port to 9095.
Deploying the instances in a cluster placement group within a single Availability Zone ensures the lowest possible latency and highest network performance, which is required for tightly coupled MPI applications. Updating the target group health check port to 9095 aligns the Network Load Balancer's health checks with the custom port where the simulation's coordination service is listening, resolving the health check failures.
Step-by-Step Solution
Key Concept
Selecting the correct EC2 placement group for low-latency requirements and configuring matching health check ports in Elastic Load Balancing.