Deploying An Ubuntu Server 16.04 LTS Virtual Machine Using Microsoft Azure


In this article, I am going to show how to create and deploy Ubuntu server as a virtual machine in Microsoft Azure Portal.


An Azure Subscription

What is Virtual Machine?

In computing, a Virtual Machine is an emulation of a computer system. Virtual machines are based on computer architectures and provide the functionality of a physical computer. Their implementations may involve specialized hardware, software, or a combination. Azure Virtual Machine (VM) is one of the several types of on-demand, scalable computing resources that Azure offers. It can also be created through Azure portal. This method provides a browser-based user interface for creating and configuring VMs.

Follow these steps to create a Virtual Machine

Sign in to Azure portal.


In Dashboard, choose  "+" >> "Compute" and then select the "Ubuntu Server 16.04 LTS".

After choosing the virtual machine, you'll notice that it requires four steps before the virtual machine is deployed.
The first step is to enter the information for the virtual machine and to remember the "username" and "password" that you entered here, because it may be used to log into our virtual machine. Then, press "OK" to proceed to the next step.


Choose a size for the Virtual Machine; for more sizes, select "View All" or change the "Supported disk type" to filter. I chose the "standard" one. Then, press "Select" to confirm the selection.

On the "Settings" blade, select "Yes" under "Use managed disks", keep the defaults for the rest of the settings, and press "OK". For your convenience, you may use the virtual network for our VM.

On the "Summary" blade, it shows the details that we have given in the above steps. Click "Purchase" to start the Virtual Machine Deployment. 

After deployment has succeeded, the VM Summary blade automatically opens.

Follow these steps to connect to the Virtual Machine
We want to create a remote desktop connection for our VM using  Putty software ( can be downloaded from the following Link).
Download and install Putty in your system and open it. Paste your IP address in the VM blade and press "Open" to open the VM.

Now, it asks for some security permissions for the VM. Press "Yes" to proceed.

It opens the CUI. Enter the username and password that we have given when the VM is created. Finally, we have created Ubuntu Machine in the Azure portal.

I hope you understood how to create the Ubuntu Server 16.04 LTS Virtual Machine using Azure portal.