π οΈ Lab 3 β VPC + RDS Two-Tier App
π οΈ Lab 3 β VPC + RDS Two-Tier App
Type: Guided lab Time: ~90 minutes Difficulty: Intermediate Cost: Free (within free tier β delete RDS promptly after the lab)
π― What youβll build
Build the most important pattern in cloud: a two-tier application. Custom VPC with public + private subnets, EC2 web server in the public subnet, RDS MySQL database in the private subnet. The exact same architecture every fintech and SaaS app uses.
π Prerequisites
- Lab 1 + Lab 2 complete
- Comfortable with SSH and the EC2 launch wizard
- Youβve read the Week 2 slides on VPC + Security Groups
π οΈ AWS Services used
- VPC β custom network with subnets, route tables, IGW
- EC2 β web tier (public subnet)
- RDS β MySQL database (private subnet, Multi-AZ)
- Security Groups β SG-to-SG references for tight security
π The full walkthrough
Open Week2_Lab3_VPC_RDS.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
#week2done
π Submission
- Screenshot of your EC2 web server running
- Screenshot of
mysql>prompt showing you successfully connected to RDS from EC2 - Result of a SELECT query you ran on a table you created
β¬ οΈ Back to Week 2