Intro to AWS Cloud: App Deployment, Networking, and Auto Scaling

Designed a two-day hands-on course in which high school students deploy a web app to the cloud and grow it step by step, and taught it to three classes as lead instructor, four hours a day over six days in total. Built the lecture decks, the lab runbook, a separate AWS lab account for every student, and an instructor progress view, and revised the materials after each class.

Curriculum

Day 1: Getting My App onto the Cloud

  • The cloud and DevOps: starting from the moment a service on a single laptop hits its limits, covering the cloud, scaling out, and infrastructure as code first, then a light introduction to DevOps and related roles, and a demo of what we would build in two days
  • First steps in AWS: signing in to the lab account and registering phone authentication, regions and billing, reading IAM policy documents, and tracing the cause of a deliberate access denial
  • EC2 and app deployment: launching a server and connecting from the browser (Session Manager), checking the server with basic Linux commands, and registering the meal review app as a service that survives reboots
  • Security groups: opening a port to publish the app, ports that should stay closed, and comparing a home network with an AWS network side by side
  • IAM roles and S3: letting the server read today's menu file from S3 without keys, and why keys don't belong in code

Day 2: Networking and Automation

  • Building a VPC: subnets, route tables, and an internet gateway, then using a launch template to start servers in the new VPC that serve the app on boot
  • Load balancing and auto scaling: terminating a server on purpose and watching it recover automatically
  • Serverless: building a Lambda function behind API Gateway and connecting the app to it, then comparing it with the server approach
  • Mini project and wrap-up: adding one improvement to the app (meal photo uploads, DynamoDB storage, handling twice the traffic, failure alarms, or the advanced MySQL and Terraform tasks), presenting the updated architecture, and cleaning up resources in order

Course Material Preview

Day 1: The DevOps loop, from planning to observation
Day 1: How a request passes the security group to reach the app
Day 2: Reading S3 through an IAM role instead of keys in code
Day 2: The request path through the internet gateway and subnets
Day 2: How auto scaling holds the desired number of servers
Day 2: What servers and serverless are each good at
Grade 10, Class A, Day 1: Helping a student at their desk during the lab
Grade 10, Class A, Day 1: Drawing the rented server's setup on the whiteboard
Grade 10, Class A, Day 1: Comparing a home server with AWS to show where the security group sits
Grade 10, Class A, Day 2: Checking a student's screen during the load balancing and auto scaling lab
Grade 11 class, Day 1: Explaining which ports to open and which to keep closed
Grade 11 class, Day 1: Sketching how a domain, a certificate, and keys work together
Grade 10, Class B, Day 2: What the meal review app gains from a VPC we build ourselves
Grade 10, Class B, Day 2: Writing out a subnet mask in binary