First Cloud Project
Project 1 — Deploy a Simple Website on AWS
Objective
Learn how to deploy a basic website using AWS services.
By the end of this project, you will:
- Understand cloud deployment basics
- Launch cloud resources
- Configure permissions
- Host a live website
Skills Covered
- AWS basics
- EC2 virtual machines
- Security groups
- Remote access
- Basic Linux commands
- Web server setup
Step 1 — Create an AWS Account
Create your AWS Free Tier account.
Use the free tier to avoid unnecessary costs.
Step 2 — Launch an EC2 Instance
Inside AWS:
- Go to EC2
- Launch Instance
- Select Amazon Linux
- Choose Free Tier instance
- Configure security group:Allow HTTPAllow SSH
- Launch instance
Step 3 — Connect to the Server
Use SSH to connect to your instance.
Example:
ssh -i your-key.pem ec2-user@your-public-ip
Step 4 — Install Apache Web Server
Run:
sudo yum update -y sudo yum install httpd -y sudo systemctl start httpd sudo systemctl enable httpd
Step 5 — Create a Simple Web Page
Run:
echo "My First Cloud Project" | sudo tee /var/www/html/index.html
Step 6 — Test Your Website
Open your EC2 public IP address in a browser.
You should see:
My First Cloud Project
Congratulations. You just deployed your first cloud-hosted website.
What You Learned
You learned:
- How cloud servers work
- Basic deployment process
- Remote server access
- Web hosting fundamentals
- Security group configuration
Next Challenge
Try improving the project by:
- Adding a custom HTML page
- Using a domain name
- Adding HTTPS
- Creating multiple pages
- Automating deployment