Cloud Computing - Azure
Lab2 – Creating Virtual Machine – Ubuntu in Azure
Page 1 of 25
Cloud Computing - Azure
In Dashboard, Click “Resource groups”.
Page 2 of 25
Cloud Computing - Azure
In “Resource Groups” click “Add”.
Page 3 of 25
Cloud Computing - Azure
Type “Resource Group” as “SansboundAzureClass”.
Subscription should be “Free Trial”
Region I will select “South India”.
Click “Create”.
Page 4 of 25
Cloud Computing - Azure
In “Resource Groups” click “Refresh” to view the newly created “Resource
Groups”.
Page 5 of 25
Cloud Computing - Azure
In Dashboard, click “Virtual machines”
Click “Add”.
Page 6 of 25
Cloud Computing - Azure
While creating Virtual machine, Select the Subscription “Free Trial” and
select the “Resource Group” as “SansboundAzureClass”.
Type virtual machine name as “Ubuntu-VM” and select the Region as
“South India”.
Select OS Image as “Ubuntu Server 18.04 LTS”.
Page 7 of 25
Cloud Computing - Azure
In Virtual machine size by default it has been selected “Standard D2s v3”
with 2 vCPU’s and 8 GB RAM.
Click “Change size” But, we need to change it to as Standard “B1s”
manually.
Page 8 of 25
Cloud Computing - Azure
Select Virtual machine size as Standard “B1s” and click “Select” button at
bottom of the portal.
Page 9 of 25
Cloud Computing - Azure
Ensure that VM Size is “Standard B1s” is selected.
Page 10 of 25
Cloud Computing - Azure
In “Administrator Account” click the option “Password” and type
username to access the virtual machine remotely.
Set “Password” with 12 characters to access the server remotely.
Page 11 of 25
Cloud Computing - Azure
In “Inbound Port Rules” by default it has been set as none.
Page 12 of 25
Cloud Computing - Azure
In “Inbound Port Rules” click “Allow selected ports”.
Page 13 of 25
Cloud Computing - Azure
Click “Select One or more ports”.
Page 14 of 25
Cloud Computing - Azure
In “Selected Inbound Ports” drop down list, select “SSH (22)”.
Page 15 of 25
Cloud Computing - Azure
Click “Review and Create”.
Page 16 of 25
Cloud Computing - Azure
Click “Create” to create Virtual machine.
Page 17 of 25
Cloud Computing - Azure
Ubuntu VM has been deployed successfully.
Click “Ubuntu-VM”
Page 18 of 25
Cloud Computing - Azure
In Ubuntu-VM you have got the public IP address as 104.211.222.73
Page 19 of 25
Cloud Computing - Azure
We have required to access the Ubuntu server by using putty.exe.
If you have putty, please launch the exe otherwise download it from internet.
Type the IP of Ubuntu server and Click “Open” to access the server through SSH.
Page 20 of 25
Cloud Computing - Azure
Click “Yes”.
Page 21 of 25
Cloud Computing - Azure
Type Username as “sansbound” and press “Enter”.
Page 22 of 25
Cloud Computing - Azure
Type password of “Ubuntu Server” and press “Enter”.
Now you have successfully logged into the Ubuntu Server.
Page 23 of 25
Cloud Computing - Azure
Type sudo –i and press “Enter” to login as root account.
Page 24 of 25
Cloud Computing - Azure
You are able to see that Ubuntu has been logged in with root account.
Note : Now you can stop the virtual machine and delete the Resource groups in
Free trial / learning purpose only. Please do not delete the Resource group in
Realtime environment.
Page 25 of 25