A financial services company hosts a high-frequency transactional application in the us-east-1 region. The application components are distributed across two VPCs: a transaction processing VPC and a ledger database VPC. The VPCs are currently interconnected using an AWS Transit Gateway. During high-volume trading hours, the network latency between the transaction processing application and the ledger database increases, leading to transaction timeouts. The database replication requires maximum throughput and the lowest possible latency. Which network architecture modification will optimize the network performance and reduce latency for this inter-VPC traffic?
- Establish a VPC Peering connection directly between the transaction processing VPC and the ledger database VPC, and update the route tables to route database traffic via the peering connection.Cevap
- BConfigure a Direct Connect Gateway to route the inter-VPC traffic transitively over a dedicated private virtual interface to bypass the Transit Gateway.
- CRoute the inter-VPC replication traffic through a single NAT Gateway deployed in a public subnet of the transaction processing VPC to egress to the public internet.
- DCreate a Route 53 Private Hosted Zone for the ledger database and associate it with both VPCs to enable optimized endpoint routing.
Cevap
Establish a direct VPC Peering connection between the two VPCs and route the database traffic through it.
VPC Peering establishes a direct relationship between two VPCs. Because it does not pass through an intermediate gateway or router instance (like AWS Transit Gateway), it offers lower latency and has no aggregate bandwidth limits, making it the most performant choice for high-throughput database replication.
Adım Adım Çözüm
Anahtar Kavram
VPC Peering provides lower latency and higher bandwidth compared to Transit Gateway because it routes traffic directly on the AWS network fabric without gateway processing overhead.