How do you connect VPCs across two AWS accounts and two regions?
IntermediateScenarioVPC & Cloud Network Design
Answer
Situation read → Cross-account and cross-region are both supported by peering and TGW with some caveats.
What I'd do →
- For a few VPCs use inter-region VPC peering: request from one account, accept in the other, add routes on both sides
- For many VPCs use TGW in each region with a TGW peering attachment and static routes (peering does not propagate)
- Share a TGW across accounts with AWS RAM
- Remember inter-region traffic is encrypted on the AWS backbone and billed per GB
Why → TGW peering routes are static, so you must add both sides explicitly.
Interview tip → Say you lay out CIDRs globally first because peering across regions amplifies any overlap.
More on VPC & Cloud Network Design
What makes a subnet public versus private in AWS?BeginnerExplain internet gateway versus NAT gateway and when you use each.BeginnerPrivate instances need to pull packages from the internet but must not be reachable from it. What do you set up?BeginnerWhy shouldn't production run in the default VPC?BeginnerPublic IP, Elastic IP and private IP: how do they differ on EC2?BeginnerWhy use SSM Session Manager instead of a bastion host?Beginner