EC2 SeriesProject 1

Basic EC2 Web Server

Deploy and configure a basic NGINX web server on EC2 with proper security configurations

Difficulty

Beginner

Duration

1 hour

Cost

~$1

Project Overview

In this foundational project, you'll learn to deploy a web server on Amazon EC2. This project introduces core AWS concepts including EC2 instances, security groups, and basic networking fundamentals.

By completing this project, you'll understand how to launch, configure, and secure a basic web server in the AWS cloud, setting the foundation for more complex projects.

Learning Objectives

Technical Skills

  • • Launch and configure EC2 instances
  • • Configure security groups and firewall rules
  • • Install and configure NGINX web server
  • • Manage SSH key pairs for secure access

AWS Concepts

  • • Understanding EC2 instance types
  • • Basic VPC and subnet concepts
  • • Security group configuration
  • • SSH connectivity and key management

Technologies Used

AWS EC2
Compute Service
NGINX
Web Server
Security Groups
Firewall Rules
SSH
Secure Access

Prerequisites

  • • AWS Account (Free Tier eligible)
  • • Basic understanding of Linux command line
  • • SSH client (Terminal on Mac/Linux, PuTTY on Windows)
  • • Basic networking concepts

Project Steps

1

Create a key pair (for SSH) via CLI

+
2

Create a security group that allows HTTP (port 80) and SSH (port 22)

+
3

Launch an EC2 instance

+
4

Get the public IP of the instance

+
5

SSH into the instance

+
6

Install Nginx and create a static 'Hello World' page

+
7

Verify Nginx is running

+
8

Exit SSH and test your webpage

+
9

Clean up resources

+