将 Amazon Linux 2 虚拟机迁移到 Google Cloud

Experimental

This product or feature is subject to the “Pre-GA Offerings Terms” in the General Service Terms section of the Service Specific Terms. Pre-GA products and features are available “as is” and might have limited support. For more information, see the launch stage descriptions.

Amazon Linux 2 是由 Amazon 开发和维护的 Linux 发行版。虽然它可以在其他云平台上运行,但 Amazon 不提供支持。

Migrate to Virtual Machines 可以将虚拟机上运行的 Amazon Linux 2 自动转换为 Google Cloud支持的操作系统。然后,虚拟机会迁移到 Google Cloud。如果您的虚拟机无法转换,您可以使用 Google Cloud 操作系统映像重新构建虚拟机,然后将数据从源虚拟机传输到重新构建的虚拟机。

如需将 Amazon Linux 2 工作负载迁移到 Google Cloud,请选择可用的迁移流程之一:

注意 :运行 Amazon Linux 2 的某些虚拟机无法自动转换为 Rocky Linux 8。对于这些虚拟机,我们建议您使用虚拟机磁盘迁移流程将虚拟机迁移到 Google Cloud

  • 操作系统转换:使用此方法时,Migrate to Virtual Machines 会先尝试将在虚拟机实例上运行的 Amazon Linux 2 转换为 Rocky Linux 8。如果转换成功,Migrate to Virtual Machines 会完成迁移。此过程包括以下步骤:

    1. 在来源虚拟机上运行以下命令。
       
       
      mkdir -p /etc/google/migrate/elevate_amazonlinux2_to_rocky
    2. 开始复制源虚拟机。复制过程会将 Amazon Linux 2 操作系统转换并升级到 Rocky Linux 8(包括所有已安装的软件包),并将虚拟机适配到 Compute Engine。

    该虚拟机使用 Rocky Linux 8 启动。您现在可以设置目标详细信息,创建测试克隆并测试虚拟机。如果虚拟机按预期运行,您可以割接到 Google Cloud上的虚拟机。

  • 虚拟机磁盘迁移:如果您不想执行自动操作系统转换,或者您的虚拟机不适合此流程,则可以选择将虚拟机的磁盘迁移到 Google Cloud上的永久性磁盘卷。此功能可帮助您使用官方支持或任何其他基础映像迁移来源虚拟机中的工作负载状态(虚拟机磁盘),并将其作为永久性磁盘卷挂接到 Google Cloud上的现有虚拟机或新虚拟机,同时最大限度地减少对工作负载的中断。

case studies

See More Case Studies

Contact us

Partner with Us for Comprehensive IT

We’re happy to answer any questions you may have and help you determine which of our services best fit your needs.

Your benefits:
What happens next?
1

Send your request

2

We do a discovery and consulting meting 

3

We prepare a proposal 

Feel free to contact us