Interview Prep/Networking/VPC & Cloud Network Design

How do you design a highly available 3-tier network in one region?

IntermediateScenarioVPC & Cloud Network Design
Answer

Situation read → The interviewer wants AZ redundancy per tier and a clear traffic flow.

What I'd do →

  1. Use a VPC with subnets in at least 3 AZs per tier: public (ALB, NAT), private app, private data
  2. Put one NAT gateway per AZ and route each AZ's private subnet to its own NAT
  3. Place the ALB across all public subnets and spread ASG instances across private app subnets
  4. Isolate data subnets with no default route, reachable only from the app security group
  5. Add flow logs and endpoints for S3, ECR and SSM

Why → A single NAT gateway is a hidden single point of failure and also adds cross-AZ data charges.

Interview tip → Draw the picture; interviewers reward seeing the flow ALB to app to DB.

All Networking questions Roadmap: Networking for DevOps

More on VPC & Cloud Network Design