A company has two core applications deployed in separate VPCs (`VPC-A` and `VPC-B`) within the `us-east-1` Region. The application in `VPC-A` processes telemetry data and replicates approximately of data monthly to a database cluster in `VPC-B`. Both VPCs are connected via an existing AWS Transit Gateway, which also provides hybrid connectivity to the company's on-premises data center. The finance department has flagged high Transit Gateway data processing charges associated with this inter-VPC replication traffic. Which of the following is the most cost-effective routing architecture to reduce data transfer costs while maintaining the existing hybrid connectivity?
- Establish a VPC Peering connection between VPC-A and VPC-B, and update the route tables in both VPCs to route the database replication traffic through the peering connection while keeping the Transit Gateway for hybrid traffic.Cevap
- BReplace the Transit Gateway with an AWS Direct Connect Gateway to handle both the inter-VPC database replication traffic and the hybrid connectivity to the on-premises data center.
- CCreate a VPN connection over the internet between the virtual private gateways of VPC-A and VPC-B, and deploy a single NAT Gateway in VPC-A to route replication traffic through the VPN.
- DUse AWS Resource Access Manager (RAM) to share the Transit Gateway attachment of VPC-B with the AWS account hosting VPC-A to enable direct subnet-to-subnet routing and bypass Transit Gateway data processing charges.
Cevap
Establish a VPC Peering connection between VPC-A and VPC-B, and update the route tables in both VPCs to route the database replication traffic through the peering connection while keeping the Transit Gateway for hybrid traffic.
Establishing a VPC Peering connection for high-volume inter-VPC replication traffic is the most cost-effective approach. AWS Transit Gateway charges 6,000 of unnecessary monthly overhead for $300 TB of data. Since VPC Peering has no data processing fees, migrating the replication traffic to a peering connection eliminates this charge entirely. The Transit Gateway can still be kept active to handle hybrid routing to the on-premises data center.
Adım Adım Çözüm
Anahtar Kavram
Optimizing inter-VPC data transfer costs by leveraging VPC Peering instead of Transit Gateway for high-volume localized traffic.