Skill 1.2.2
Determining network segmentation strategies (for example, using public subnets and private subnets)
Key Concepts
The classic three-tier layout puts only internet-facing load balancers (and NAT gateways) in public subnets, application servers in private subnets, and databases in isolated data subnets with no internet route. Each tier spans at least two AZs, and security groups allow traffic only from the tier in front.
Larger environments segment further with separate VPCs (prod, dev, shared services) connected through Transit Gateway route tables that control which VPCs can talk, and separate accounts for the strongest isolation. Centralised inspection VPCs with Network Firewall or Gateway Load Balancer appliances filter traffic between segments.
Micro-segmentation uses security groups per workload, so even resources in the same subnet can only talk on the ports they need. PrivateLink exposes a single service to another VPC without opening up the whole network.