0% found this document useful (0 votes)
38 views3 pages

IT4090 - Assignment 1 - Scenario

This document provides the details for Assignment 1 of the IT4090 - Cloud Computing course. The assignment requires provisioning cloud resources on AWS or Azure to deploy an online bookstore with a web server and database server based on the proposed architecture diagram. Specifically, the student must: 1) Create the necessary virtual network, subnets, and Ubuntu virtual machines on their chosen cloud platform using the specified naming conventions. 2) Configure the web server and database server virtual machines with user data to install and run Apache web servers and display simple web pages. 3) Take screenshots of the created cloud resources and deployed web pages to submit for marking by the deadline.

Uploaded by

Chamodi Hansana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views3 pages

IT4090 - Assignment 1 - Scenario

This document provides the details for Assignment 1 of the IT4090 - Cloud Computing course. The assignment requires provisioning cloud resources on AWS or Azure to deploy an online bookstore with a web server and database server based on the proposed architecture diagram. Specifically, the student must: 1) Create the necessary virtual network, subnets, and Ubuntu virtual machines on their chosen cloud platform using the specified naming conventions. 2) Configure the web server and database server virtual machines with user data to install and run Apache web servers and display simple web pages. 3) Take screenshots of the created cloud resources and deployed web pages to submit for marking by the deadline.

Uploaded by

Chamodi Hansana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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