VM Import/Export 的资源导入要求 - VM Import/Export
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

VM Import/Export 的资源导入要求

在开始之前,您必须了解 VM Import/Export 支持的操作系统和映像格式,以及实例和卷的导入限制。

VM Import/Export 支持的映像格式

对于导入磁盘和 VM,VM Import/Export 支持下列映像格式:

  • 启动虚拟装置 (OVA) 映像格式,该格式支持将映像与多个硬盘一起导入。

  • 流优化型 ESX 虚拟机磁盘 (VMDK) 映像格式,该格式可与 VMware ESX 和 VMware vSphere 虚拟化产品兼容。

  • 固定和动态虚拟硬盘 (VHD/VHDX) 映像格式,该格式与 Microsoft Hyper-V、Microsoft Azure 和 Citrix Xen 虚拟化产品兼容。

  • 用于导入磁盘和 VM 的 RAW 格式。

重要

作为物理到虚拟(P2V)转换的结果而创建的 VM 不受支持。有关更多信息,请参阅 使用 VM Import/Export 导入资源的限制

VM Import/Export 支持的操作系统

以下操作系统(OS)可以导入 Amazon EC2 以及从中导出。目前不支持使用 ARM64 架构的虚拟机。

重要

强烈建议避免使用生命周期 (EOL) 已终止的操作系统版本。操作系统供应商通常不为生命周期已终止的版本提供安全补丁或其他更新。继续使用生命周期已终止的系统会大大增加无法应用升级(包括安全修复)以及其他操作问题的风险。VM Import Export 功能未在生命周期已终止的操作系统版本上进行测试。

重要

从 2026 年 2 月 1 日起,VM Import Export 将开始弃用对 i386 架构和生命周期已终止的操作系统版本的支持。此弃用将从以下各项开始:Windows Server 2003(所有版本)、Windows Server 2003 R2(所有版本)、Windows Server 2008(所有版本)、Windows 7(所有版本)、Windows 8(所有版本)、Windows 8.1(所有版本)、CentOS 5(所有版本)、CentOS 6(所有版本)、CentOS 7(所有版本)、CentOS 8(所有版本)、Debian 6(所有版本)、Debian 7(所有版本)、Debian 10(所有版本)、Fedora 18(所有版本)、Fedora 19(所有版本)、Fedora 20(所有版本)、Fedora 37(所有版本)、Fedora 38(所有版本)、Fedora 39(所有版本)、Oracle Linux 5(所有版本)、Oracle Linux 6(所有版本)、Red Hat Enterprise Linux 5(所有版本)、Red Hat Enterprise Linux 6(所有版本)、SUSE Linux Enterprise Server 11(所有版本)、Ubuntu 12.04(所有版本)、Ubuntu 12.10(所有版本)、Ubuntu 13.04(所有版本)、Ubuntu 13.10(所有版本)、Ubuntu 14.04(所有版本)、Ubuntu 14.10(所有版本)和 Ubuntu 15.04(所有版本)。

VM Import/Export 支持以下 Linux/Unix 操作系统。

操作系统 版本 内核 服务包
Amazon Linux 2023 - 6.1 -

Amazon Linux 2

-

4.14、4.19、5.4、5.10

-

CentOS

5.1–5.11

2.6.18

-

6.1–6.8

2.6.32

-

7.0–7.9

3.10.0

-

8.0–8.2

4.18.0

-

9

5.14.0

-

Debian

6.0.0–6.0.8

2.6.32

-

7.0.0–7.8.0

3.2.0

-

10

4.19.0

-

11

5.10.0

-

12.2

6.1.0

-

12.4

6.1.0

-

Fedora

18

3.2.5

-

19

3.9.5

-

20

3.11.10

-

37

6.0.7

-

38

6.2.9

-

39

6.5.6

-

Oracle Linux

5.10–5.11

Unbreakable Enterprise Kernel (UEK) el5uek 内核后缀

-

6.1–6.10

Red Hat Compatible Kernel (RHCK) 2.6.32、2.6.39

Unbreakable Enterprise Kernel (UEK) 3.8.13、4.1.12

-

7.0–7.6

Red Hat Compatible Kernel (RHCK) 3.10.0

Unbreakable Enterprise Kernel (UEK) 3.8.13、4.1.12、4.14.35、5.4.17

-

8.0–8.9

Red Hat Compatible Kernel (RHCK) 4.18.0

Unbreakable Enterprise Kernel (UEK) 5.15.0 (el8uek)

-

9.0–9.5

Red Hat Compatible Kernel (RHCK) 5.14.0、5.15.0

Unbreakable Enterprise Kernel (UEK) 5.15.0 (el9uek)

-

9.6

Red Hat Compatible Kernel (RHCK) 6.12.0

Unbreakable Enterprise Kernel (UEK) 6.12.0 (el9uek)

-

Red Hat Enterprise Linux (RHEL)

5

2.6.18

-

6

2.6.32(2.6.32-71 除外)

-

7

3.10.0

-

8.0–8.9

4.18.0

-

9.0–9.6

5.14.0

-

Rocky Linux

9.0–9.6

5.14.0

-

SUSE Linux Enterprise Server (SLES)

11

2.6.32.12

1

3.0.13

2

3.0.76、3.0.101

3

3.0.101

4

12

3.12.28

3.12.49

1

4.4

2、3

4.12

4、5

15

4.12

无、1

5.3

2、3

5.14.21

4、5

6.4 6

Ubuntu

12.04

3.2.0

-

12.10

3.5.0

-

13.04

3.8.0

-

13.10

3.11

-

14.04

3.13.0、3.16.0、3.19.0

-

14.10

3.16

-

15.04

3.19.0

-

16.04

4.2.0、4.4.0、4.8.0、4.10.0、4.15.0

-

16.10

4.8.0

-

17.04

4.10.0

-

18.04

4.15.0、5.4.0

-

20.04

5.4.0

-

22.04

5.15.0

-

23.04

5.15.0

-

24.04 6.8.0、6.11.0 -

VM Import/Export 支持以下 Windows 操作系统。

操作系统 版本 位版本 适用于非默认区域

Windows Server 2003(服务包 1 或更高版本)

Standard、Datacenter、Enterprise

32、64

Windows Server 2003 R2

Standard、Datacenter、Enterprise

32、64

Windows Server 2008

Standard、Datacenter、Enterprise

32、64

Windows Server 2008 R2

Standard、Web Server、Datacenter、Enterprise

64

5

Windows Server 2012

Standard、Datacenter

64

5

Windows Server 2012 R2

Standard、Datacenter

64

5

Windows Server 2016

Standard、Datacenter 3

64

5

Windows Server 1709

Standard、Datacenter

64

5

Windows Server 1803

Standard、Datacenter

64

5

Windows Server 2019

Standard、Datacenter

64

5

Windows Server 2022

Standard、Datacenter

64

5、6

Windows Server 2025

Standard、Datacenter

64

是5、6

Windows 7 1

Home、Professional、Enterprise、Ultimate

32、64 44

是5

Windows 8 1

Home、Professional、Enterprise

32、64 44

是5

Windows 8.1 1

Professional、Enterprise

64

是5

Windows 10 1

Home、Professional、Enterprise、Education

64

是5

Windows 11 1、2

Home、Professional、Enterprise、Education

64

是5、7

1 操作系统的语言必须在导入时设为 US English

2 Windows 11 需要统一可扩展固件接口 (UEFI) 启动模式才能运行。为了帮助确保成功导入虚拟机,我们建议您将可选 --boot-mode 参数指定为 uefi。有关更多信息,请参阅 VM Import/Export 支持的启动模式

3 不支持安装 Nano 服务器。

4 在非Amazon Web Services 区域默认模式下启动实例时,仅支持 64 位版本的操作系统。有关更多信息,请参阅《Amazon EC2 用户指南》中的可用区

5 必须先启用该区域,然后才能在那里使用操作系统。有关更多信息,请参阅《Amazon 账户管理 参考指南》中的启用或禁用账户中的 Amazon Web Services 区域

6 中国(北京)和中国(宁夏)区域不支持 Windows Server 2022 和 Windows Server 2025。

7 在亚太地区(海得拉巴)、亚太地区(雅加达)、亚太地区(墨尔本)、中国(北京)、中国(宁夏)、欧洲(西班牙)、欧洲(苏黎世)和中东(阿联酋)地区,Windows 11 不受支持。

VM Import/Export 支持的启动模式

电脑启动时,它运行的第一个软件负责初始化平台并为操作系统执行特定于平台的操作提供界面。VM Import/Export 支持启动模式的两种变体:统一可扩展固件接口(UEFI)和传统 BIOS。您可以选择是否要在导入 VM 时把可选 --boot-mode 参数指定为 legacy-biosuefi

有关指定启动模式和 UEFI 变体的更多信息,请参阅《Amazon Elastic Compute Cloud 用户指南》的 启动模式 部分。

VM Import/Export 支持的卷类型和文件系统

VM Import/Export 支持使用以下文件系统导入 Windows 和 Linux 虚拟机。

支持使用 ext2、ext3、ext4、Btrfs、JFS 或 XFS 文件系统格式化的 MBR 分区卷和 GUID 分区表 (GPT) 分区卷。

重要

不支持 Btrfs 子卷。

支持使用 NTFS 文件系统格式化的 GUID 分区表 (GPT) 和主启动记录 (MBR) 分区卷。如果未指定启动参数,并且虚拟机在两种启动模式下都兼容,则 GPT 卷将转换为 MBR 分区卷。

VM Import/Export 自动检测你的 Windows 虚拟机兼容的启动模式。如果 Windows 虚拟机仅在单启动模式下兼容,则无需指定特定--boot-mode参数。

如果您的 Windows 虚拟机与两种启动模式兼容,并且导入的磁盘符合以下标准,则默认情况下,VM Import/Export 将选择旧版 BIOS。您可以为 --boot-mode 参数指定 uefi 以覆盖此行为。

  • 磁盘小于 2 TB

  • 磁盘包含的主分区不超过 4 个

  • 磁盘不是 Windows 动态磁盘

  • 文件格式为 VHDX