Track
AWS & Cloud Engineering lessons
65 short lessons on AWS & Cloud Engineering. Each one starts from a real situation, shows how it works, and ends with a quiz. Free to read.
All 65 lessons
- The cloud, regions and availability zonesBeginner · 5 min
Cloud providers offer on-demand computing resources. Regions and Availability Zones influence latency, location requirements and resilience.
- Your AWS account: root user, MFA, CLI and a billing alarmBeginner · 6 min
Most expensive beginner mistakes are not exotic hacks. They are a leaked access key or a forgotten server. Four setup steps remove most of the risk before you launch…
- IAM: users, groups, roles and policiesBeginner · 5 min
IAM answers two questions for every request: who are you, and are you allowed. Learn the four building blocks and the default, which is that nothing is allowed until…
- 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.
- 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…
- 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.
- 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.
- 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…
- RDS: managed databases, backups and parameter groupsBeginner · 5 min
RDS patches, backs up and fails over your database for you, but it will not save you from your own DELETE. Learn what a restore really does and why a parameter change…
- RDS Multi-AZ vs read replicasBeginner · 5 min
Both are copies of your database, and people use them for each other's job. One keeps you alive when a data center fails, the other absorbs reads, and neither does both.
- S3 in depth: versioning, lifecycle, encryption and bucket policiesBeginner · 5 min
Turn on versioning and a deleted file becomes recoverable, and your bill quietly starts growing. Four S3 settings decide what you can undo, what you pay and who can read.
- Route 53 health checks and routing policiesBeginner · 5 min
A DNS record happily points at a dead server until something tells it otherwise. Health checks and routing policies let Route 53 stop answering with a broken address…
- CloudWatch alarms, Logs Insights and SNS notificationsBeginner · 5 min
A graph only helps if someone is looking at it at 02:10. An alarm, an SNS topic and one log query turn the data you already collect into a page and an answer.
- CloudTrail: who changed what, and whenBeginner · 5 min
Someone deleted the staging database and everyone says it was not them. CloudTrail keeps a record of every API call made in your account, which usually ends the…
- Design walk-through: a highly available web app on AWSIntermediate · 5 min
The classic interview question is how you would keep a web app up when a data center fails. The answer is a short list of pieces, each placed in two zones, plus the…
- Capstone: three-tier app on AWS with TerraformIntermediate · 5 min
A diagram of two zones is a promise. Writing it as Terraform modules turns the promise into code you can review, plan, rebuild and destroy, and shows exactly where the…
- Instance profiles: no access keys on diskBeginner · 5 min
One file, ~/.aws/credentials, copied to six servers, is the worst secret in the account. An instance profile hands each server a role with credentials that rotate…
- Auto Scaling groups: self-healing and scalingIntermediate · 5 min
One of four web servers fails its hardware check at 03:00 and nobody is paged. By 03:08 the group has replaced it. Before an Auto Scaling group scales anything, it…
- Spot InstancesBeginner · 4 min
Spot Instances offer interruptible compute capacity.
- Launch templates: repeatable instancesBeginner · 5 min
Six servers launched by hand over a year, no two the same. A launch template turns the click-through into a named, versioned object that a scaling group can reuse.
- IAM policy evaluation: identity, resource, boundary and explicit denyBeginner · 6 min
The role allows s3:GetObject and the request is still denied. Six policy types get a vote, and the error message tells you which one said no.
- Roles and STS AssumeRole, including cross-accountBeginner · 5 min
A CI job needs production access for twenty minutes. Instead of a key that lives for years, it borrows a role: how the two halves of the handshake work and where they…
- Least privilege: from AdministratorAccess to a scoped policyBeginner · 5 min
A role made for a one-day migration still holds AdministratorAccess six months on. A repeatable way to replace it with the permissions the job really uses, without…
- IAM permissions boundaryBeginner · 4 min
IAM permissions boundary sets maximum permitted identity permissions.
- Lambda: triggers, limits and concurrencyBeginner · 5 min
Lambda has no servers to size, so its limits show up as throttling instead. One busy function can use the whole Region's concurrency and make an unrelated payment…
- ECS services: keeping N tasks runningBeginner · 6 min
An ECS service is a promise that four copies of your container stay up, through crashes and deploys. Most outages with it are a broken promise you can read in two…
- Fargate: containers without managing serversIntermediate · 5 min
With Fargate there is no host to patch or size, so you pay and plan per task instead. A task size that does not exist, or a subnet that cannot reach the registry, stops…
- ECR: a private registry for your imagesBeginner · 5 min
Your cluster cannot pull an image it is not allowed to see, and often cannot reach the registry at all. Learn how ECR logins, permissions and private networking decide…
- ALB: listeners, rules and target groupsIntermediate · 6 min
One load balancer, one DNS name and one certificate can front an API, an image service and a web app. Listeners and rules decide who gets which request, and the error…
- NLBBeginner · 4 min
NLB forwards transport connections at layer 4.
- Target groups and health checksIntermediate · 5 min
After a release every target shows unhealthy, yet users still get responses. The load balancer fails open, which hides the problem. How health checks decide who is in…
- VPC route tablesBeginner · 4 min
A subnet route table selects a target for a matching destination, generally using the most specific prefix.
- Public and private subnetsIntermediate · 4 min
A subnet is public or private because of its route table, and a resource also needs a public address and a permitting rule before the internet can reach it.
- NAT gateway economicsIntermediate · 4 min
Explain what a NAT gateway bills for, how the traffic path changes the bill, and how gateway endpoints keep AWS service traffic off the NAT data charge in a private…
- Gateway endpointsIntermediate · 4 min
Explain how a gateway endpoint for S3 or DynamoDB works as a route table target, what it costs, and which callers it cannot reach from outside its VPC.
- Interface endpointsIntermediate · 4 min
Explain how an interface endpoint places a private network interface in each chosen subnet, how private DNS sends service hostnames to it, and what it costs to run.
- Security groupsIntermediate · 4 min
Explain how security groups filter traffic per resource, why they are stateful, and why one broad inbound rule exposes every resource that carries the group.
- Network ACLsIntermediate · 4 min
Explain how network ACL rules are numbered and evaluated, why they are stateless, and how an ACL allows or denies traffic at the subnet boundary.
- IAM evaluation logicIntermediate · 4 min
Explain how IAM decides a request, why an explicit deny overrides every allow, and how permissions boundaries and organization policies narrow what a role can do.
- STS and assume roleIntermediate · 4 min
Explain how AssumeRole returns temporary credentials, how trust policies and session duration limit who gets them and for how long, and why short sessions reduce risk.
- Instance profilesAdvanced · 4 min
Explain how an instance profile passes a role's temporary credentials to an EC2 instance through instance metadata, so no access key needs to be stored on the instance.
- EC2 capacity modelsAdvanced · 4 min
Explain the main EC2 purchasing options, how Savings Plans differ from capacity reservations, and why a discount alone does not guarantee that a launch succeeds.
- Spot interruption handlingAdvanced · 4 min
Explain how Spot interruptions happen, how the two-minute notice reaches an instance through metadata and EventBridge, and how workers should save progress before a…
- ASG scaling policiesAdvanced · 4 min
Explain how target tracking scaling holds one metric near a target value, why the metric must change in proportion to group size, and how warm-up affects scaling…
- ALB target groupsAdvanced · 4 min
Explain how a target group routes to healthy targets, how a removed target drains through the deregistration delay, and how that delay protects in-flight requests…
- NLB versus ALBAdvanced · 4 min
Explain how application and network load balancers route traffic at different depths, how a network balancer's flow hash keeps a connection on one target, and how their…
- Route53 routing policiesAdvanced · 4 min
Explain how Route 53 routing policies answer DNS queries, how failover uses health checks on the primary and secondary records, and how TTL sets how fast clients see a…
- CloudFront cachingAdvanced · 4 min
Explain how CloudFront decides how long an edge keeps a copy, using Cache-Control, Expires and the cache policy TTLs, and how the stale-content directives change what…
- S3 lifecycleAdvanced · 4 min
Explain S3 lifecycle transitions and expirations, how they apply to existing objects, and why expiring an object early from a cold storage class can still cost money.
- S3 consistencyAdvanced · 4 min
Explain what S3 read-after-write consistency guarantees for a single key, why two concurrent writes to one key can lose a change, and how versioning helps recover it.
- RDS high availabilityAdvanced · 4 min
Explain how RDS Multi-AZ deployments replicate to a standby, what the standby can and cannot serve, and how a failover affects connections in the application.
- EBS latencyAdvanced · 4 min
Explain how EBS counts I/O operations, how queue length and latency relate to provisioned IOPS, and how throughput and burst limits cap what a volume can deliver.
- ECS task networkingAdvanced · 4 min
Explain how ECS network modes give tasks their own addresses, why awsvpc tasks need IP target groups, and how host mode limits how many tasks of one definition an…
- EKS node operationsAdvanced · 4 min
EKS managed node groups replace nodes by draining them through the Kubernetes API, and a node that never reports Ready usually lacks a role permission it needs to join.
- CloudWatch metricsAdvanced · 4 min
A CloudWatch metric is identified by its namespace, name and dimensions, its period and retention decide what an alarm can see, and EC2 memory only appears once an…
- Organizations SCPsAdvanced · 4 min
Service control policies set the maximum permissions for accounts below a root or OU, so a denied call can come from the organization even when the role has full IAM…