What is AWS VPC Peering?
Private network connection between two VPCs, in the same or a different account or region.
Use cases
- Privately connecting a few VPCs
- Sharing services between accounts
What to know for the exam
- Not transitive
- CIDR ranges cannot overlap
- Route tables must be updated on both sides
When to choose one or the other
| Alternative | When to choose it |
|---|---|
| Transit Gateway | Transit Gateway for many VPCs and centralised routing |
| PrivateLink | PrivateLink to expose a single service without connecting whole networks |
Do you know it? Check it
The practice includes questions about AWS VPC Peering with an explanation for every option. You can practice for free in the app, no sign-up.