Cloud Computing Course Assignment
Context:
Imagine you are a cloud infrastructure engineer tasked with containerizing a simple web application.
The web application is a basic application that displays Hello World. You have been assigned a series of
following tasks. Please document the solution for each of these task’s step-by step, including
screenshots and any challenges encountered.
Task 1: Create a simple web application
Create a static web page that displays Hello World as stated below.
Expected Outcome:
● Create a new directory for your project in your laptop and name it web-app
● Create a HTML file named [Link] in the project directory.
● Add necessary HTML tags to display Hello World.
● Open the file in the browser (Ex: chrome) and ensure you see Hello World.
● Document the entire process step-by-step, including screenshots and any challenges
encountered.
Task 2: Dockerize the Web Application
Install and set up Docker on your local machine. Dockerize the web application as stated below.
Expected Outcome:
● Successfully install Docker Desktop on your Windows machine.
● Create a Dockerfile in the project directory.
● Write the Dockerfile instructions to:
a. Use a base image (e.g., nginx, Apache HTTP Server).
b. Copy the [Link] file into the appropriate directory in the container.
c. Expose port 80 for the web server.
● Build the Docker image using the Dockerfile and name it web-app-img.
● Verify the docker image creation using appropriate docker commands.
● Document the entire process step-by-step, including screenshots and any challenges
encountered.
Task 3: Run the Docker Container
create a docker container by running the docker image built above as stated below.
Expected Outcome:
● Run a Docker container using the built image and name the container web-app-cnr.
● Verify the docker container creation using appropriate docker commands.
● Verify that the web application is accessible locally by opening a web browser (Ex: chrome on
laptop) and navigating to [Link]
● Document the entire process step-by-step, including screenshots and any challenges
encountered.
Task 4: Deploy the Docker Container to a Cloud Environment
Deploy the above docker image built on a cloud platform as stated below.
Expected Outcome:
● Choose a cloud provider (e.g., AWS, Azure, Google Cloud).
● Create a new virtual machine (VM) instance in the cloud environment.
● Install Docker on the VM.
● Copy the Docker image built from your local machine to the VM.
● Run the Docker container on the VM.
● Verify that the web application is accessible from the internet by accessing the public IP address
or domain name of the VM in a web browser.
● Document the entire process step-by-step, including screenshots and any challenges
encountered.
Evaluation Details
Evaluation parameters
Evaluation Component Max. Score [24] Remarks
Implementation of given tasks/features 12 Solution as per given problem
statements
Proper documentation and explanation of each 8 Proper explanation of steps
steps with actual images <no
plagiarism>
Best Practices and uniqueness of the solution 4 Following best practices while
implementing given use case.
Submission details:
1. Each group should submit one solution (zip file) covering the following:
1. A word document with screen capture of output showcasing all options.
2. Readme file covering instructions/notes [if any].
Note:
1. Multiple submissions are not allowed.
2. If two groups' solutions are identical/similar, both groups' submissions are considered invalid,
and both groups will get zero marks.
XXXXXXXXXXXX ALL THE BEST XXXXXXXXXXX