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.
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.
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.
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: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-deployment-model
Select resource manager
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.
Step 2: Size – Choose virtual machine size
Choose VM server resources.
My recommendation go for A3 Basic
Step 3: Settings – Configure optional features
Step 4: Summary
Verify all your details and then click ok
Your server is getting ready, It will take few minutes to deploy.
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.
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.