You are on page 1of 3

IT4090 – Cloud Computing

Semester 2, 2023

Assignment 1 – 15 marks

Company ABC has decided to deploy an online cloud-based bookstore. The books would be
divided into sections to help users find their desired book without becoming overwhelmed by a
database. Additionally, the bookstore records additional information such as a brief synopsis of
the books. As the newly hired Cloud Engineer for the company, you need to provision the cloud
resources as per the proposed architecture diagram below.

Cloud Service Provider

Network – 10.7.0.0/24

Subnet 1 – 10.7.0.0/25 - public

Web Server

Internet Client

Subnet 2 – 10.7.0.128/25 - private

Database Server

Admin

Task
Use relevant cloud services of Azure or Amazon Web Services (AWS) to implement the above
scenario.
Note - It would be wise to use the default region and you should create all the necessary resources
without using the default ones. Delete default resources before you start this scenario. Also, all
the resources you create should be in the same region. No need to consider different Availability
zones.
• Use the following naming conventions for the cloud resources you create.
Ex :- Virtual network –> ITNo_[VN/VPC]
Virtual machine –> ITNo_[VM/EC2]
Subnets –> ITNo_[public/private]

• Make sure to use Ubuntu Operation system for both web and database servers.
• Take screenshots of all the cloud resources you create. For example, virtual networks and
virtual machines. It is enough to have the summary of the resources in screenshots.
• Add the following as user data to install the Apache2 web server in both web server and
database server respectively. You can go to Advanced Settings of virtual machine creation
and add.

#!/bin/bash

apt update

apt install -y apache2

systemctl enable apache2

systemctl start apache2

echo '<html><h1> My Student ID is [your ID] </h1></html>' >


/var/www/html/index.html

#!/bin/bash

apt update

apt install -y apache2

systemctl enable apache2

systemctl start apache2

echo '<html><h1> This is my Database Server … </h1></html>' >


/var/www/html/index.html

• In the end you should be able to show the web page loaded by accessing the both web
server and database server.
After finishing the above task, upload the screenshots to the link provided in the Courseweb. A
separate quiz will be given after the completion of the Assignment 1.

Assignment should be completed on or before 8th of October 2023 11.55 pm.

You might also like