Lab1 - Creating Virtual Machine - Windows in Azure_003
Lab1 - Creating Virtual Machine - Windows in Azure_003
Page 1 of 37
Login to https://portal.azure.com with outlook login credentials.
Page 2 of 37
Now we have required to create a resource group first to create a Virtual
machine in Azure.
Page 3 of 37
In Resource groups,
Page 4 of 37
While creating Resource group it has required “Resource group name”
Page 5 of 37
Type “Resource Group” name as “SansboundAzureClass”.
Page 6 of 37
Click “Refresh” to get the Resource group which we have created.
Page 7 of 37
Now you are able to see the “Resource Group” which you have created as
“SansboundAzureClass”.
Page 8 of 37
In Dashboard, click “Virtual machines” in Left side under Favourites.
Page 9 of 37
In “Virtual machines” Click “Add” to create new virtual machine.
Page 10 of 37
While creating Virtual Machine we have required to provide below mentioned
details
a) Select the “Subscription” as “Free Trial”.
b) Select the “Resource Group” as “SansboundAzureClass”.
c) Specify the Virtual machine name as “WindowsVM-Azure”.
d) Specify the region as your business requirement, i will leave default
region at this stage.
e) Select the Image as “Windows Server 2008 R2 SP1”.
f) By default Virtual machine size will be selected as Standard DS1 V2 (with
1 vCPU & 3.5 GB RAM). But we need to select Free Trial Virtual machine
Type B1S.
Page 11 of 37
In Size, click “Change Size”
Page 12 of 37
Select the Virtual size as Standard “B1s” then click “Select” button in bottom.
Page 13 of 37
You need to ensure that VM Size is “Standard B1s”.
Page 14 of 37
In “Administrator Account”, I will type type username which has required
built-in administrator privilege. I have type as “sansbound”. You can specify
the user name as per your wish.
In password, password must have 1 upper case character , 1 lower case
character and and 1 number and 1 special character. Also password length
should be minimum 12 characters maximum 72 characters.
Page 15 of 37
In “Inbound Port Rules”, by default it has been set as “None”.
Page 16 of 37
But we have required to allow specific ports by click “Allow Selected Ports”
manually.
Page 17 of 37
In “Inbound Port Rules”, click “Allow Selected Ports”.
Then click “Select one or more ports” drop down box.
Page 18 of 37
As of now, I have created Windows Virtual machine for that I have
required Port 3389 (RDP) to Allow for access the server remotely.
You need to check the “RDP (3389)” in Inbound Rule.
Page 19 of 37
As of now, we have allowed only RDP (3389) port to access the Windows Server
through remotely.
Page 20 of 37
In Save Money,
Click “Yes” that you have already have Windows license.
Also in “Confirmation” click the Check box.
Page 21 of 37
At this stage, I will click “Review + Create”.
Page 22 of 37
Click “Create” to create Virtual machine.
Page 23 of 37
Virtual machine creation in progress, we need to wait for some time. Please
wait for 4-5 minutes approximately.
Page 24 of 37
Click “Go to resource”.
Page 25 of 37
We have got below mentioned information in the Virtual machine.
a) Resource group details under which “Resource Group” has been
created the VM.
b) Computer Name, Location and Virtual Machine Size.
c) Subscription type.
d) We have got Public IP for the Virtual machine (Our IP is 168.61.148.47).
From local machine / Physical machine, type “mstsc” in Run box to get console
to access the server remotely.
Page 26 of 37
Click “Connect”.
Page 27 of 37
Then Click “OK”.
Page 28 of 37
I have successfully logged on to the “Windows 2008 R2” Virtual machine in
Azure.
I have got the IP address details from command prompt by type “ipconfig”.
I have got the IP as 10.0.0.4.
Page 29 of 37
By default internet access has been provided.
Page 30 of 37
Once you have shutdown the machine “Stop” button becomes inactive. It
seems the VM has been Shutdown successfully.
Page 31 of 37
In Dasboard, click “Resource Groups”
Select Resource groups “SansboundAzureClass” which you have required to
delete.
Page 32 of 37
Note: It’s not recommended to delete the Resource group it will delete the entire features
which has been created under the resource groups.
But, we are in Free Trial subscription / Learning purpose. So we have delete the resource
group to delete all features which has been created by us instead of manual deletion of the features.
Page 33 of 37
Select Resource Group named “SansboundAzureClass” and right click it, then click “Delete
resource group”.
Page 34 of 37
Click “Delete” to delete the Resource group.
Page 35 of 37
Click “Refresh”.
Page 36 of 37
Now the “Resource Group” has been deleted.
Page 37 of 37