AWS & Cloud Engineering
S3: buckets, objects and public-access mistakes
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.
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
- Security groups: the firewall around an instanceBeginner · 6 min
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…
- 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…
- 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.
- 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.