A startup has deployed two applications in separate Amazon Virtual Private Clouds (VPCs) within the same AWS Region. The startup needs to connect these two VPCs directly so that they can share resources securely using private IP addresses, without routing traffic through a central hub. Which AWS networking feature should the startup use to meet this requirement?
- AAWS Transit Gateway
- BNetwork access control lists (Network ACLs)
- VPC peeringAnswer
- DAvailability Zones
Answer
VPC peering
VPC peering is a networking connection that allows routing of traffic between two Virtual Private Clouds (VPCs) privately. This allows instances in either VPC to communicate with each other as if they were within the same network, making it the most direct and cost-effective solution for a simple two-VPC setup.
Step-by-Step Solution
Key Concept
VPC peering provides private, point-to-point connectivity between two VPCs.