利用Snapshot快速跨Region迁移服务器
利用磁盘Snapshot生产磁盘快照
找到VM的磁盘然后创建磁盘快照

导出快照

点击生成URL之后千万不要离开这个界面,因为生成的URL只会显示一次。

利用Azcopy拷贝到远端Region存储账号上
azcopy命令: azcopy /source:"<snapshot_url>" /DestKey:<输入的存储账号Key> /Dest:"https://<存储账号>.blob.core.windows.net/vhd/mydisk.vhd"


利用Azure CLI命令创建服务器。
创建disk
az disk create -n shadowos_disk -g vip_wms --source https://vipwmsdiag410.blob.core.windows.net/vhd/mydisk.vhd --location southeastasia
创建VM
az vm create -g vip_wms -n vip_shadow --attach-os-disk shadowos_disk --os-type linux --location southeastasia