Amazon Web Services
Subnet (AWS)
A network segment within a VPC tied to a specific availability zone. Public subnets have a route to an Internet Gateway; private subnets have no direct internet access.
On the exam
Fundamental for multi-tier architectures on CLF-C02 and SAA-C03. Typical pattern: web tier in public subnets, application and database tiers in private subnets. Each AZ has its own subnets for high availability.
Related terms
- VPC (Virtual Private Cloud)A private, isolated virtual network in AWS where you launch resources such as EC2, RDS, or Lambda. It gives you full control over the network environment: IP ranges, subnets, route tables, and gateways.
- Internet Gateway (IGW)A VPC component that enables communication between resources in a VPC and the internet. For a subnet to be public, its route table must include a route to an Internet Gateway.
- NAT GatewayA managed service that lets instances in private subnets reach the internet (for downloading patches, for example) without being reachable from the internet. It resides in a public subnet and translates the private IPs.
- Availability zone (AZ)A physically separate data center within a region, with independent power, cooling, and networking. Deploying resources across multiple AZs protects against the failure of a single data center.