Azureessentialswb
Azureessentialswb
Declaration
Questions in this exercise are intentionally complex and could be convoluted or confusing. This is by
design and to simulate real life situations where customers seldom give crystal clear requirements and
ask unambiguous questions.
I AGREE
<Enter your name above this line to indicate that you are in agreement>
Instructions
Your AWS account ID must be clearly visible in every screenshot using the AWS console; missing id or
using someone else's id is not permitted. Such cases will be considered as plagiarism and severe
penalty will be imposed.
All screenshots must be in the order mentioned under "Expected Screenshots" for every step
DO NOT WAIT UNTIL THE LAST MINUTE. The program office will not extend the project submission
deadline under any circumstances.
Resource Clean Up
Cloud is always pay per use model and all resources/services that we consume are chargeable.
Cleaning up when you’ve completed your lab or project is always necessary. This is true whether you’re
doing a lab or implementing a project at your workplace.
After completing the lab, make sure to delete each resource created in reverse chronological order.
1
V1.8 © Great Learning. All rights reserved.
PGP in Cloud Computing
Scenario
According to recent research, 40-75% of employees are using Dropbox to share files inside and outside
of their businesses. Half of those Dropbox users do this even though they know it's against the rules.
More than 40% of businesses have experienced the exposure of confidential information and the
estimated average cost of a data breach equaled $5.5 Million in 2011.
These files, containing sensitive company and customer data, are stored in a public cloud outside of the
businesses' control - possibly even outside of the country. The potential for data leakage and security
breaches is enormous and companies need to stay compliant with their own policies and procedures for
security and governance
Architecture diagram
Architecture Implementation
1 Implement 2 different subnets (one public and the other private) in a virtual network
2 Install and configure MySQL on an Ubuntu virtual machine on the private subnet using the
instructions provided. (Hint: Use a bastion host and a NAT gateway)
3 Install and configure OwnCloud on an Ubuntu virtual machine on the public subnet using the
provided instructions.
2
V1.8 © Great Learning. All rights reserved.
PGP in Cloud Computing
Step number a
Instructions 1) Create a new resource group. You need to use this resource group to deploy all the
resources in this exercise
a) Search for resource groups using the search bar at the top of the screen
b) Click on Create
c) Enter a name and region of your choice. Remember to use the same region
for all deployments in this exercise.
d) Click on Review +Create and create the resource group
2) Navigate to Virtual Networks and click on Create
a) Name : P1VNET
b) IPv4 CIDR Block : 10.0.0.0/16
c) Delete the default created subnet and add the following subnets
i) Public subnet with CIDR 10.0.1.0/24
ii) Private subnet with CIDR 10.0.2.0/24
d) The rest of the options can be set to the default values
e) Click on Create to create the virtual network
3
V1.8 © Great Learning. All rights reserved.
PGP in Cloud Computing
Step number b
Step number c
4
V1.8 © Great Learning. All rights reserved.
PGP in Cloud Computing
Step number a
5
V1.8 © Great Learning. All rights reserved.
PGP in Cloud Computing
Step number b
6
V1.8 © Great Learning. All rights reserved.
PGP in Cloud Computing
Step number a
Instructions 1) Copy the database pem file into the application server using the below command
scp -i <application server pem file> <database server pem file > ubuntu@<application
server public IP>:/home/ubuntu
2) Log into the application server using your SSH client of choice
3) From the application server, log into the database server using the pem file copied in
step 1and the private IP address of the database server with the following command
ssh -i <database server pem file> ubuntu@<private IP of database server>
Note: Use your existing knowledge of SSH and copying files to cloud VMs to
perform the above SSH and SCP operations
4) Enter the following commands to install and configure MySQL on the database server
sudo apt update
wget https://d6opu47qoi4ee.cloudfront.net/azure_install_mysql.sh
sudo chmod 700 azure_install_mysql.sh
sudo apt install dos2unix
sudo dos2unix ./azure_install_mysql.sh
sudo ./azure_install_mysql.sh
5) Type exit to exit the database server and go back to the application server
7
V1.8 © Great Learning. All rights reserved.
PGP in Cloud Computing
Step number b
Instructions 1) Enter the following commands after logging into the application server via SSH to
install and configure Owncloud
Learning Tip: The version of Owncloud has no bearing on this project. When migrating a
legacy version of an application to the cloud, it might not be possible to update the
application to current technological trends.
2) Check whether the server has been successfully deployed by visiting the public IP of
the web server in the web browser in the below format
8
V1.8 © Great Learning. All rights reserved.
PGP in Cloud Computing
3) Which of the following properties may change depending on the size of the VM?
a) All of these
b) Max number of disks
c) Memory
d) vCPUs
Answer:
9
V1.8 © Great Learning. All rights reserved.
PGP in Cloud Computing
Grades distribution
MCQs 7 (1 point each)
Total 20 points
10
V1.8 © Great Learning. All rights reserved.