An enterprise has two VPCs (VPC A and VPC B) in the same AWS Region. VPC A hosts a transaction processing application, and VPC B hosts a centralized logging cluster. The application streams approximately of data monthly to the logging cluster. Currently, the two VPCs are connected via an AWS Transit Gateway. The enterprise wants to reduce the network data transfer costs for this log transmission while ensuring that all traffic remains private. Which two of the following configuration changes should a Solutions Architect recommend? (Choose two.)
- Establish a VPC Peering connection between VPC A and VPC B.Cevap
- Update the route tables in both VPC A and VPC B to route the traffic destined for the logging cluster through the VPC Peering connection.Cevap
- CProvision a NAT Gateway in the public subnet of each VPC and route the log traffic over the public internet.
- DEstablish an AWS Site-to-Site VPN connection between the two VPCs to encrypt and route the log traffic.
- ECreate an AWS Transit Gateway Connect attachment and route the traffic through a Generic Routing Encapsulation (GRE) tunnel.
Cevap
Establish a VPC Peering connection between the two VPCs and update the route tables to route the log traffic through the VPC Peering connection instead of the Transit Gateway.
For transferring high volumes of data (such as monthly) between two VPCs in the same AWS Region, establishing a VPC Peering connection is the most cost-effective option. Unlike AWS Transit Gateway, which charges a per-GB processing fee ( per ), VPC Peering has no data processing fees and no hourly connection charges. Traffic routed via VPC Peering only incurs standard inter-AZ data transfer fees if the traffic traverses Availability Zones ( per in each direction). Updating the VPC route tables ensures that the database traffic is directed through the VPC Peering connection rather than the Transit Gateway.
Adım Adım Çözüm
Anahtar Kavram
Choosing VPC Peering over Transit Gateway to minimize data processing fees for high-volume data transfer between VPCs in the same Region.