A company operates a globally distributed mobile gaming application. The gaming client communicates with a backend matchmaking and state service using a custom TCP-based protocol. The backend is currently hosted on Amazon ECS tasks behind an Application Load Balancer (ALB) in a single AWS Region. Users in distant regions are experiencing high latency and connection timeouts due to public internet routing inefficiencies. Additionally, client devices require a fixed set of IP addresses for security allowlisting in corporate firewalls. Which solution should a solutions architect recommend to resolve the latency issues while meeting the security requirements?
- Configure AWS Global Accelerator in front of the ALB. Register the ALB as the endpoint group target. Update the client configuration to connect via the provided Anycast static IP addresses.Cevap
- BConfigure an Amazon CloudFront distribution with the ALB as the origin. Route traffic through CloudFront using a custom Domain Name System (DNS) record, and enable Origin Shield.
- CConfigure Amazon Route 53 with latency-based routing to resolve the application's domain name directly to the ALB. Apply AWS WAF to the ALB to accelerate TCP connections.
- DDeploy AWS WAF and enable AWS Shield Advanced directly on the ALB. Use the AWS Shield Anycast IPs to route global client traffic through the nearest AWS edge location.
Cevap
Configure AWS Global Accelerator in front of the ALB. Register the ALB as the endpoint group target. Update the client configuration to connect via the provided Anycast static IP addresses.
AWS Global Accelerator is designed to optimize routing and improve availability for TCP and UDP traffic by onboarding traffic at the nearest AWS Edge Location and routing it over the congestion-free AWS global network. It also provides two static Anycast IP addresses, which satisfies the client firewall allowlisting requirement.
Adım Adım Çözüm
Anahtar Kavram
AWS Global Accelerator vs. Amazon CloudFront for non-HTTP/S TCP traffic
Tahmini Süre:1m 30s