How the EC2 deployment fits together
The hands-on project uses a virtual server and a web server. GitHub stores the website source, EC2 runs the machine, and Nginx delivers the files to visitors.
The Network in Plain English
Review how your virtual private network, firewall boundaries, compute instance, and identity policies work together in the cloud:
Website Visitors
Requests sent to your server via its public IPv4 address.
Access & Permissions
Defines who can launch instances, configure security rules, and view workshop resources.
What Does Each Component Do?
Every tool in our architecture has a focused, specific responsibility:
| Component | Job |
|---|---|
GitHub repository SOURCE | Stores version-controlled code and website files. |
Amazon EC2 COMPUTE | Provides the virtual machine running in AWS. |
Amazon Linux 2023 OPERATING SYSTEM | The operating system installed on the virtual machine. |
Nginx WEB SERVER DAEMON | The web server that returns HTML, CSS, JavaScript, and image files to visitors. |
Security group STATEFUL FIREWALL | A virtual firewall that allows or denies network traffic according to its rules. |
Public IPv4 address NETWORK INGRESS | An address visitors may use to reach the website when the network configuration permits it. |
IAM IDENTITY & PERMISSIONS | Controls which users and roles can manage AWS resources. It is not the same as a network firewall. |
Two Paths, Two Jobs
Administrator path: your computer → SSH (port 22, restricted to your IP).
Visitor path: browser → HTTP (port 80, public for this exercise) → Nginx → website files.
SSH helps the administrator control the server. HTTP lets visitors open the website. Keep administrative access restricted and never expose port 22 unnecessarily to the public internet.
