A financial services firm is deploying a containerized risk-modeling application on Amazon ECS using the Amazon EC2 launch type. The ECS tasks run on the EC2 instances using the host network mode. The compute processes within the containers use the Message Passing Interface (MPI) to perform tightly-coupled parallel calculations across multiple container instances, which requires sub-millisecond node-to-node network latency. Client requests are routed to the application container on port 8443 via a Network Load Balancer (NLB). A separate health-reporting daemon runs on port 8088 on each EC2 instance. Currently, the inter-node MPI communication is slow, resulting in calculation timeouts, and the NLB is marking all target EC2 instances as unhealthy. Which combination of actions should a solutions architect take to resolve these issues?
- ALaunch the EC2 container instances in a spread placement group. In the NLB target group settings, configure the health check port to explicitly query port 8088.
- BLaunch the EC2 container instances in a cluster placement group. Leave the NLB target group health check port set to the default traffic-port.
- Launch the EC2 container instances in a cluster placement group. In the NLB target group settings, configure the health check port to explicitly query port 8088.Cevap
- DLaunch the EC2 container instances in a partition placement group. Leave the NLB target group health check port set to the default traffic-port.