All VM sizes are not showing while resizing the VM in Azure

Abhi Sahu 0 Reputation points
2024-11-13T13:43:42.6166667+00:00

All VM sizes are not showing while resizing the VM in Azure,

I am using Windows (Windows Server 2022 Datacenter) OS and current size is Standard B2s v2 (2 vcpus, 8 GiB memory). I want to resize this VM from current size to B4MS but when I am resizing, it is only showing 202VM sizes. But not showing complete B-series. Currently my VM is running in East US2 location.

Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
423 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Josh 80 Reputation points
    2024-11-13T14:08:45.7066667+00:00

    If your VM is still running and you don't see the size you want in the list, stopping the virtual machine may reveal more sizes.

    0 comments No comments

  2. anashetty 1,145 Reputation points Microsoft Vendor
    2024-11-18T14:30:51.6166667+00:00

    Hi Abhi Sahu,

    As per my understanding, you cannot resize your VM from B2s_v2 to B4ms because of the underlying hardware differences and restrictions in Azure VM resizing. Azure does not allow resizing between VMs with resource disk and non-resource disk hardware. You can see in the below images that B2s_v2 does not have a Local storage and B4ms has Local storage of 32GiB.User's imageUser's image For more information, you can refer to this https://learn.microsoft.com/en-us/azure/virtual-machines/azure-vms-no-temp-disk#can-i-resize-a-vm-size-that-has-a-local-temp-disk-to-a-vm-size-with-no-local-temp-disk

    If you want to switch to Standard_B4ms, you need to redeploy the VM: Deallocate and Detach the OS Disk and Create a New VM with B4ms. Then attach the old disk to the New VM.
    Alternatively, you can try this. If you want to avoid redeployment, you can resize to a compatible B-Series v2 size which has same vCPUs and RAM equal to B4ms.

    If you have any further queries, please do let us know. If the answer is helpful, please click "Accept Answer" and "Upvote it" as it can be helpful to others in community.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.