Skip to content

This mini-project is designed for the Cloud Computing subject, focusing on deploying a simple CV Builder website on an AWS EC2 instance. The goal is to gain hands-on experience with cloud infrastructure and deployment processes.

Notifications You must be signed in to change notification settings

kffod/AWS-CLOUD-EC2

Repository files navigation

Cloud Computing Mini-Project: CV Builder Website Deployment on AWS EC2 Instance

Project Overview

This mini-project is designed for the Cloud Computing subject, focusing on deploying a simple CV Builder website on an AWS EC2 instance. The goal is to gain hands-on experience with cloud infrastructure and deployment processes.

Project Features

  1. CV Builder Website: Create a basic CV Builder website where users can input their details and generate a formatted CV.
  2. AWS EC2 Instance: Deploy the CV Builder on an AWS EC2 instance, utilizing the scalability and flexibility of cloud computing.
  3. Hands-on Learning: Gain practical knowledge of setting up a web application in a cloud environment.

Adventure Plan

1. Set Up Your AWS Cloud Environment

  • Log in to the AWS Console.
  • Navigate to the EC2 service. setup
  • Create a new EC2 instance for hosting your CV Builder website.
  • Under EC2 > instances > Launch an instance setup
  • Select OS as Amazon linux. setup
  • Create Key pair for assesing VM. setup
  • Select .ppk extension for puTTY and .pem for openSSH as you like. setup
  • Configure the storage. setup
  • Boom Launch the instance.

setup

  • You will see these screen after your instance is succesfully launched! setup

2. Connecting and Configuring EC2 instance

  • Go to running instances Dashboard. setup

  • I am connecting directly using console if you want to connect your instance you can connect it using puTTY or openSSH! setup setup

  • Granting admin previlage using sudo command. Run the sudo su Command.

    Use the following command to switch to the root user and gain admin privileges:

    sudo su

    setup

  • Update your Virtual Machine using following command:

    yum update

    setup

  • After updating your system download git using following command:

    yum install git -y

setup

  • After that clone these repository using following command:
    git clone https://github.com/kffod/AWS-CLOUD-EC2.git
    After that copy index.html,script.js,style.css from |CV Builder Code| folder and paste it into |/var/www/html| folder as shown below:
    cd /AWS-CLOUD-EC2/CV Builder Code/
    mv * /var/www/html/
  • After that install httpd using following command:
yum install httpd -y

setup

  • After installing httpd start httpd service using following command:
systemctl start httpd

setup

You can check whethier httpd service running or not using following command:

systemctl status httpd

setup

3. Accesing Your Website

  • For accessing your cloud hosted website go to EC2 instance Dashboard and select your instance. setup

  • After Selecting your instance go to your public IP address of EC2 instance In my case my public IP is 13.53.200.33* Open it in any browser , BOOM your website is deployed in cloud! :). setup

NOTE: Stop the instance after you deploy successfully; otherwise, after the free trial limit is exceeded, you will be charged!

Remember to enjoy the learning process and troubleshoot any challenges you encounter. Happy cloud adventures! 🚀✨!

About

This mini-project is designed for the Cloud Computing subject, focusing on deploying a simple CV Builder website on an AWS EC2 instance. The goal is to gain hands-on experience with cloud infrastructure and deployment processes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published