I have two Azure VMs with three year reservations on one tenant. Due to a company re-org I'd like to move them to a new tenant. The VMs on the existing tenant are assigned to an existing virtual network that needs to remain as-is. Fortunately, these VMs are not under much usage at the moment so I have some flexibility with the timing and duration of the migration. I'd like to make sure I have the steps to do so clear.
From what I understand so far the steps would be:
- Create a new a new subscription
- Create a new virtual network within the new subscription
- Move the VM's to the new virtual network and new subscription
- Move the subscription to the new tenant
- Move the VM's from the moved subscription/virtual network to the subscription/virtual network on the new tenant
Since they are reserved instances I was concerned that cloning the VMs and setting up new VMs on the new tenant would invalidate the reservation.
I've found the following resources that, each, partially cover pieces of this topic:
https://learn.microsoft.com/en-us/answers/questions/258686/how-to-migrate-azure-vm-from-one-tenant-to-another
https://www.remotelyrmm.com/blog/how-to-migrate-an-azure-virtual-machine-from-one-tenant-to-another
https://stackoverflow.com/questions/77949013/migrate-different-virtual-machines-and-sql-vm-to-different-tenant-in-azure