Objective & Scope

Goal: Build a 2‑tier AWS VPC (public + private), secure it with SGs & NACLs, launch an EC2‑based Nginx webserver in the public subnet, deploy the MediCare website code, and point a custom domain to the site.

Architecture Diagram

image.png

AWS Setup:

1. Create VPC

Screenshot 2025-07-29 114848.png

Create Subnets

Name CIDR AZ Public IP?
Public Subnet 10.0.1.0/24 N. Virginia Yes
Private Subnet 10.0.2.0/24 N. Virginia No

Screenshot 2025-07-29 125035.png

Screenshot 2025-07-29 125437.png

3. Internet Gateway