Web server on Amazon EC2

Amazon EC2

Project Overview:

Amazon Elastic Compute Cloud (EC2) is a core AWS serice that provides resizible Compute capacity in the cloud

Steps taken to complets this project :

1. Sign into AWS and Access EC2

Amazon EC2
Amazon EC2
Amazon EC2
Amazon EC2
Amazon EC2

- Navigate to EC2 Dashboard : Launch instance
- Set the Name
- Choose an Amazon Machine Image (AMI) : Amazon Linux 2023
- Select instance type : t2.micro(free tier eligible)


2. Configure Security Groups

Amazon EC2

- Create a new security group or use an existing one
- Add rules to allow:
*SSH (port 22)- For remote access.
*HTTP(port 80)- For web traffic.


3. Create and Download a key Pair


Amazon EC2

- This is used to securely connect to your instance via SSH
- Save the .pem file


4. Install a Web Server


Amazon EC2

5. Launch the instance


Amazon EC2
Amazon EC2

- Review and click Launch
- Wait for the instance to initialize


6. Deploy Your Website

Amazon EC2
Amazon EC2

- Visit your EC2 public IP in a browser

Key Features

- Launch virtual machines (called instances ) with customizable OS, CPU, Memory and Storage
- Host web applications, run backend services or perform batch processing
- Scale resources up or down based on demand