A logistics company operates a fleet of IoT tracking devices that transmit real-time location telemetry using a custom UDP-based protocol to Amazon EC2 instances behind a Network Load Balancer (NLB) in a single AWS Region. The company also hosts a web portal where global clients download large, historical tracking reports in PDF format stored in an Amazon S3 bucket. Clients are experiencing high latency when downloading reports, and the IoT devices suffer from packet loss over the public internet during peak hours. A solutions architect must design a highly resilient architecture to reduce latency and packet loss. Which solution should the solutions architect recommend?
- AConfigure an Amazon CloudFront distribution to serve both the PDF reports and the UDP telemetry traffic, and enable AWS Shield Advanced on CloudFront to protect the UDP stream from application-layer exploits.
- BCreate an Amazon CloudFront distribution to cache and serve the PDF reports, and configure Amazon Route 53 with latency-based routing to route the UDP telemetry traffic directly to the EC2 instances.
- Deploy AWS Global Accelerator to route the UDP telemetry traffic to the Network Load Balancer, and create an Amazon CloudFront distribution to cache and serve the PDF reports from the Amazon S3 bucket.Answer
- DDeploy AWS Global Accelerator to route both the UDP telemetry traffic and the HTTPS traffic for the S3 bucket, using a single accelerator endpoint to optimize routing without caching.
Answer
Deploy AWS Global Accelerator to route the UDP telemetry traffic to the Network Load Balancer, and create an Amazon CloudFront distribution to cache and serve the PDF reports from the Amazon S3 bucket.
The correct solution uses AWS Global Accelerator to route the UDP telemetry traffic over the AWS global network to the Network Load Balancer, minimizing latency and packet loss. Concurrently, it uses Amazon CloudFront to cache and serve the static PDF reports from the S3 bucket close to the users, offloading the S3 origin and optimizing performance.
Step-by-Step Solution
Key Concept
Selecting and combining Amazon CloudFront and AWS Global Accelerator based on protocol support and caching requirements.