Creating a CentOS Virtual Machine in Miscrosoft Azure
These instructions will explain how to create a new (CentOS) Virtual Machine in Microsoft
Azure. You should already have registered with Azure and have a username and password for
your Azure account to hand. You will need to do this on the Azure Portal on the Interment and
also to have the Putty console program available to connect to the new VM once created. You
only need a basic VM (1-2Gb RAM and standard) – this will avoid any charges.
1) Create an Azure account and login to it.
2) Go the Azure Portal.
3) Select the Virtual Machines from the menu on the left
4) The Create a Virtual Machine page appears – see figure 1 below.
5) Add a new VM
6) Ensure that the subscription is Free Trial
7) Give the VM a name of your choosing
8) Select the region as UK South
9) Select CentOS-based 7.7 as the Image type (not Linux or anything else)
10) Select Size and then from the list select “B1s” – you only need 1-2Gb of RAM and
one processor (to avoid charges)
11) For “Authentication type” it is easiest to select “Password”
Enter a username for your administrator account on the VM, eg. admin01 and a secure
password that you can remember
(the VM will be accessible over the Internet so a good password is essential)
Note: if you want to configure SSH with a public key instead of password – please see
instruction at the end of this document)
12) Select Inbound Port Rules and then make sure that SSH port 22 and RDP port
3386 are checked to allow remote access.
13) Leave everything else as per defaults.
14) Then click the Next: Disks button at the bottom of the page
15) On the Disks page (see figure 2 below) select the OS disk type as Standard HDD