An insurance firm runs a distributed risk-modeling application on Amazon EC2 instances. The application consists of compute nodes that frequently communicate with each other, requiring low-latency and high-throughput node-to-node network communication. A Network Load Balancer (NLB) distributes incoming simulation jobs to these EC2 instances on custom port 8090. The target group is configured to perform health checks on port 80, which causes the NLB to mark all instances as unhealthy. Which two configuration changes should a solutions architect make to resolve these issues and optimize the compute architecture?
- Launch the EC2 instances in a cluster placement group.Answer
- Modify the target group health check configuration to query port 8090.Answer
- CLaunch the EC2 instances in a spread placement group.
- DLaunch the EC2 instances in a partition placement group.
- EConfigure the target group health checks to use port 443.
Answer
Deploy the EC2 instances in a cluster placement group, and modify the target group health check configuration to query port 8090.
To achieve low-latency and high-throughput communication between nodes, instances must be launched in a cluster placement group. Additionally, since the application listens on port 8090 and the target group is querying port 80, the health check port configuration must be changed to port 8090 so that the Network Load Balancer can successfully verify instance health.
Step-by-Step Solution
Key Concept
Selecting cluster placement groups for low-latency node-to-node communication and aligning target group health check ports with the application port.