

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Amazon EMR 支持的实例类型
<a name="emr-supported-instance-types"></a>

本节介绍 Amazon EMR 支持的实例类型（按 AWS 区域整理）。要了解有关实例类型的更多信息，请参阅 [Amazon EC2 实例](https://aws.amazon.com/ec2/instance-types/)和 [Amazon Linux AMI 实例类型矩阵](https://aws.amazon.com/amazon-linux-ami/instance-type-matrix/)。

并非所有实例类型在所有区域内都可用，实例可用性取决于指定区域和可用区的可用性和需求。实例的可用区由您用于启动集群的子网决定。

## 注意事项
<a name="emr-supported-instance-types-considerations"></a>

为 Amazon EMR 集群选择实例类型时，请考虑以下事项。

**重要**  
当您使用选择实例类型时 AWS 管理控制台，显示的每种实例类型**的 vCPU** 数量是该**实例类型**的 YARN vcore 数，而不是该实例类型的 EC2 v CPUs 数。有关每种实例类型的 v CPUs 数的更多信息，请参阅 [Amazon EC2 实例类型](https://aws.amazon.com/ec2/instance-types/)。
+ 如果您使用在指定区域和可用区中不可用的实例类型创建集群，则您的集群可能无法预置或可能预置失败。有关实例可用性的信息，请参阅 [Amazon EMR 定价页面](https://aws.amazon.com/emr/pricing)或者查看此页面上的 [支持的实例类型由 AWS 区域](#emr-instance-types-by-region) 表格。
+ 从 Amazon EMR 5.13.0 版本开始，所有实例均为根卷使用 HVM 虚拟化和 EBS 支持的存储。采用 5.13.0 之前的 Amazon EMR 发行版时，有些上一代实例使用 PVM 虚拟化。有关更多信息，请参阅 [Linux AMI 虚拟化类型](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/virtualization_types.html)。
+ 由于缺乏硬件支持和默认设置，可能会导致内存和核心利用率不足，因此如果运行低于 5.36.1 和 6.10.0 的 Amazon EMR 发行版，我们不建议使用 `c7a`、`c7i`、`m7i`、`m7i-flex`、`r7a`、`r7i`、`r7iz`、`i4i.12xlarge`、`i4i.24xlarge` 等实例类型。如果在这些发行版中运行上述实例类型，可能会降低性能，也不会看到新实例类型的预期优势，比如 `c7i` 和 `c6i`。要在这些性能类型下实现最佳资源利用率和性能，应运行 5.36.1 及更高版本或 6.10.0 及更高版本，以最大限度发挥其功能。
+ 一些实例类型支持增强联网。有关更多信息，请参阅[有关 Linux 的增强联网](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html)。
+ NVIDIA 和 CUDA 驱动程序默认安装在 GPU 实例类型上。

## 支持的实例类型由 AWS 区域
<a name="emr-instance-types-by-region"></a>

下表列出了 Amazon EMR 支持的 Amazon EC2 实例类型，按其整理。 AWS 区域该表还列出了支持各实例类型的 5.x、6.x 和 7.x 系列中最早的 Amazon EMR 发行版。

### 美国东部（弗吉尼亚州北部）- us-east-1
<a name="us-east-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 美国东部（俄亥俄）- us-east-2
<a name="us-east-2-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 美国西部（加利福尼亚北部）：us-west-1
<a name="us-west-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 美国西部（俄勒冈）- us-west-2
<a name="us-west-2-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### AWS GovCloud （美国西部）--1 us-gov-west
<a name="us-gov-west-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### AWS GovCloud (美国东部)--1 us-gov-east
<a name="us-gov-east-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 非洲（开普敦）- af-south-1
<a name="af-south-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（香港）- ap-east-1
<a name="ap-east-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（雅加达）：ap-southeast-3
<a name="ap-southeast-3-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（墨尔本）- ap-southeast-4
<a name="ap-southeast-4-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（马来西亚）- ap-southeast-5
<a name="ap-southeast-5-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（孟买）：ap-south-1
<a name="ap-south-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太（海得拉巴）- ap-south-2
<a name="ap-south-2-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（大阪）：ap-northeast-3
<a name="ap-northeast-3-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（首尔）：ap-northeast-2
<a name="ap-northeast-2-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（新加坡）：ap-southeast-1
<a name="ap-southeast-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（悉尼）- ap-southeast-2
<a name="ap-southeast-2-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（东京）- ap-northeast-1
<a name="ap-northeast-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 加拿大（中部）：ca-central-1
<a name="ca-central-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 加拿大西部（卡尔加里）- ca-west-1
<a name="ca-west-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 中国（宁夏）- cn-northwest-1
<a name="cn-northwest-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 中国（北京）- cn-north-1
<a name="cn-north-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 欧洲（法兰克福）：eu-central-1
<a name="eu-central-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 欧洲（苏黎世）- eu-central-2
<a name="eu-central-2-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 欧洲（爱尔兰）：eu-west-1
<a name="eu-west-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 欧洲（伦敦）：eu-west-2
<a name="eu-west-2-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 欧洲地区（米兰）- eu-south-1
<a name="eu-south-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 欧洲（西班牙）- eu-south-2
<a name="eu-south-2-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 欧洲（巴黎）：eu-west-3
<a name="eu-west-3-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 欧洲（斯德哥尔摩）：eu-north-1
<a name="eu-north-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 以色列（特拉维夫）- il-central-1
<a name="il-central-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 中东（巴林）- me-south-1
<a name="me-south-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 中东（阿联酋）- me-central-1
<a name="me-central-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 南美洲（圣保罗）：sa-east-1
<a name="sa-east-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（泰国）-ap-southeast-7
<a name="ap-southeast-7-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 墨西哥（中部）- mx-central-1
<a name="mx-central-1-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（台北）- ap-east-2
<a name="ap-east-2-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

### 亚太地区（新西兰）- ap-southeast-6
<a name="ap-southeast-6-supported-instances"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ManagementGuide/emr-supported-instance-types.html)

## 上一代实例
<a name="emr-supported-instance-types-previous-generation"></a>

Amazon EMR 支持上一代实例，以支持针对这些实例进行了优化且尚未升级的应用程序。有关这些实例类型和升级方法的更多信息，请参阅[上一代实例](https://aws.amazon.com/ec2/previous-generation)。


| 实例类 | 实例类型 | 
| --- | --- | 
|  General Purpose  |  m1.small¹ \$1 m1.medium¹ \$1 m1.large¹ \$1 m1.xlarge¹ \$1 m3.xlarge¹ \$1 m3.2xlarge¹ \$1 m4.large \$1 m4.xlarge \$1 m4.2xlarge \$1 m4.4xlarge \$1 m4.10xlarge \$1 m4.16xlarge  | 
|  Compute Optimized  |  c1.medium¹ ² \$1 c1.xlarge¹ \$1 c3.xlarge¹ \$1 c3.2xlarge¹ \$1 c3.4xlarge¹ \$1 c3.8xlarge¹ \$1 c4.large \$1 c4.xlarge \$1 c4.2xlarge \$1 c4.4xlarge \$1 c4.8xlarge  | 
|  Memory Optimized  |  m2.xlarge¹ \$1 m2.2xlarge¹ \$1 m2.4xlarge¹ \$1 r3.xlarge \$1 r3.2xlarge \$1 r3.4xlarge \$1 r3.8xlarge \$1 r4.xlarge \$1 r4.2xlarge \$1 r4.4xlarge \$1 r4.8xlarge \$1 r4.16xlarge  | 
|  Storage Optimized  |  d2.xlarge \$1 d2.2xlarge \$1 d2.4xlarge \$1 d2.8xlarge \$1 i2.xlarge \$1 i2.2xlarge \$1 i2.4xlarge \$1 i2.8xlarge  | 

¹ 使用 Amazon EMR 版本早于 5.13.0 的 PVM 虚拟化 AMI。有关更多信息，请参阅 [Linux AMI 虚拟化类型](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/virtualization_types.html)。

² 在版本 5.15.0 中不受支持。