How to setup Azure cloud Linux VM using Azure portal

How to setup Azure’s Free Cloud Linux Virtual Machine

There are two ways you can set up Azure portal
1) Azure CLI
2) Azure portal

The simplest way to setup is using an Azure portal.

First, you need to create Microsoft account.

Once you have registered with Microsoft, Login to Azure portal.
Login URL:
password: xxxxxxxx

After you log into the Azure portal, click on “new” button on left side of the portal.
Select “Compute”. Click see more under FEATURED APPS.

azure featured apps
azure featured apps


In the search box of Compute type operating system, e.g. “Centos”. It will list all available version of operating system and then you can select require version.

azure os selection and version
azure os selection and version


Select a deployment model

1) Classic* has limited option available

2)resource manager* is new feature provided by Azure

*For more details on classic and resource manager refer below link:

Select  resource manager

resource manager
resource manager selection

After selecting deployment model.

Click on create

Follow below easy 4 step and make necessary changes referring images

Step 1: Basic – Configuration basic configuration

Name –  set name for your azure VM machine.
VM disk type – select HDD or SSD.
User Name – set username to login to server through ssh
Authentication type – where you want to login  server using your ssh public key or password
Subscription –  Free Trial
Resource group – select create new and give name for resource group
Location – select nearest geo-location.

Azure basic configuration


Step 2: Size – Choose virtual machine size

Choose VM server resources.

My recommendation go for A3 Basic

Azure selecting server resources

Step 3: Settings – Configure optional features

click ok

Settings Configure optional features
Settings Configure optional features


Step 4: Summary

Verify all your details and then click ok

azure summary
azure summary


Your server is getting ready, It will take few minutes to deploy.

deployment screen
deployment screen

Once deployment is complete login into the server with ssh.

(you can get server IP by clicking on VM server name in the dashboard panel) also use the same password which you have set while configuring VM server SSH configuration.


running azure vm
running azure VM

Once you login into the server installs and configure server packages.

Also, Make changes in a firewall to open ports default all ports are blocked except port 22.

If you have any difficulty feel free to contact me.

Leave a Reply

Notify of