Azure VM resize

Handian Sudianto 6,096 Reputation points
2024-01-26T07:40:30.66+00:00

Hello, Now i have one vm running on SKU Standard D2s_v3 and have reservation is enable for this VM. What i want is to upgrade the SKU temporary (about 2 weeks) to D4s_v3, but i have several question :

  • There are downtime when resizing the VM?
  • When 2 weeks is over, can i resizing/downgrade the VM to previous SKU?
  • After the VM resize to D4s_v3, this mean we still pay for the reservation?
  • After the VM resize to D4s_v3, will i pay this VM use PAYG?
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
3,577 questions
{count} votes

Accepted answer
  1. Stanislav Zhelyazkov 28,186 Reputation points MVP Volunteer Moderator
    2024-01-26T07:42:53.1333333+00:00

    Hi,

    • There are downtime when resizing the VM? - Yes, requires shutting down the vm.
    • When 2 weeks is over, can i resizing/downgrade the VM to previous SKU? - Yes.
    • After the VM resize to D4s_v3, this mean we still pay for the reservation? - Yes
    • After the VM resize to D4s_v3, will i pay this VM use PAYG? - Yes

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Luca Lionetti 3,231 Reputation points
    2024-01-26T08:26:50.2433333+00:00

    Hi, Welcome to Microsoft Q&A community forum!
    If the virtual machine is currently running, changing its size will cause it to restart.
    When you buy a reservation, the discount can apply to other instances with attributes that are within the same size group. This feature is known as instance size flexibility. The flexibility of the discount coverage depends on the type of reservation and the attributes you pick when you buy the reservation.
    When you purchase a reservation, it applies to VMs in the same family, which have a ratio value applied to them. For example, if you buy a DS4v2 that has a ratio of 8, you can have several options: You can use 8 VMs from the same family with a ratio of 1 that adds up to 8, or two VMs with a ratio of 4 = 8
    If you go from D2s_v3 to D4s_v3, for example, you will continue to pay the reservation, but this will reduce the costs of the D4s_v3.
    the ratio are for this vm's
    DSv3 Series,Standard_D2s_v3, ratio 1
    DSv3 Series,Standard_D4s_v3,ratio 2
    So in your case half of the vm will be covered by the reservation you already have, the other half is a PAYG. vm ratio

    Hope this helps
    Cheers
    Luca
    Please "Accept as Answer" and Upvote if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues


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.