Av1-series retirement

On August 31, 2024, we retire Basic and Standard A-series virtual machines (VMs). Before that date, migrate your workloads to Av2-series VMs, which provide more memory per vCPU and faster storage on solid-state drives (SSDs). The remaining VMs with these specific sizes on your subscription will be set to a deallocated state. These VMs will be stopped and removed from the host. These VMs will no longer be billed in the deallocated state.

Note

In some cases, you must deallocate the VM prior to resizing. This can happen if the new size is not available on the hardware cluster that is currently hosting the VM.

Migrate workloads to Av2-series VMs

You can resize your virtual machines to the Av2-series using the Azure portal, PowerShell, or the CLI. Below are examples on how to resize your VM using the Azure portal and PowerShell.

Important

Resizing a virtual machine results in a restart. We recommend that you perform actions that result in a restart during off-peak business hours.

Azure portal

  1. Open the Azure portal.
  2. Type virtual machines in the search.
  3. Under Services, select Virtual machines.
  4. In the Virtual machines page, select the virtual machine you want to resize.
  5. In the left menu, select size.
  6. Pick a new Av2 size from the list of available sizes and select Resize.

Azure PowerShell

  1. Set the resource group and VM name variables. Replace the values with information of the VM you want to resize.

    $resourceGroup = "myResourceGroup"
    $vmName = "myVM"
    
  2. List the VM sizes that are available on the hardware cluster where the VM is hosted.

    Get-AzVMSize -ResourceGroupName $resourceGroup -VMName $vmName
    
  3. Resize the VM to the new size.

    $vm = Get-AzVM -ResourceGroupName $resourceGroup -VMName $vmName
    $vm.HardwareProfile.VmSize = "<newAv2VMsize>"
    Update-AzVM -VM $vm -ResourceGroupName $resourceGroup
    

Help and support

If you have questions, ask community experts in Azure Q&A. If you have a support plan and need technical help, create a support request:

  1. For Azure Subscription, select your subscription.
  2. For Support type, select Technical.
  3. For Service type, select Virtual Machine running Windows/Linux.
  4. For Problem type, select one suitable option that applies to you. for example, Performance.
  5. For Category, select one suitable option that applies to you. for example, Slow virtual machine.
  6. For Issue title, enter a summary of your request. for example, Assistance with resizing my VM from <VM_old_size> to <VM_new_size>.
  7. Select Next, and Next: Details + Submit.
  8. Fill in the mandatory items in Get support page and submit your request.

Next steps

Learn more about the Av2-series VMs