将Google计算引擎实例迁移到其他区域 [英] Migrate Google compute engine instance to a different region

查看:70
本文介绍了将Google计算引擎实例迁移到其他区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将几个计算引擎实例从欧洲迁移到亚洲. 我之所以需要这样做,是因为这些服务器的大多数用户位于亚洲,他们可以更快地访问其所在区域的服务器.我正在尝试遵循命令.

I am trying to migrate a couple of compute engine instances from Europe to Asia. I need to do this because most of the users for those servers are in Asia and they get faster access to servers in their region. I am trying following command.

gcloud compute instances move asiawindows1 --zone europe-west1-d  --destination-zone asia-east1-c

尝试此操作时出现以下错误

I get following error when I try this

属于子网的实例不能在区域间移动.

Instances belonging to subnetworks cannot be moved interregionally.

在不手动在亚洲区域中进行设置的情况下,移动这些服务器的最佳方法是什么?

What is the best way to move these servers without manually setting them up in the Asia zone?

推荐答案

在Google Cloud Platform中遵循以下步骤

Follow steps below in Google Cloud Platform

  1. 创建您的VM实例的快照
  2. 使用此快照创建磁盘
  3. 使用创建的磁盘创建映像
  4. 使用上述步骤中创建的图像创建新实例并更改您的区域

这篇关于将Google计算引擎实例迁移到其他区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆