Deploy a Linux Server on Microsoft Azure:
Login to your Microsoft Azure web portal. Your dashboard might look similar to the image shown below. Click on the ‘Virtual Machines’ blade on the left side.
Next click on ‘Create Virtual Machines’
In this scenario, we’ll be selecting the ‘Ubuntu Server’ option.
Then chose which version of Ubuntu you would like to install. For this example, we’ll select ‘Ubuntu Server 17.04.’
Lastly, agree to the legal terms and click ‘Create’ to start provisioning your new Ubuntu virtual machine.
On the next page in the Azure portal, you’ll be able to configure your Ubuntu machine. Fill in the following details:
- Enter a name for your virtual machine
- Select your disk type (SSD or HDD)
- Username and password (This is important; you will need this info to login to your virtual machine later). For this example, we’ll select ‘Password’ as the authentication type
- Your subscription should already be selected here
- Create a new resource group, if you don’t already have one
- Specify a location
On this page, you’ll select your desired machine size. For demonstration purposes, we will select the smallest configuration (A1 Standard). Then click on ‘Select.’
You may wish to further customize optional virtual machine features on this screen. We can leave all these settings as default for our demonstration. Click ‘OK’ to proceed to the last step.
The last page will verify all settings and you’ll see ‘Validation Passed.’ After verifying all the settings, select ‘Create’ to start building your new Ubuntu Virtual Machine.
Your instance will start building and you can review the status on your dashboard.
Once your virtual machine has been deployed, navigate to ‘Virtual machines.’
Select your newly created virtual machine from the list.
Here you can review the details of your Ubuntu Server.
To initiate an SSH session to your Ubuntu Server, click on the ‘Connect’ button at the top of the page.
You will be presented with a drop down menu. Copy the username and IP address.
To connect to your server, open up your favorite SSH client. For our demonstration, we’ll be using the Putty software. Paste the username and IP address in the ‘Host Name’ box and click ‘Open.’
Type the password we created earlier and press enter:
Congratulations, you have successfully launched a Linux Server on Microsoft Azure!