Azure- Increase the VM Size

  1. Login to Azure cloud website https://portal.azure.com
  2. Go to the search tab  and  type  virtual machine
  3. Click on virtual machine which you want to upgrade
  4.  Go to settings > size
  5. Select the new size as mentioned below

VM1

6. Click on resize

If the virtual machine is currently running, changing its size will cause it to be restarted. Please schedule the activity in maintenance window.

 

Powershell commands to resize the VM;

$vm = Get-AzVM -ResourceGroupName $resourceGroup -VMName $vmName
$vm.HardwareProfile.VmSize = “<newVMsize>”
Update-AzVM -VM $vm -ResourceGroupName $resourceGroup