How To Create Ubuntu Server 16.04 Lts In The Azure


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 administration of their services. The old console was simple and easy to use, But the newer one is not that much userfriendly compared to AWS consol and old console, its little complicated and hard to find something. May be they will improve it.


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


You should have windows Azure account. If you dont have It is recomented to create a free acount on azure. On signup you will get some free credit.

Lets Start

Login to Azure portal using your username and password. Now you will enter into azure console for managing all your running instances. Lets first create our VM. Click on the new icon on the top left, then select Virtual Machine. Normaly 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 (Recomented 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 authenication or using ssh key. For more details about it read this article For generating ssh key use keygen on 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 avilable location. But note that the usage charges will be diffrent for each locations. 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 mountly 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 leve it default.

Final Step is to verify the configuration


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

Recommended Articles

How to setup endpoints

Basic Linux Commands

Author : Tomvictor

CTO, Technorip