Azure- Increase the VM Size

  1. Login to Azure cloud website
  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


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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s