Why can't I resize VM from Standard_D2s_v4 to Standard_B2ms

Info.nl Vasil Panushev 51 Reputation points
2022-07-20T10:58:17.163+00:00

Hi

I have a VM with size Standard_D2s_v4 and would like to resize it to Standard_B2ms.

However this size is not offered. I attempted via portal and also via the "az vm list-vm-resize-options ... " command. Only D- d E-tier VMs are offered.

Why is that?

Thank you
Vasil

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,135 questions
0 comments No comments
{count} votes

Accepted answer
  1. George Chrysovalantis Grammatikos 526 Reputation points MVP
    2022-07-20T13:33:35.217+00:00

    Hi,

    A logical explanation could be that D2s_v4 support for Temp storage "Remote Storage Only" since the B2ms doesn't.

    Create an image of the VM, delete it, and create a new B2MS-sized VM from the image. That will solve your issue.

    2 people found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Info.nl Vasil Panushev 51 Reputation points
    2022-07-21T07:09:30.6+00:00

    Thanks! Now I figured it out.

    The relevant documentation is this one:
    https://learn.microsoft.com/en-us/azure/virtual-machines/azure-vms-no-temp-disk

    The D2s_v4 -> B2ms migration falls into the category "VM without temp storage" to "VM витх temp storage" which is not possible automatically.

    1 person found this answer helpful.
    0 comments No comments

  2. Maruthi Jella 1 Reputation point
    2022-12-07T23:40:23.087+00:00

    I'm trying to do the same, resize from d2s_v4 to B2ms. How did you endup doing this resize if its not possible automatically?

    0 comments No comments

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.