A company hosts a data processing application on Amazon EC2 instances in private subnets within VPC A. The application replicates approximately of data monthly to a database cluster hosted on EC2 instances in VPC B within the same AWS Region. Currently, the VPCs are connected using an AWS Transit Gateway, and the application connects to the database cluster using its public DNS hostname, which routes traffic through NAT Gateways. Which configuration should a solutions architect recommend to minimize the data transfer costs?
- Establish a VPC peering connection between VPC A and VPC B, and update the route tables to route traffic destined for the database replica's private IP range through the peering connection.Cevap
- BKeep the AWS Transit Gateway connection, but update the application configuration to connect to the database replica using its private IP address.
- CEstablish an AWS Site-to-Site VPN connection between VPC A and VPC B to route the database replication traffic over private IP addresses.
- DPurchase a Compute Savings Plan to offset the data processing charges incurred by the NAT Gateway and the AWS Transit Gateway.
Cevap
Establish a VPC peering connection between VPC A and VPC B, and update the route tables to route traffic destined for the database replica's private IP range through the peering connection.
Establishing a VPC peering connection eliminates the AWS Transit Gateway processing fee of 0.045 per GB.
Adım Adım Çözüm
Anahtar Kavram
Bypassing intermediate NAT Gateways and Transit Gateways for high-volume inter-VPC traffic using VPC Peering and private IP routing to eliminate data processing fees.