Is it possible to resize my B2S VM to D2as_v5 VM?

CuteDoge 1 Reputation point
2022-07-13T17:40:32.497+00:00

So I have a B2S Azure VM instance. I want to upgrade it as my app now requires continuous loads that the B series CPUs cannot consistently provide. I have conducted some research and it seems like D2as_v5 instance would be perfect for me. But there is a catch - this VM size has an AMD CPU, while my current one is Intel. Is it possible to transfer my Ubuntu 20.04 OS disk to a new VM of this size and have it boot?

Also I have payed 1 year reservation for the B2S VM, do I need to exchange it firstly to 1 year D2as_v5 reservation and only then to make a resize? Also this D2as_v5 is not supported when changing sizes, but I can still buy/exchange the reservation for it, how do I deal with that? Would it be possible to just resize my current instance if I stop it, or will I need to delete my current VM first and then create a new one and plug my disks?

Also I am not using the temp disk in my VM at all, so it should be not an issue I suppose.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,041 questions
Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
927 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alan Kinane 16,951 Reputation points MVP Volunteer Moderator
    2022-07-14T08:26:42.62+00:00

    Yes, this is possible. Your disks are actually on remote storage so the VM host will be on different hardware anyway. The process is to first stop your VM and then select the new size. If the size is not available after you stop your VM then you may need to check if this VM series is available in your region here: https://azure.microsoft.com/en-us/global-infrastructure/services/?products=virtual-machines and also check if you have a quota for this size - https://learn.microsoft.com/en-us/azure/networking/check-usage-against-limits. If not then you would need to log a support ticket with Microsoft to request an increase.

    You can exchange the reservation at any stage, this will not prevent you from resizing the VM but note you will want to exchange the reservation as soon as possible to avoid being double charged. I recommend to resize your VM first and when that operation is successful then to perform the reservation exchange to the new size.

    1 person found this answer helpful.
    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.