π οΈ Lab 2 β EC2 Web App
π οΈ 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
- Re-read the relevant step in the HTML walkthrough
- Check the Common Mistakes callouts (red boxes in the walkthrough)
- Expand the π‘ Hint sections for guidance
- WhatsApp the group with a screenshot of the error
- Tag your post with
#week1done
π Submission
- Screenshot of your EC2 instance running + the public IP
- Screenshot of the page loading in your browser at that IP
- Bonus: deploy a tiny Node.js API for the extra credit
β¬ οΈ Back to Week 1