by T Inamdar
πHey there! Iβm Tarekh Inamdar, a Computer Engineering diploma student, currently diving deep into the world of Cloud Computing with a special focus on Amazon Web Services (AWS). Iβm passionate about modern tech, automation, and how cloud platforms are transforming the IT industry.
Currently learning AWS tools and cloud concepts hands-on, Iβm building a strong foundation in services like EC2, S3, IAM, and more. I enjoy working on real-world cloud setups and aim to master tools that power todayβs scalable and secure infrastructures.
πAbout Project
This project demonstrates how to launch a virtual machine (EC2 instance) on AWS Cloud and set up a basic web server using Apache HTTP Server. It helps students and beginners understand real-world concepts like cloud infrastructure, remote access, web hosting, and port management.
π§Steps
1. Launch an EC2 Instance
β’ Choose Amazon Linux 2 AMI

β’ Instance type: t2.micro (free tier)

β’ Create or use an existing key pair
β’ Configure security group to allow:
β’ SSH (port 22)
β’ HTTP (port 80)
2. Connect to the EC2 Instance
Open a terminal and run:
ssh -i your-key.pem ec2-user@your-instance-public-ip

Step 3: Install Apache
sudo yum install httpd -y

β’ Update the package repository
sudo yum update -y

β’ Start and Enable Apache
sudo systemctl start httpd
sudo systemctl enable httpt
β’ Verify installation
sudo systemctl status httpt

4. Deploy a Web Page
echo "Welcome to My Web Server" | sudo tee /var/www/html/index.html>/dev/null

5. Access the Web Server
open a browser and go to:
http://your-instance-public-ip
- you should see "Welcome to My Web Server".

7. configure Auto Start(Optional)
β’ Ensure the web server starts on reboot
sudo systemct enable httpt
have successfully deployed an EC2-based web server running Apache.This setup is commonly used for hosting websites, web applications, or
acting as a reverse proxy.


Top comments (0)