Which solution will meet these requirements?
Configure an Amazon Route 53 failover routing policy. Create a Network Load Balancer (NLB) in each of the two Regions. Configure the NLB to invoke an AWS Lambda function to process the data.
Use AWS Global Accelerator. Create a Network Load Balancer (NLB) in each of the two Regions as an endpoint. Create an Amazon Elastic Container Service (Amazon ECS) cluster with the Fargate launch type. Create an ECS service on the cluster. Set the ECS service as the target for the NLB. Process the data in Amazon ECS.
Use AWS Global Accelerator. Create an Application Load Balancer (ALB) in each of the two Regions as an endpoint. Create an Amazon Elastic Container Service (Amazon ECS) cluster with the Fargate launch type. Create an ECS service on the cluster. Set the ECS service as the target for the ALB. Process the data in Amazon ECS.
Configure an Amazon Route 53 failover routing policy. Create an Application Load Balancer (ALB) in each of the two Regions. Create an Amazon Elastic Container Service (Amazon ECS) cluster with the Fargate launch type. Create an ECS service on the cluster. Set the ECS service as the target for the ALB. Process the data in Amazon ECS.
Explanations:
While Route 53 can handle DNS failover, it introduces latency due to DNS resolution times, which is not ideal for UDP traffic that requires low latency. Additionally, using a Lambda function for data processing can add further latency compared to using a more persistent processing environment like ECS.
AWS Global Accelerator optimizes the path to the application, providing low-latency access to the NLB endpoints in multiple regions. The use of ECS with Fargate allows for scalable and efficient data processing, ensuring rapid failover as Global Accelerator can route traffic to the closest healthy endpoint with minimal delay.
Although Global Accelerator provides low latency and NLBs are suitable for UDP, using an ALB is less ideal for UDP traffic as ALBs are optimized for HTTP/S protocols. This could introduce unnecessary latency and complexity in the processing of UDP packets.
Similar to option A, Route 53’s DNS-based failover can introduce latency, and while ALBs can be configured in multiple regions, they are not optimized for UDP traffic, making this option less effective for the requirements of low-latency data processing.