An online multiplayer gaming platform hosts real-time match sessions on a fleet of Amazon EC2 instances. The game server software runs on custom TCP port 8200, and a Network Load Balancer (NLB) distributes player connections across the fleet. To maintain game state consistency, the instances require the highest possible throughput and lowest packet latency for their inter-node synchronization. During testing, the game instances are marked as unhealthy by the NLB, preventing player traffic from reaching the active sessions. Which configuration strategy resolves the health check failure while ensuring optimal node-to-node network performance?
- AUtilize a spread placement group for the EC2 instances, and configure the Network Load Balancer's target group health check to use the custom port 8200.
- BUtilize a cluster placement group for the EC2 instances, and configure the Network Load Balancer's target group health check to use the default port.
- CUtilize a partition placement group for the EC2 instances, and configure the Network Load Balancer's target group health check to use the default port.
- Utilize a cluster placement group for the EC2 instances, and configure the Network Load Balancer's target group health check to use the custom port 8200.Answer
Answer
Utilize a cluster placement group for the EC2 instances, and configure the Network Load Balancer's target group health check to use the custom port 8200.
The correct strategy is to utilize a cluster placement group for the EC2 instances and configure the Network Load Balancer's target group health check to use the custom port 8200. A cluster placement group groups instances closely inside a single Availability Zone to enable low-latency, 10 Gbps or higher node-to-node throughput. Additionally, because the game server process is bound to the custom port 8200, the target group's health checks must be explicitly pointed to port 8200 so the load balancer can verify application health rather than failing on a default port.
Step-by-Step Solution
Key Concept
Selecting the optimal placement group for latency-sensitive workloads and aligning load balancer health checks with custom application ports.
Estimated Time:1m 30s