When using Azure Resource Mover tool to move a VM what are the dependencies?

David Kim 66 Reputation points
2023-04-01T00:07:32.12+00:00

Want to move a VM to another region using azure resource mover. Unsure about the dependencies for the VM to be moved?

https://learn.microsoft.com/en-us/azure/resource-mover/tutorial-move-region-virtual-machines - Is the RG considered a dependency? If I want to move the VM to another region then I would have to move the VNET, NIC, NSG, Public IP, attached disks,... with the VM. Do we need to move the source RG which contains the VM to the new region? Is the resource group considered a dependency? What are considered dependencies involved in moving a VM from one region to another?

Azure Resource Mover
Azure Resource Mover
An Azure service used for moving multiple resources between Azure regions.
243 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Fabricio Godoy 2,611 Reputation points
    2023-04-01T00:33:41.4533333+00:00

    Hello David.

    I believe you are looking for this checklist:

    Network Infrastructure (VNet / NSGs)

    Storage Accounts

    Availability Sets

    Load Balancers

    Public IP Addresses (and DNS)

    and no, you don't need to move RG

    I hope this help you, and if yes, please, don't forget to upvote and accept the answer

    Regards

    0 comments No comments

  2. Luke Murray 11,241 Reputation points MVP
    2023-04-01T01:30:39.9866667+00:00

    The resource group is a dependency.

    Azure Resource Mover will give you the opportunity to create a new resource group or map to an existing resource group in your new region - in fact, it's one of the first things you should do - to resolve the dependencies on the rest.

    The resource group and other dependencies aren't deleted unless you look at committing your change.

    Check out a few resources below - the videos will be useful in saying its behavior:

    0 comments No comments

  3. SadiqhAhmed-MSFT 47,571 Reputation points Microsoft Employee
    2023-04-03T09:58:03.0266667+00:00

    Hi @David Kim Thank you for contacting us on Microsoft Q&A platform. Happy to answer any qusestions you may have!

    When you use Azure Resource Mover to move a VM to another region, the corresponding resource group is added automatically for moving. This is so that the destination resource can be placed in a resource group**.** However, moving a resource group doesn't mean that all the resources in the source resource group will be moved. So, the resource group is not considered a dependency, but it is added automatically for moving the corresponding resource. You can choose to customize and provide an existing resource group after it's added for move.

    Is the RG considered a dependency?
    No.

    Do we need to move the source RG which contains the VM to the new region?
    No.

    What are considered dependencies involved in moving a VM from one region to another?

    • NICs
    • Availability sets
    • Azure virtual networks
    • Public IP addresses
    • Network security groups (NSGs)
    • Internal and public load balancers

    Hope this answers your question. Please reply if you've any questions.


    If the response helped, do "Accept Answer" and up-vote it

    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.