How to create a Linux virtual machine in Windows Azure Portal?

This Azure tutorial, we will discuss, how to create Linux (Ubuntu) Virtual machine using Azure. We are creating with our Azure subscription, if you don’t have an Azure subscription, you can create a free account in just a couple of minutes.

Create the Linux virtual machine in Azure Portal

Login to the Azure portal site using your subscription id and password

Once login you will be on the Portal page of Azure. Click on new -> Virtual machines -> Select server.

create linux vm in azure

Choose the VM image from the marketplace. Currently, we are creating a Virtual server (Ubunto)

On the Hub menu, click New -> Virtual Machines -> Ubunto 14.04.

create linux vm in azure portal

On the Ubunto 14.0 page, under Select, a deployment model, verify that Resource Manager is selected. Click Create.

create linux vm in azure

Create the Linux virtual machine in Azure Portal.

After you select the image, you can use Azure’s default settings for most of the configuration and quickly create the virtual machine.

On the Basics blade, enter a Name for the virtual machine. The name must be 1-15 characters long and it cannot contain special characters.

Enter a Username and a strong password that will be used to create a local account on the VM. The local account is used to log on to and manage the VM.

The password must be between 12-123 characters long and have at least one lower case character, one upper case character, one number, and one special character.

Select an existing Resource group or type the name for a new one. Type an Azure datacenter Location such as West US.

On the Basics page, enter:

  • A name for the VM
  • A username for the Admin User
  • The Authentication Type set to SSH public key
  • Your SSH public Key as a string (by default, from your ~/.ssh/ directory)
  • A resource group name (to create a new deployment group) or select an existing group
  • And Click OK to continue and choose the VM size; it should look something like the following:
create linux virtual machine in azure

When you are done, click OK to continue to the next section. Choose a VM size and then click Select to continue. You can view all from the right side of choose size screen.

how to create linux virtual machine in azure portal

On the Settings blade, you can change the storage and networking options.

create a linux virtual machine in azure with powershell

Click Summary to review your choices. When you’re done, click OK.

create a linux virtual machine in azure portal

While Azure creates the virtual machine, you can track the progress under Virtual Machines in the hub menu.

Everything is fine to give an ok then monitor the same from Portal Page and from Notification button on top as below.

create linux virtual machine azure

It will take some time to create this VM. Once the installation is done it will completion message.

create a linux virtual machine in azure portal

Connect to the virtual machine and log on.

On the Hub menu, click Virtual Machines. Now here everything will be showing on a portal page.

create a linux virtual machine in the azure portal

To connect this machine to the local system, Click on Ip address and copy the IP address
Note: Download Putty software to connect the server.

setup linux vm in azure

Enter the IP address on the Host Name and click on Open, Once it will Open it will ask for User Id and password.

create linux virtual machine in azure

You may like following Azure tutorials:

Here, we discuss how to create a Linux virtual machine in the Windows Azure Portal.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

>