Tuesday, November 8, 2016

Create a Linux VM on Azure using the Portal

In this section we are going to see how to “Create a Linux VM on Azure using the Portal”.  We assume that you have an Azure Portal with a valid subscription. Follow the following steps to quickly create a “Linux Virtual Machine”.



  • Login into your Azure Portal with your portal credentials.
  • After logging you will be redirected to “Dashboard” of the Portal.
  • In the upper left corner you will find an option “New”.
  • Click on the “New” option.


  • After clicking on New you will find many options.
  • Click on the “Virtual Machines” Option.
  • Select “Ubuntu Server” from the Featured Apps and Select “Resource Manager”  as deployment model.

  • Click on the “Create” button.
  • On the Page will be displayed next Enter the following things.
  • A name for your “Virtual Machine”.
  • Admin Username
  • Set the Authentication type to “SSH
  • Select Existing “Resource Name” or add new.
  • After Entering all the required data click on the “Ok” button to continue.

  • The next step will be to “Select a Size”.
  • There will be multiple sizes displayed on the screen.
  • You can have a look the “Recommended” sizes by Azure.
  • Select the “DS1” Size from the Options as it will Install “ubuntu” on Premium SSD.
  • You can select other options also.
  • Please see below screenshot for more details.


  • The next option after this is the “Settings”.
  • There is no need to change or set any “Setting”.
  • It is recommend to leave the “Settings” as it is.
  • Just click “Ok” and the summary of the settings will be visible for review.
  • If all things are fine the “Confirm” the “Settings” by clicking on the “Ok” button.
  • Now the next step is to get the “Public” IP of the VM that we have just created.
  • Go to “Dashboard” of your portal.
  • Click on the “Network Interfaces” option.
  • In the “Network Interfaces” you will see the name of the VM that you just created.
  • Click on the VM and you see the Public IP Address.
  • Copy the Public IP Address. (Suppose your Public IP is 11.12.11.12)
  • Now SSH into the public IP using your SSH public key using the following command.
  • ssh -i ~/.ssh/azure_id_rsa ubuntu@11.12.11.12

That's all and your Linux VM is ready for use!

No comments:

Post a Comment

MS SQL : How to identify fragmentation in your indexes?

Almost all of us know what fragmentation in SQL indexes are and how it can affect the performance. For those who are new Index fragmentation...