AWS & Cloud Engineering
Capstone: run a container on EC2 behind a DNS name
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.
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
- 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.
- 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.
- Network ACLs vs security groupsBeginner · 5 min
A network ACL looks like a second firewall until the first custom one blocks your replies. Where each filter sits, which one remembers connections, and why rule numbers…
- Scaling policies: target tracking, step scaling and warm-upIntermediate · 6 min
A policy that reacts too slowly drops your site, and one that ignores warm-up buys servers you do not need. How target tracking, step scaling and instance warm-up…