AWS & Cloud Engineering
Security groups: the firewall around an instance
Security group rules determine which inbound traffic can reach an instance; defaults differ between groups. That is why most 'I cannot connect' tickets end in the same place, and why the symptom, a timeout, matters.
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
- Reading an IAM policy: Effect, Action, ResourceBeginner · 5 min
An IAM policy looks like a wall of JSON, but it is a list of sentences: allow or deny, this action, on that resource. Learn to read one aloud, and learn which sentence…
- EC2: instances, AMIs, instance types and key pairsBeginner · 6 min
EC2 gives you a Linux server in about a minute. Four choices at launch decide what it runs, how big it is, how you get in, and what survives when you turn it off.
- 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.
- VPC basics: subnets, route tables and the internet gatewayBeginner · 6 min
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…
- 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.