πŸ› οΈ Lab 2 β€” EC2 Web App

Type: Build-on-your-own Time: ~75 minutes Difficulty: Beginner / Intermediate Cost: Free (within free tier)


🎯 What you’ll build

Launch an EC2 instance, SSH into it, install Nginx, and serve a custom webpage. This is your first taste of β€œreal” cloud β€” managing a Linux server in the cloud the same way pros do.

πŸ“‹ Prerequisites

  • Lab 1 complete (you should know your way around the AWS Console now)
  • You can SSH from your laptop (Terminal on Mac/Linux, Git Bash on Windows)
  • You have a fresh EC2 key pair ready (we cover this in the walkthrough)

πŸ› οΈ AWS Services used

  • EC2 β€” the virtual machine
  • VPC default β€” networking (no custom VPC needed yet)
  • Security Groups β€” your firewall

πŸ“– The full walkthrough

Open Week1_Lab2_EC2_App.html in your browser. It’s a complete step-by-step guide with screenshots, code snippets, and inline hints.

πŸ’‘ The HTML file is self-contained β€” no install, no internet needed once you’ve cloned the repo. Just double-click to open in your browser.


πŸ†˜ If you get stuck

  1. Re-read the relevant step in the HTML walkthrough
  2. Check the Common Mistakes callouts (red boxes in the walkthrough)
  3. Expand the πŸ’‘ Hint sections for guidance
  4. WhatsApp the group with a screenshot of the error
  5. Tag your post with #week1done

πŸŽ“ Submission

  1. Screenshot of your EC2 instance running + the public IP
  2. Screenshot of the page loading in your browser at that IP
  3. Bonus: deploy a tiny Node.js API for the extra credit

⬅️ Back to Week 1