In this article, I am going to demonstrate the steps required to create a Linux VM 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.
https://api.kontext.tech/resource/6460a618-c69d-5751-9c53-2d03d46ade51
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
https://api.kontext.tech/resource/dcdd0263-6e8b-5cac-b79f-fe6a389a529a
- Select Classic as deployment model.
- Click Create button.
- Input Host Name, User Name, Authentication Type (I am using password for this demo)
https://api.kontext.tech/resource/7b2da8c5-bdc2-5d5a-b226-3e6746cf0d89
- 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.
https://api.kontext.tech/resource/c5ab2aae-6554-5bbe-bd14-997f20448114
Navigating through menu ‘Virtual machines (classic)’, you will find the server in the list as well.
https://api.kontext.tech/resource/ffd38492-0348-5b2d-8f08-3ff2ca0f4645
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.
https://api.kontext.tech/resource/8b691658-669a-56db-9e92-a20b2c99ec08
In the Endpoints page, the SSH is pre-created already in my sample as you can see from the following screenshot:
https://api.kontext.tech/resource/37a5ea60-8b87-58f5-9155-cfb6711b7e00
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.
https://api.kontext.tech/resource/9e1fc8f8-d9e7-59ae-99a1-28465dcd0f6e
Click ‘Login’ button to login.
Click ‘Yes’ button when you get the warning:
https://api.kontext.tech/resource/ad407b82-5446-5ad6-8061-cf6bcd51b875
And then you are ready to explore the server using WinSCP.
https://api.kontext.tech/resource/595487c4-7068-50fa-9768-19972d22e2cd
If you have already installed Putty client, click the Putty icon (the highlighted one in the following screenshot ) to start a Putty session.
https://api.kontext.tech/resource/f27890a1-f3b3-5142-a9b7-5297799d60dd
The following is a screenshot of Putty.
https://api.kontext.tech/resource/5bdcce0f-16bb-56e0-ae00-36ef8437f653
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!