How to create Ubuntu server 16.04 Lts in the Azure ?

by Tom | Posted on July 9, 2016, 1:04 p.m.



In this tutorial, we are going to learn how to setup an Ubuntu 16.04 LTS server on Windows Azure cloud platform. As we azure is the cloud computing platform of Microsoft, they have recently released a new console for the administration of their services. The old console was simple and easy to use, But the newer one is not that much user-friendly compared to AWS console and old console, it's little complicated and hard to find something. Maybe they will improve it.


You should have an ssh terminal on your PC. For Linux and mac users simply use the terminal and for mac users download "Putty". It is recommended to take a look at the "Basic Linux command" tutorial



You should have windows Azure account. If you don't have It is recommended to create a free account on azure. On signup, you will get some free credit.

Let's Start

Login to Azure portal using your username and password. Now you will enter into an azure console for managing all your running instances. Let's first create our VM. Click on the new icon on the top left, then select Virtual Machine. Normally popular VM images will be displayed there. If you don't see the Ubuntu 16.04 click on the "see all" icon.

Now search "ubuntu" on the search tab and find the Ubuntu16 LTS image. Then click on the "Create button" select Resource manager (Recommended for production server. This is a new feature) or Classic (This can also manage via older azure console, easy managing, Choose this for simple need and testing)

Create virtual machine

Give the name, username, and password for the server, in the respective fields. you can either choose a password based authentication or use ssh key. For more details about it read this article For generating ssh key use keygen on a terminal for mac and Linux users or putty keygen for windows users. In the resource group, you can choose any of the existing one or you can create one. For keeping all simple I am choosing an existing one. same for the storage. In the location, You can choose any of the available location. But note that the usage charges will be different for each location. While choosing this make it closer to your or you target geographical location. Then click OK

Now you can configure the size of your VM. The monthly charges will also be displayed on there. Select most suitable for you. I am choosing A0 Basic(.25 Core and .75GB RAM) On the next step you can give the network configurations like static IP, network groups etc or leave it default.

Final Step is to verify the configuration


So we discuss deploying Linux server on Microsoft azure. Comment your questions and doubts bellow. Hope This tutorial is helpful for you...