A financial services provider hosts a core trading application in the us-east-1 Region across three VPCs: TradeExecution, AccountLedger, and MarketData. The VPCs must exchange high-throughput, low-latency messages with each other, and also communicate with an on-premises datacenter over a 10 Gbps AWS Direct Connect connection. The application instances run in private subnets across multiple Availability Zones (AZs).
During high-volume events, the provider experiences several issues:
1. High packet loss and latency during sudden, massive traffic spikes on the front-end application layer, which runs behind Application Load Balancers (ALBs).
2. DNS resolution failures when on-premises systems attempt to resolve the private DNS names of the services hosted within the Route 53 Private Hosted Zone (PHZ).
3. Outbound security updates and third-party API calls fail or incur high latency when an AZ hosting the primary NAT Gateway experiences network degradation.
4. Latency-sensitive inter-VPC communication is currently routed via an on-premises firewall, causing a massive latency penalty.
Which set of actions should the solutions architect implement to optimize network performance, minimize latency, and resolve these issues?
- AConnect all three VPCs directly to the Direct Connect Gateway using private virtual interfaces to allow direct inter-VPC transitive routing and on-premises connectivity. Deploy Route 53 Resolver Inbound Endpoints in the Shared Services VPC and associate the Private Hosted Zone with all VPCs. Deploy redundant NAT Gateways in each Availability Zone for each VPC. Replace the front-end Application Load Balancers with Network Load Balancers.
- BEstablish an AWS Transit Gateway to route inter-VPC and on-premises traffic via a Direct Connect Gateway. Deploy Route 53 Resolver Inbound Endpoints in the Shared Services VPC to handle DNS requests from on-premises, but omit associating the Private Hosted Zone with the other application VPCs to avoid DNS loop configurations. Deploy redundant NAT Gateways in each Availability Zone for each VPC. Replace the front-end Application Load Balancers with Network Load Balancers.
- Establish an AWS Transit Gateway to route inter-VPC and on-premises traffic via a Direct Connect Gateway, enabling high-throughput, low-latency transitive routing. Associate the Route 53 Private Hosted Zone with all three VPCs and deploy Route 53 Resolver Inbound Endpoints in the Shared Services VPC. Deploy redundant NAT Gateways in each Availability Zone for each VPC to keep outbound traffic local to the Availability Zone. Replace the front-end Application Load Balancers with Network Load Balancers.Answer
- DEstablish an AWS Transit Gateway to route inter-VPC and on-premises traffic via a Direct Connect Gateway. Associate the Route 53 Private Hosted Zone with all three VPCs and deploy Route 53 Resolver Inbound Endpoints in the Shared Services VPC. Deploy a single central NAT Gateway in the Shared Services VPC and update the route tables of the other VPCs to route outbound internet traffic through this single gateway to reduce NAT Gateway hourly charges. Replace the front-end Application Load Balancers with Network Load Balancers.