A financial services company hosts a latency-sensitive trading application on Amazon EC2 instances across two Availability Zones in a VPC in the `us-east-1` Region. The application requires high-throughput, low-latency connectivity to an on-premises database server via an established AWS Direct Connect connection. The application also needs to access external financial market data feeds on the internet, and resolve internal service endpoints in a shared services VPC within the same region using an Amazon Route 53 Private Hosted Zone.
During peak trading hours, the application experiences latency spikes when querying the on-premises database, and instances in the secondary Availability Zone fail to reach the internet when the primary Availability Zone experiences issues. Additionally, instances in the application VPC are unable to resolve the internal endpoints of the shared services VPC.
Which architecture optimization strategy will resolve the latency and connectivity issues while maintaining high availability?
- Enable jumbo frames by configuring the MTU to on the AWS Direct Connect private virtual interface and the EC2 instances; deploy a NAT Gateway in each Availability Zone public subnet and update the private subnet route tables; and associate the shared services Route 53 Private Hosted Zone with the application VPC.Cevap
- BEnable jumbo frames by configuring the MTU to on the AWS Direct Connect private virtual interface and the EC2 instances; deploy a NAT Gateway in each Availability Zone public subnet; and rely on VPC peering between the VPCs to automatically resolve the shared services DNS endpoints without associating the Private Hosted Zone with the application VPC.
- CEnable jumbo frames by configuring the MTU to on the AWS Direct Connect private virtual interface and the EC2 instances; deploy a single NAT Gateway in the public subnet of the primary Availability Zone and route outbound internet traffic from both Availability Zones to this NAT Gateway; and associate the shared services Route 53 Private Hosted Zone with the application VPC.
- DConfigure transitive VPC-to-VPC routing through the AWS Direct Connect Gateway to enable communication between the application VPC and the shared services VPC; deploy a NAT Gateway in each Availability Zone public subnet; and associate the shared services Route 53 Private Hosted Zone with the application VPC.