A company has two VPCs in the same AWS Region and needs to connect them to allow high-volume data transfers between applications. The company wants to minimize data transfer and connection infrastructure costs. Which two options should the solutions architect choose to meet these requirements? (Select TWO.)
- Establish a VPC peering connection between the two VPCs.Answer
- Configure the applications to communicate using private IP addresses.Answer
- CSet up an AWS Transit Gateway to route traffic between the VPCs.
- DRoute traffic through NAT Gateways deployed in public subnets in each VPC.
- ERoute traffic over the internet using Elastic IP addresses assigned to the instances.
Answer
Establishing a VPC peering connection and configuring the applications to communicate using private IP addresses.
Establishing a VPC peering connection is the most cost-effective way to connect two VPCs in the same Region because VPC peering has no hourly charge and no data processing fees. Configuring applications to use private IP addresses ensures that traffic routes directly over the peering connection, avoiding the hourly and data processing costs of NAT Gateways or the egress costs of public internet routing.
Step-by-Step Solution
Key Concept
VPC Peering and private IP routing are the most cost-effective methods for inter-VPC communication within the same Region.