Build an AWS VPC with public and private subnets
8 steps · about 1 h 24 min · Beginner
- Plan VPC and subnet CIDR blocks (reference, Amazon Web Services, 10 min)
Avoids address ranges that clash or run out later.
- Create a VPC with the console wizard (tutorial, Amazon Web Services, 12 min)
Builds subnets, route tables and gateways in one pass.
- Decide what makes a subnet public or private (reference, Amazon Web Services, 10 min)
Explains that the route table, not the name, sets exposure.
- Attach an internet gateway for public subnets (reference, Amazon Web Services, 8 min)
Gives public instances a path to and from the internet.
- Give private subnets outbound access with a NAT gateway (reference, Amazon Web Services, 12 min)
Lets private servers fetch updates without being reachable.
- Read and edit VPC route tables (reference, Amazon Web Services, 12 min)
Shows how each subnet's traffic is steered.
- Add network ACLs as a subnet-level filter (reference, Amazon Web Services, 10 min)
Explains stateless rules that sit alongside security groups.
- Confirm traffic paths with VPC flow logs (reference, Amazon Web Services, 10 min)
Proves which connections are accepted or rejected.