首页 > 解决方案 > 将 VM 从 AWS 迁移到基于 Hyper-V 的本地数据中心

问题描述

有谁知道如何将实例迁移到 hyper v 环境?

通常我们会从虚拟环境迁移到云环境。但我们确实有客户要求将工作负载从 AWS 转移到物理数据中心。

我们在物理环境中运行 Hyper-v。

标签: amazon-ec2hyper-v

解决方案


您可以使用 VM Import/Export,支持 Hyper-V。这些操作将主要通过 aws-cli 工具执行,包括一些限制:

导出实例和卷受到以下限制:

You can't export an instance from Amazon EC2 unless you previously imported it into Amazon EC2 from another virtualization environment.

You must export your instances and volumes to one of the following image formats that your virtualization environment supports:

    Open Virtual Appliance (OVA), which is compatible with VMware vSphere versions 4, 5, and 6.

    Virtual Hard Disk (VHD), which is compatible with Citrix Xen and Microsoft Hyper-V virtualization products.

    Stream-optimized ESX Virtual Machine Disk (VMDK), which is compatible with VMware ESX and VMware vSphere versions 4, 5, and 6.

You can't export Amazon EBS data volumes.

You can't export an instance that has more than one virtual disk.

You can't export an instance that has more than one network interface.

You can't export an instance from Amazon EC2 if you've shared it from another AWS account.

You can't have more than five export tasks per region in progress at the same time.

VMs with volumes larger than 1 TiB are not supported.

我获得此信息的文档:

https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html


推荐阅读