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.
All VM sizes are not showing while resizing the VM in Azure
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.
2 answers
Sort by: Most helpful
-
-
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. 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.