Migrating the Azure VM From One region to another region
Setps & Steps to migrate azure VM from one region to another region :
1. Download & Install the AzCopy Utility Tool
2. We can easily move the VM from One region to another region. First, we need to create one storage account in destination region either it should be Premium or Standard account.
3. Get the Source OS disk blob Url, the url should looks like
https://test.blob.core.windows.net:8080/vhds/test-os-7171.vhd... Go through on azure portal ->https://portal.azure.com ->Storage accounts ->storage accounts name -> blob Service -> get the blog url with container name
4. Same way get the other disks as well
Once get all those Information
5. Open the AzCopy Utility tool and paste the below command
AzCopy /Source:<https://sourceaccount.blob.core.windows.net/mycontainer1> /Dest:https:<//destaccount.blob.core.windows.net/mycontainer2> /SourceKey:<key1> /DestKey:<key2> /Pattern:<abc.txt>).
Command Description :
<key1> --- Manage keys of Source Storage
<key2> ---- Manage keys of Designation Storage
<abc.txt> --- test-os-7171.vhd (Path of C Drive)
Then copying transfer may start!!!! Do it all the disks
6. Once all the disks copied to another region, Important thing we need to create a disks from that
storage
7. Next step, We need to new Cloud Service in another region
8.Then start to spin up the VM, Go to portal https://portal.azure.com -> More Services -> search OS disks -> find out the
disks which had created from that storage account, then you can select the new cloud service and virtual network click
finish.
!!!! Now Server is created on another region!!!!!
Setps & Steps to migrate azure VM from one region to another region :
1. Download & Install the AzCopy Utility Tool
2. We can easily move the VM from One region to another region. First, we need to create one storage account in destination region either it should be Premium or Standard account.
3. Get the Source OS disk blob Url, the url should looks like
https://test.blob.core.windows.net:8080/vhds/test-os-7171.vhd... Go through on azure portal ->https://portal.azure.com ->Storage accounts ->storage accounts name -> blob Service -> get the blog url with container name
4. Same way get the other disks as well
Once get all those Information
5. Open the AzCopy Utility tool and paste the below command
AzCopy /Source:<https://sourceaccount.blob.core.windows.net/mycontainer1> /Dest:https:<//destaccount.blob.core.windows.net/mycontainer2> /SourceKey:<key1> /DestKey:<key2> /Pattern:<abc.txt>).
Command Description :
<key1> --- Manage keys of Source Storage
<key2> ---- Manage keys of Designation Storage
<abc.txt> --- test-os-7171.vhd (Path of C Drive)
Then copying transfer may start!!!! Do it all the disks
6. Once all the disks copied to another region, Important thing we need to create a disks from that
storage
7. Next step, We need to new Cloud Service in another region
8.Then start to spin up the VM, Go to portal https://portal.azure.com -> More Services -> search OS disks -> find out the
disks which had created from that storage account, then you can select the new cloud service and virtual network click
finish.
!!!! Now Server is created on another region!!!!!
No comments:
Post a Comment