Managing VMs with the Azure portal

Azure Virtual Machines (VM) is one of several types of on-demand, scalable computing resources that Azure offers. Typically, you choose a VM when you need more control over the computing environment than the other choices offer. An Azure VM gives you the flexibility of virtualisation without having to buy and maintain the physical hardware that runs it.

This article shows how to create and manage a VM using the web-based Microsoft Azure portal. However, as the online documentation provided by Microsoft to support Azure is of a generally high standard, the article does not go into detail, but instead provides links to the relevant Microsoft information. 

For a general introduction to the Azure portal, including how to access it, please refer to knowledge article, KB0011450, An introduction to the Microsoft Azure portal.

 

Managing VMs with the Azure portal

The Azure portal enables you to create and manage your VMs. This article provides information on how to:

  • Create a VM,
  • Connect and log on to a Windows VM
  • Install a role and open ports on a VM
  • Add more storage to a VM
  • Change the size of a VM

Before creating a VM, there are a number of considerations you should make. Refer to Microsoft article, Overview of Windows virtual machines in Azure, for further details.

Creating a VM

The following link shows how to create a Windows VM in the Azure portal:

Steps include:

  1. Choosing a VM image from the marketplace
  2. Creating a Windows VM
  3. Connecting to the VM, and signing on
  4. Optional: Stopping the VM

Connecting, and logging on, to a Windows VM

The following link shows how to connect, and log on, to a Windows VM:

Steps include:

  1. Connecting to the VM
  2. Logging on to the VM

Installing a role and opening ports on a VM

The following link shows how to install a role and open ports on a VM:

Steps include:

  1. Making sure the VM is running
  2. Connecting to the virtual machine and signing in
  3. Installing IIS (Internet Information Services) on your VM
  4. Opening port 80
  5. Connecting to the default IIS website

Adding more storage to a VM

Additional storage can be allocated to a VM by attaching more data disks. The size of the VM controls how many data disks you can attach.

The following link shows how to attach a data disk to a Windows VM:

Steps include:

  1. Finding the VM
  2. Option 1: Attaching a new disk
  3. Option 2: Attaching an existing disk
  4. Initialising a new data disk
  5. Using TRIM with standard storage

Note:
TRIM allows an operating system to inform a solid-state drive (SSD) which blocks of data are no longer considered in use and can be wiped internally).

Changing the size of a VM

With Azure VMs you can change the size of your VM based on the needs for CPU, Network or disk performance.

The following link shows how to change the size of your VM:

Steps include:

  1. Resize a Windows VM not in an availability set
  2. Resize a Windows VM in an availability set