A global logistics company has deployed a fleet-tracking application that ingests real-time telemetry data from vehicle sensors using a proprietary TCP-based protocol. The backend application is hosted on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB) in a primary AWS Region. The company requires a highly resilient architecture that minimizes latency for global clients, prevents packet loss over the public internet, and automatically fails over to a secondary Region in the event of an outage. Which architecture should a solutions architect recommend to meet these requirements?
- ACreate an Amazon CloudFront distribution with the ALBs configured in an origin group for failover. Set the caching behavior to forward all headers and query parameters, and set the default Time to Live (TTL) to zero.
- Create an AWS Global Accelerator accelerator, and associate the ALBs in both the primary and secondary Regions as endpoints. Configure the vehicle sensors to send telemetry data to the static IP addresses provided by the accelerator.Answer
- CConfigure Amazon Route 53 with latency-based routing and health checks pointing to the ALBs in both Regions, allowing client sensors to establish direct TCP connections over the public internet to the closest regional endpoint.
- DDeploy an AWS WAF Web ACL associated with AWS Shield Advanced at the edge, and configure it to route incoming TCP traffic from the sensors directly to the ALBs in both Regions using IP-based rules.
Answer
Create an AWS Global Accelerator accelerator, associate the Application Load Balancers in both Regions as endpoints, and configure the vehicle sensors to send telemetry data to the accelerator's static IP addresses.
AWS Global Accelerator is the correct solution because it supports TCP and UDP protocols, routes traffic over the congestion-free AWS global network to minimize latency and packet loss, and provides automatic regional failover via health checks. Additionally, it offers static Anycast IP addresses, eliminating issues associated with DNS caching.
Step-by-Step Solution
Key Concept
AWS Global Accelerator vs. Amazon CloudFront for non-HTTP protocols and multi-region resiliency.
Estimated Time:2m 30s