How to Set up a Linux (Ubuntu) Virtual Machine on Microsoft Azure.
Virtual machines are created using virtualization technologies that allow multiple operating systems to run on a single physical machine, known as the host system. A Linux virtual machine (VM) is a virtualized instance of a computer system that runs the Linux operating system.
So, how do you create a Linux Virtual Machine?
Using the following Do-It-Yourself (DIY) steps you can create one.
You need to have a Microsoft Azure account subscription.
Log into the portal https://portal.azure.com/
After sign into Azure account, click on Create as indicate below to access the virtual machine icon.
-
Then, click on virtual machine icon to create one.
5. Fill in all the required details as required. You can create a resource group if you don't have one already. If you have an existing one, you can as well use it.
Choose the region closest to you or your users. Choose the Availability option.-, Security type, image and VM architecture as displayed above.
Select the size and administration type. Select the SSH public key.
SSH keys offer enhanced security compared to passwords. so, generate a new key pair and give it a name.
Creating Disk
a. OS disk size - image default (30GiB)
b. OS disk type - Standard SSD (locally- redundant storage)
c. Key management - Platform- managed key
Click on Review + create
Then Create, followed by download private key and create resources.
This page deployment is complete comes up before you click Go to resources.
when you click Go to resources you will be taken to this page below
This is the key generated.
Click connect on the top left hand of the window. Below are the means of connection and the IP address. The lists of recommended and the most common way to connect to your virtual Machine.
You can connect through either SSH using Azure or through Native SSh.
a. To connect to SSH using Azure CLI, Click on Select
Then, Click Configure + Connect to Start Configuring the Machine.
b. To connect to Native SSH, Click on Select
Above are the steps for setting up a Linux (Ubuntu)Virtual Machine using Microsoft Azure.
Thank you.