Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon EMR Cluster InstanceTypeConfig

Use the InstanceTypeConfig property to configure an instance types in an instance fleet. This propery determines which EC2 instances that Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities. You can configure a maximum of five instance types in a fleet. The InstanceTypeConfigs property of the Amazon EMR Cluster InstanceFleetConfig resource contains a list of InstanceTypeConfig property types.

Note

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "BidPrice" : String, "BidPriceAsPercentageOfOnDemandPrice" : Double, "Configurations" : [ Configuration, ...], "EbsConfiguration" : EbsConfiguration, "InstanceType" : String, "WeightedCapacity" : Integer }

Properties

BidPrice

The bid price for each EC2 Spot Instance type, as defined by InstanceType. BidPrice is expressed in USD. For more information, see InstanceTypeConfig in the Amazon EMR API Reference.

Required: No

Type: String

Update requires: Replacement

BidPriceAsPercentageOfOnDemandPrice

The bid price, as a percentage of the On-Demand price, for each EC2 Spot instance as defined by InstanceType. BidPriceAsPercentageOfOnDemandPriceis expressed as a number. For more information, see InstanceTypeConfig in the Amazon EMR API Reference.

Required: No

Type: Double

Update requires: Replacement

Configurations

A configuration classification that applies when provisioning cluster instances. This can include configurations for applications and software that run on the cluster. Duplicates are not allowed.

Required: No

Type: List of Amazon EMR Cluster Configuration

Update requires: Replacement

EbsConfiguration

The configuration of Amazon Elastic Block Store (Amazon EBS) that is attached to each instance as defined by InstanceType.

Required: No

Type: Amazon EMR EbsConfiguration

Update requires: Replacement

InstanceType

An EC2 instance type, such as m3.xlarge. For constraints, see InstanceTypeConfig in the Amazon EMR API Reference.

Required: Yes

Type: String

Update requires: Replacement

WeightedCapacity

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. For more information, see InstanceTypeConfig in the Amazon EMR API Reference.

Required: No

Type: Integer

Update requires: Replacement

On this page: