- Login to Azure cloud website https://portal.azure.com
- Go to the search tab and type virtual machine
- Click on virtual machine which you want to upgrade
- Go to settings > size
- 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