Soru

Zorluk: OrtaEdge Caching and Content Delivery for Resilient Architectures

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?

  1. A
    Configure 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.
  2. B
    Create 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.
  3. 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.Cevap
  4. D
    Deploy 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.

Cevap

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.

Adım Adım Çözüm

1
Analyze the protocols and traffic types: the telemetry stream uses a custom UDP protocol, and the historical reports are static PDF files delivered over HTTPS.
Identify that CloudFront cannot be used for the UDP stream as it only supports HTTP/HTTPS, and that S3 downloads are static and would benefit from edge caching.
Choosing the correct acceleration and delivery mechanism depends on protocol support and content type (cachable vs non-cachable).
2
Select the appropriate network acceleration tool for the UDP traffic to solve packet loss and latency over the public internet.
Select AWS Global Accelerator, which provides static IP addresses and Anycast routing to direct UDP traffic over the AWS global network to the NLB, bypassing public internet congestion.
Route 53 latency routing only resolves DNS and does not optimize path transit or prevent packet loss over the public internet.
3
Select the caching solution for the static PDF files stored in S3.
Select Amazon CloudFront to cache the PDF files at Edge Locations globally.
Caching static files close to users reduces latency and offloads read operations from the origin S3 bucket, maintaining high availability.

Anahtar Kavram

Selecting and combining Amazon CloudFront and AWS Global Accelerator based on protocol support and caching requirements.
Bu soruyu puanla