AWS & Cloud Engineering
CloudWatch: finding logs and basic metrics
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 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
- 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.
- 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.
- VPC design: CIDR plan, three AZs, public, private and data subnetsBeginner · 5 min
A VPC's primary address range cannot be resized, so the plan has to be right before the first subnet exists. How to carve 10.20.0.0/16 into three zones and three tiers…
- Route tables, internet gateway and NAT gateway pathsBeginner · 5 min
Why an instance with a wide-open security group still cannot reach pypi.org, and the three-line routing difference between public, private and isolated subnets.