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!

info Last modified by Raymond at 8 months ago * This page is subject to Site terms.

More from Kontext

Entity Framework Core Code-First - Generate Covering Index with Columns Included

local_offer entity-framework local_offer asp.net core local_offer Azure local_offer C#

visibility 17
thumb_up 0
access_time 7 days ago

In SQL Server or some other relational databases, it is a very common requirement to create covering index with columns included in index pages beside the index key columns. With Entity Framework Core, you can also easily generate covering indexes using purely C# code. Scenario For ...

open_in_new ASP.NET Core

local_offer Azure local_offer kontext

visibility 9
thumb_up 0
access_time 3 months ago

In the past few months, Kontext's DNS server was not very stable as it went offline several times accidentally. When the DNS server is down, our domain (kontext.tech) cannot be parsed successfully to the IP address of Azure App Service (the service that hosts this website); thus it became unreach...

open_in_new Kontext Information

Modern Web Application - Azure Blob Storage for Uploaded Files

local_offer Azure local_offer asp.net core local_offer dotnetcore

visibility 274
thumb_up 0
access_time 3 months ago

With cloud platforms like Azure, we can totally separate user content storage from web application storage to decouple components from each other and to make the application easy to scale and deploy. This article provides detailed information with code snippets about how to use Azure server-less product Blob Storage and App Service to enable horizontally scalable web application for users to upload files (BLOBs).

open_in_new Azure

Azure SQL Database Automated Backup Strategy

local_offer Azure local_offer SQL Server

visibility 78
thumb_up 0
access_time 3 months ago

When designing the architecture of Kontext platform, Azure SQL Database is chosen as the storage for relational data. TDE and other advanced security features are always enabled to protect the database. Backup plans are also employed to ensure I can always restore the database for as point of tim...

open_in_new Azure

info About author

comment Comments (0)

comment Add comment

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

No comments yet.

Dark theme mode

Dark theme mode is available on Kontext.

Learn more arrow_forward

Kontext Column

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


Learn more arrow_forward