本地到 GCP 迁移概览

本篇概览文章概述了使用 Google Cloud Migrate for Compute Engine(以前称为 Velostrata)将虚拟机从 vSphere 迁移到 Google Cloud 所需的常规步骤。

GCP 前提条件

在开始迁移到 Google Cloud 之前,需要创建 Identity and Access Management 权限

设置 VPN

规划本地数据中心与 Google Cloud 之间的安全连接。Cloud VPNCloud Interconnect 这两个选项都可用于建立安全连接。

在 Google Cloud 上配置防火墙规则

在 Google Cloud 和本地、AWS 或 Azure 环境中创建防火墙规则

设置 Migrate for Compute Engine Manager

Google Cloud 上的 Migrate for Compute Engine Manager 提供 Web 界面并通过 Google Cloud 控制迁移操作。在 Google Cloud 上配置 Migrate for Compute Engine Manager 以继续。

配置 vSphere 并设置 Migrate for Compute Engine 后端

如需设置 vSphere 和 Migrate for Compute Engine,您必须执行以下操作:

  • 创建角色
  • 配置适用于 vSphere 的 Migrate for Compute Engine 本地后端虚拟设备
  • 安装 vCenter 插件。

如需了解相关说明,请参阅部署 Migrate for Compute Engine 后端页面。

创建 Cloud Extensions

配置 Manager 和后端后,为迁移创建 Cloud Extensions

准备 Linux 虚拟机

如果要迁移 Linux 虚拟机,请安装 Migrate for Compute Engine 软件包,为 Google Cloud 重新配置这些虚拟机。

迁移单个虚拟机

现在,您可以通过 vSphere 控制台在云端运行虚拟机

迁移一波虚拟机

Migrate for Compute Engine 会将虚拟机组整理为数个波次。了解应用的依赖项后,即可创建包含虚拟机组的 Runbook开始迁移