Two AWS regions must work in active-active. How do you design the network?
AdvancedScenarioVPC & Cloud Network Design
Answer
Situation read → Think connectivity, traffic steering and failure domains.
What I'd do →
- Give each region non-overlapping VPC CIDRs and connect with TGW inter-region peering
- Use Route 53 latency or weighted records with health checks, or Global Accelerator for anycast entry
- Keep data replication on private paths (Aurora Global, DynamoDB global tables)
- Make each region self-sufficient for DNS, NAT and endpoints
- Test region evacuation with game days
Why → Active-active only works if each region can stand alone when the link or the other region fails.
Interview tip → Mention the egress cost of replication traffic.
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