A company runs a multiplayer gaming application on Amazon EC2 instances in the us-east-1 Region. The application uses the UDP protocol for real-time communication between players and game servers. Players in Asia and Europe report high latency and packet loss. The company wants to improve performance by directing player traffic from the nearest edge location to the application over the AWS global network, without modifying the application code. Which AWS service should the company use?
AWS Global Accelerator uses the AWS global network to improve the performance of TCP/UDP applications. It directs user traffic to the nearest edge location and then routes it over the AWS global backbone to the optimal regional endpoint, reducing latency and packet loss. This matches the requirement for UDP-based gaming application without application changes.
Why this answer
AWS Global Accelerator uses the AWS global network to route UDP traffic from the nearest edge location to the application, reducing latency and packet loss without requiring code changes. It leverages Anycast IP addresses to direct player traffic to the closest edge location, then transports it over the optimized AWS backbone to the EC2 instances in us-east-1.
Exam trap
The trap here is that candidates often confuse CloudFront's edge caching with Global Accelerator's network path optimization, but CloudFront does not support UDP and cannot accelerate non-HTTP traffic without application changes.
Why the other options are wrong
Amazon CloudFront is a content delivery network (CDN) optimized for HTTP/HTTPS traffic and does not support UDP protocols, which are required for the gaming application's real-time communication.
Amazon Route 53 latency routing directs traffic based on DNS resolution, but it does not provide a static IP or optimize the network path over the AWS global network for UDP traffic. It also requires application code changes to handle multiple IP addresses and does not address packet loss or high latency for real-time UDP gaming.
AWS Site-to-Site VPN creates an encrypted tunnel between on-premises networks and AWS VPCs, but it does not provide global edge acceleration for UDP traffic or route players to the nearest edge location. It also requires modifying network configurations, not application code, but it doesn't address latency and packet loss for global users.