Design a multi-account landing zone network with centralized inspection and egress.
AdvancedScenarioVPC & Cloud Network Design
Answer
Situation read → The expected answer is a hub VPC pattern with Transit Gateway and firewalls.
What I'd do →
- Create an inspection VPC with Gateway Load Balancer endpoints and firewall appliances
- Attach all spoke VPCs to a TGW with appliance mode enabled on the inspection attachment
- Route spoke default routes to TGW, and TGW to inspection, then inspection to a central egress VPC with NAT gateways
- Use separate route tables for spoke, inspection and egress
- Manage with Terraform and AWS Network Firewall rule groups
Why → Appliance mode keeps both directions of a flow in the same AZ so stateful inspection works.
Interview tip → Mention that central egress simplifies allow-lists, but TGW data processing cost can be higher than local NAT.
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