AWS & Cloud Engineering
VPC basics: subnets, route tables and the internet gateway
A VPC is your own private network inside AWS. Whether a subnet is public depends on one route in its route table, not on a setting called public; the server also needs a public IP and an open security group rule.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in AWS & Cloud Engineering
- EBS volumes, snapshots and instance storeBeginner · 5 min
An EC2 instance can lose its server and keep its disk, or lose both. Which one happens depends on whether the data sits on EBS or on instance store, and on one default…
- S3: buckets, objects and public-access mistakesBeginner · 6 min
S3 stores files as objects in buckets and is private until someone changes that. Nearly every famous S3 data leak was a person changing it by accident.
- Route 53: pointing a domain at an instanceBeginner · 5 min
Typing 203.0.113.25 is for machines. Route 53 is where you tell the internet that app.example.com means that address, and where a forgotten setting hides for 48 hours.
- CloudWatch: finding logs and basic metricsBeginner · 6 min
CloudWatch is where AWS keeps the graphs and the logs. Its most useful lesson is what it cannot see by default: your server's memory and your application's own log files.
- What costs money: free tier, idle resources and Elastic IPsBeginner · 6 min
AWS bills for things that exist, not for things that work. Most surprise bills come from three or four resources that were created in a tutorial and never deleted.
- Capstone: run a container on EC2 behind a DNS nameBeginner · 6 min
Put Docker, EC2, security groups, an Elastic IP and Route 53 together and publish one working page. Then learn to find which of the five links is broken when it is not.