How long does it take to resize your public VM?

Gen-Hwa Chiang 1 Reputation point Microsoft Employee
2020-08-13T21:54:04.46+00:00

today I requested to resize my VM and it has been aboyt 3 hours now and I am still not able to gain access to my VM. How long does it usually take for the "resize" to be completed?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,035 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Ronen Ariely 15,206 Reputation points
    2020-08-16T16:11:06.147+00:00

    Good day @Gen-Hwa Chiang

    The physical servers in Azure regions are grouped together in clusters of common physical hardware.

    In most cases the desired new VM size is supported on the current hardware cluster hosting the VM. In this case, resizing a VM should not take more than few minutes, since the Azure only need to change the metadata of the VM and allocate the new size. These are only administrative host actions. In these cases the Azure only need to restart the VM if it was running.

    Unfortunately this is not always the case! In some cases we must deallocate the VM first and re-allocate it, which can take time. Moreover, if we are using availability set then in some cases all the VMs must be resized together, since they must use the same hardware cluster.

    Note! restarting the VM can take long time, depending on the running application which needed to be close/re-open in an ordinarily procedure (for example SQL Server).

    So... in general, in most cases it should finish in less than few minutes but it is not a rare that it can take longer.

    With that being said, 3 hours sound very long time. It might suggest an issue in the process which require checking the VM host (this cannot be done in the forum but you will need to open a ticket so the Azure team will be able to check it). In addition and more common case which I would check is that maybe during the procedure on the way the OS did some deep update like installing Cumulative Update. Maybe what you are waiting is not related to the re-size of the VM but the installation of update.

    What Next

    (1) Using the Portal, check what you get when you use the "Boot diagnostics"

    (2) In future cases, I recommend always before you change the size of VM: shout down the OS in an ordinarily procedure -> deallocate the VM (can be done in the Portal) -> change the size -> re-start the VM

    (3) If the issue continue then you should probably open a ticket from your subscription so the support team will be able to check your VM status.

    I HIGHLY recommend to read this post for more information regarding changing the size of VM: https://azure.microsoft.com/en-us/blog/resize-virtual-machines/

    1 person found this answer helpful.
    0 comments No comments

  2. Dave Fennell 6 Reputation points
    2020-09-24T13:29:49.19+00:00

    Personally I've never seen it take less than an hour ... I'm doing some today and this is fairly typical:

    28040-image.png

    1 person found this answer helpful.
    0 comments No comments

  3. Andreas Baumgarten 123.5K Reputation points MVP Volunteer Moderator
    2020-08-13T22:13:27.51+00:00

    I resized a VM 3 days ago. From resize/ok until the VM was running again it was just a few minutes.

    Maybe this is helpful.

    Regards

    Andreas Baumgarten

    (Please don't forget to Accept as answer if the reply is helpful)

    0 comments No comments

  4. Didier3001 1,021 Reputation points Microsoft Employee
    2020-08-16T13:35:47.81+00:00

    Hi @Gen-Hwa Chiang

    Resizing a VM should take less than a minute as we only need to restart the VM
    https://learn.microsoft.com/en-us/azure/virtual-machines/windows/resize-vm

    Regards,
    Didier3001

    0 comments No comments

  5. Letowt-Vorbek, Maciek 1 Reputation point
    2022-02-09T16:10:40.337+00:00

    The better part of an hour.
    We are also in the "West Europe" cloud and the actual resize is done by our cloud service provider in India. They say: 1 hour including buffer.

    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.