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
Step2
In the left side navigation pane, click “All Services”.
Step 3
In all services page, you can select “Compute” and then click the “Virtual Machines”.
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”.
Step 5
- Select your Subscription plan.
- 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”.
- Under the instance details give our virtual machine name and region.
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).
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.
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.
Step 9
Your virtual machine is under deployment, wait for a few minutes and your deployment will be complete.
Step 10
After your deployment is complete, click the “Go to Resource” button and go to the virtual machine dashboard page.
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.
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.
Step 3
Click to Run the downloaded RDP file.
Step 4
After you run the file, RDP prompts you to connect with the virtual machine. Click the “Connect” button.
Step 5
Next, enter your virtual machine username and password (these credentials are given during Virtual machine creation). Click “Ok”.
Step 6
Our virtual machine is connected by RDP. Click the “Accept” button. Your windows virtual machine is ready to work.
Summary
Finally, we successfully created and connected a “Windows Virtual machine” using Azure cloud.