How To Create An Ubuntu Virtual Machine In Azure

Introduction

In this article, we will see the following things.

  • Prerequisites
  • Implementation – Create an Ubuntu Virtual Machine in Azure.
  • Implementation – Connect an Ubuntu Virtual Machine through Putty.

Prerequisites

  • Some basic knowledge of Azure, like how to create services.

Implementation – Creating Ubuntu Virtual Machine in Azure

  • Open Azure portal https://portal.azure.com
  • Click on "Create a Resource".

    How To Create Ubuntu Virtual Machine In Azure

  • Then, type Ubuntu and select Ubuntu Server 16.04 LTS.

    How To Create Ubuntu Virtual Machine In Azure

  • Click on the "Create" button.
  • Then, in the next step, select Subscription, Resource Group, Virtual Machine name, select Region, and Image etc.
  • Set username and password to log into the VM and make a note of that.

    How To Create Ubuntu Virtual Machine In Azure

  • Set the administrator account and then set the inbound port rules.
  • Don’t forget to set the Inbound Port Rules.
  • Set HTTP and SSH.

    How To Create Ubuntu Virtual Machine In Azure

  • Then, click "Next" if you want to change your disk type.

    How To Create Ubuntu Virtual Machine In Azure

  • By default, the network settings are there. Just click on Next.

    How To Create Ubuntu Virtual Machine In Azure

  • Set several properties in management if you need.

    How To Create Ubuntu Virtual Machine In Azure

  • Then, set the guest config accordingly.

    How To Create Ubuntu Virtual Machine In Azure

  • Set the Tags.

    How To Create Ubuntu Virtual Machine In Azure

  • Then, at last, click on "Review + Create".

    How To Create Ubuntu Virtual Machine In Azure

  • Click on "Create".
  • Once it is up and running, we will connect our VM using SSH tool called Putty.
  • Now, open the virtual machine in Azure portal and look for the Public IP address which helps you to connect with VM and also required in the putty tool.

    How To Create Ubuntu Virtual Machine In Azure

  • Download Putty.exe from the internet and pass that public IP address in it.

Implementation – Connect Ubuntu Virtual Machine through Putty

How To Create Ubuntu Virtual Machine In Azure 
  • Give the username and password which you have set in the portal at the time of creation of Virtual Machine.

    How To Create Ubuntu Virtual Machine In Azure
This is how you can connect your virtual Ubuntu Linux Machine.


Similar Articles