Working With Ubuntu Server On Azure

Introduction

There are several methods to access your Ubuntu server through third-party software. In this demo, we will learn how to access our Azure Ubuntu Server using Putty software. You can download Putty from here.

Let’s Install our Ubuntu Server in Azure

Step 1

Log into your Azure portal here.

In the dashboard, choose to create a resource and Select "Ubuntu Server 18.04 LTS".

Working With Ubuntu Server On Azure 

Step 2

In the "Create a virtual machine" wizard, select Resource Group, Virtual Machine Name, Region, and Operating System Image that you want to install.

Working With Ubuntu Server On Azure 

Step 3

In the "Virtual Machine Size" part, we can change the virtual machine size as per our budget, so click the "Change Size" link.

Working With Ubuntu Server On Azure 

Step 4

In the "Size" option, you can select the cost and VM size as for your requirement; in this demo, we select B2s VM. After choosing the size, click “Select”.

Working With Ubuntu Server On Azure

Step 5

In the Administrator part, you can find the authentication type option. By default, it’s SSH public key, however, you can change it as “Password”, and then enter your Username and Password.

 

  • Inbound Port Rules are important and we need to select them to confirm how we are going to access our virtual machine.
  • So, select "Allow Selected Port".
  • In the Select Inbound Port, select SSH (22).
  • If you want, you can select RDP (3389) and then Click Next.

 

Working With Ubuntu Server On Azure 

Step 6

In the Disks part, we can select OS disk type like SSD or HDD. Normally, Premium SSD is the default one. So, click "Next" for network configuration.

Working With Ubuntu Server On Azure

Step 7

In the Networking section, we need to select our Virtual Network, Subnet, and Inbound Ports. We can skip Management, Advance, and Tag steps, so click "Review + Create".

Working With Ubuntu Server On Azure 

Step 8

Now, that our validation has passed, we can deploy our Ubuntu Virtual Machine. Just click "Create".

Working With Ubuntu Server On Azure

Step 9

Yes, our deployment is completed, now, we can access our server, so click "Go to resource".

Working With Ubuntu Server On Azure 

Step 10

In our SL-Ubuntu Virtual Machine, we can find our computer name and our Public IP (13.90.57.119) and Private IP (10.0.0.4). So, click Connect.

Working With Ubuntu Server On Azure

Step 11

In the "Connect to virtual machine" window, we can find our Remote login information. Open the Putty software and enter the Public IP Address and click Open. If you want to access the Ubuntu Server using SSH at this moment, you can’t log in, because we have not created an SSH Public Key yet.

Working With Ubuntu Server On Azure 

Step 12

Yes, now, we can enter our Login information. Enter your Username and Password.

Working With Ubuntu Server On Azure

Step 13

Now, we can verify our Ubuntu Server’s IP information using ifconfig command. Yes, we successfully deployed, and accessed our Ubuntu Server.

Working With Ubuntu Server On Azure 

Summary

I hope you can understand how to install Ubuntu Server in Azure and how to access our Ubuntu Server using Putty Software. In our next article we can check SSH Public Key Login practical. If you have any questions, feel free to comment under my article.


IFS R&D International (Private) Limited
IFS is a global enterprise software vendor providing solutions that help companies get better return