An architecture team is designing a global IoT telemetry solution. The system collects continuous status reports from millions of devices using a custom TCP-based protocol. The backend ingestion servers run on Amazon EC2 instances behind Application Load Balancers (ALBs) deployed in the us-east-1 and eu-west-1 regions. The solution must minimize packet latency, route device traffic to the nearest healthy region, and automatically failover within seconds during a regional outage. Which AWS service configuration meets these resilience and performance requirements?
- Provision AWS Global Accelerator and associate the Application Load Balancers (ALBs) in both regions as endpoints. Configure the accelerator to route custom TCP traffic over the AWS global network to the nearest healthy ALB, providing automatic failover.Cevap
- BCreate an Amazon CloudFront distribution with the Application Load Balancers (ALBs) configured in an origin group. Set the default Cache-Control headers and Time-To-Live (TTL) to zero to route the custom TCP telemetry traffic without caching.
- CUse Amazon Route 53 with a latency-based routing policy to route client traffic directly to the Application Load Balancers (ALBs). Rely on the client’s DNS cache expiration to handle regional failover when an ALB becomes unhealthy.
- DDeploy AWS WAF at the edge to inspect incoming custom TCP traffic and configure AWS Shield Standard on the Application Load Balancers (ALBs) to manage cross-region failover and traffic redirection.
Cevap
Provision AWS Global Accelerator and associate the Application Load Balancers (ALBs) in both regions as endpoints. Configure the accelerator to route custom TCP traffic over the AWS global network to the nearest healthy ALB, providing automatic failover.
AWS Global Accelerator is designed to optimize performance and availability for TCP and UDP traffic. It uses Anycast IP addresses to ingest traffic at the edge location closest to the user and routes it over the AWS global network to the nearest healthy regional endpoint. It performs continuous health checks and automatically redirects traffic to healthy endpoints in other regions within seconds if a regional failure occurs.
Adım Adım Çözüm
Anahtar Kavram
AWS Global Accelerator vs. Amazon CloudFront for non-HTTP TCP traffic failover and optimization
Tahmini Süre:2m 0s