Create a Linux VM on Azure using the Portal
This article shows you how to use the Azure portal to create a Linux Virtual Machine.
The requirements are:
Signed into the Azure portal with your Azure account identity, click + New in the upper left corner:
Click Virtual Machines in the Marketplace then Ubuntu Server 14.04 LTS from the Featured Apps images list. Verify at the bottom that the deployment model is
Resource Manager and then click Create.
Enter VM options
On the Basics page, enter:
- a name for the VM
- a username for the Admin User
- the Authentication Type set to SSH public key
- your SSH public Key as a string (from your
- a resource group name or select an existing group
and Click OK to continue and choose the VM size; it should look something like the following screenshot:
Choose VM size
Choose the DS1 size, which installs Ubuntu on a Premium SSD, and click Select to configure settings.
Storage and network
In Settings, leave the defaults for Storage and Network values, and click OK to view the summary. Notice the disk type has been set to Premium SSD by choosing DS1, the S notates SSD.
Confirm VM settings and launch
Confirm the settings for your new Ubuntu VM, and click OK.
Find the VM NIC
Open the Portal Dashboard and in Network interfaces choose your NIC
Find the public IP
Open the Public IP addresses menu under the NIC settings
SSH to the VM
SSH into the public IP using your SSH public key. From a Mac or Linux workstation, you can SSH directly from the Terminal. If you are on a Windows workstation, you need to use PuTTY, MobaXTerm or Cygwin to SSH to Linux. If you have not already, here is a doc that gets your Windows workstation ready to SSH to Linux.
ssh -i ~/.ssh/azure_id_rsa firstname.lastname@example.org
Now you've created a Linux VM quickly to use for testing or demonstration purposes. To create a Linux VM customized for your infrastructure, you can follow any of these articles.