Creating a Windows Virtual Machine in the Azure Cloud

Introduction

 
Azure is a cloud service provider developed by Microsoft. It gives many services for software developers, and one of these services is “Virtual Machines”. Virtual machines are created virtually in Azure clouds, they normally look like a normal computer.
 
Azure can provide many virtual machine images in our cloud platform. So, it easily deploys our virtual machine within a few minutes.
 
By reading this article, you will learn how to create and connect a virtual machine using the Azure cloud.
 

Prerequisites for creating virtual machines

 
Software Requirements
  • Azure cloud account
  • Edge or other browsers
  • RDP software
  • Stable internet connection

Create a Virtual machine

 
Step 1
 
Login to Azure portal.
 
Step2
 
In the left side navigation pane, click “All Services”.
 
Creating Windows Virtual Machine In Azure Cloud
 
Step 3
 
In all services page, you can select “Compute” and then click the “Virtual Machines”.
 
Creating Windows Virtual Machine In Azure Cloud
 
Step 4
 
Now you have entered the Virtual machine page. Then after clicking the “Add” button we can enter in “Create a virtual machine page”.
 
Creating Windows Virtual Machine In Azure Cloud
 
Step 5
  1. Select your Subscription plan.
  2. Choose your “Resource Group”. If you are not creating any resources in your Azure account, read my previous article to “Creating Resource group in Azure cloud”.
  3. Under the instance details give our virtual machine name and region.
Creating Windows Virtual Machine In Azure Cloud
Step 6
 
Next, choose an image for our virtual machine, we can select “Windows 10 Pro 1809” and then select “size” of our machine. We can select (2 Vcpu`s and 7GB RAM).
 
Creating Windows Virtual Machine In Azure Cloud
 
Step 7
 
Next, give your username and password to your virtual machine. Finally select inbound ports as “RDP 3389” and then click the “Review + Create” Button.
 
Creating Windows Virtual Machine In Azure Cloud
 
Step 8
 
In the next page, a "Validation passed” message appears and your product details are displayed as price/hour. Click the “Create”button and your virtual machine is created within 5 minutes.
 
Creating Windows Virtual Machine In Azure Cloud
 
Step 9
 
Your virtual machine is under deployment, wait for a few minutes and your deployment will be complete.
 
Creating Windows Virtual Machine In Azure Cloud
 
Step 10
 
After your deployment is complete, click the “Go to Resource” button and go to the virtual machine dashboard page.
 
Creating Windows Virtual Machine In Azure Cloud
 
Windows virtual machine is ready :). Let's connect our virtual machine to the local computer. 
 

Connect Virtual Machine using RDP Software

 
Step 1
 
Now you can click the “Connect” button at the top of the virtual machine dashboard page.
 
Creating Windows Virtual Machine In Azure Cloud
 
Step 2
 
Afterwards, “Connect to virtual machine” pane has opened on the right side of the virtual machine page. Your virtual machine IP address and port number will be displayed.
 
Click the “Download RDP File” button. Your RDP file will be downloaded by the browser.
 
Creating Windows Virtual Machine In Azure Cloud
 
Step 3
 
Click to Run the downloaded RDP file.
 
Creating Windows Virtual Machine In Azure Cloud
 
Step 4
 
After you run the file, RDP prompts you to connect with the virtual machine. Click the “Connect” button.
 
Creating Windows Virtual Machine In Azure Cloud
 
Step 5
 
Next, enter your virtual machine username and password (these credentials are given during Virtual machine creation). Click “Ok”.
 
Creating Windows Virtual Machine In Azure Cloud
 
Step 6
 
Our virtual machine is connected by RDP. Click the “Accept” button. Your windows virtual machine is ready to work.
 
Creating Windows Virtual Machine In Azure Cloud
 

Summary

 
Finally, we successfully created and connected a “Windows Virtual machine” using Azure cloud.
 
Creating Windows Virtual Machine In Azure Cloud