5 Minutes to Create a Linux VM in Microsoft Azure

access_time 5 years ago visibility441 comment 0

In my previous post (https://kontext.tech/Blog/DotNetEssential/Archive/2014/12/31/b0c4c1ad018f41d9b5ad3228fa29895c.html), I summarized the steps about creating Ubuntu virtual machine in Azure. In this one, I am going to demonstrate the steps required to create it in the new Azure management portal and also the ways to connect to the server from WinSCP or Putty.

Login to Azure Portal

Login to https://portal.azure.com/# using your Microsoft account.

image

The portal looks very similar to your Windows 10 UI.

Create a Ubuntu Virtual Machine

Follow the steps below to complete the creations steps.

  • Click ‘+New’ button in the navigation bar to start creating.
  • Select Compute group.
  • In the Featured Apps list, select Ubuntu Server 14.04 LTS

image

  • Select Classic as deployment model.
  • Click Create button.
  • Input Host Name, User Name, Authentication Type (I am using password for this demo)

image

  • You can also configure the other settings, i.e. Pricing Tier, Network, Storage, Diagnostics, Resource Group and Location.
  • Click ‘Create’ button to finish.

In the management portal home screen, you will be able to find the tile of the virtual machine. In the following screen, the machine is still being created.

image

Navigating through menu ‘Virtual machines (classic)’, you will find the server in the list as well.

image

Once the status changes to Running, you can click the item to do more configurations.

Configure SSH Endpoint

In the details page of the virtual machine, it will give you all the details about the virtual machine you created.

The DNS name for the one I create is ubuntu1404lts-b585i1y5.cloudapp.net. You can change the DNS name as well.

You can configure endpoints through the menu item ‘Endpoints’ in Settings panel.

image

In the Endpoints page, the SSH is pre-created already in my sample as you can see from the following screenshot:

image

In this page, you can configure more endpoints, for example, TCP:80 for your website.

Click the existing SSH item to change the settings, I.e. port number, access control list and so forth.

Connect to the Server through WinSCP

In WinSCP, you can configure a new site using the DNS, port number, credential that you created previously.

image

Click ‘Login’ button to login.

Click ‘Yes’ button when you get the warning:

image

And then you are ready to explore the server using WinSCP.

image

If you have already installed Putty client, click the Putty icon (the highlighted one in the following screenshot ) to start a Putty session.

image

The following is a screenshot of Putty.

image

Summary

It is very easy to setup servers in Azure. The services are highly stable, scalable and secured. Through the portal, you can easily setup all different cloud services, including servers (all major platforms), database servers (MySQL, Oracle, SQL Server and so forth), Hadoop clusters, mobile apps, IoT hub, app services, application servers and so on.

Have fun with Azure!

local_offer Windows Azure local_offer Azure
info Last modified by Raymond at 11 months ago copyright This page is subject to Site terms.
Like this article?
Share on

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

Want to publish your article on Kontext?

Learn more

Kontext Column

Created for everyone to publish data, programming and cloud related articles.
Follow three steps to create your columns.


Learn more arrow_forward

More from Kontext

local_offer kontext local_offer Azure

visibility 188
thumb_up 4
access_time 11 months ago

From release v0.6.1, Kontext platform is server-less and cloud native with horizontal scalabilities.

local_offer Azure local_offer python local_offer spark local_offer pyspark

visibility 6474
thumb_up 1
access_time 2 years ago

The page summarizes the steps required to run and debug PySpark (Spark for Python) in Visual Studio Code. Install Python from the official website: https://www.python.org/downloads/ . The version I am using is 3.6.4 32-bit. Pip is shipped together in this version. Download Spark 2.3.3 from ...

local_offer Azure local_offer teradata local_offer teradata-tool

visibility 940
thumb_up 0
access_time 3 years ago

This page provides the steps to create a Teradata database in Microsoft cloud computing platform Azure.

About column

About Microsoft Azure and cloud computing.

rss_feed Subscribe RSS