InstanceRequirements

The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.

When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.

To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request:

You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default.

For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.

Amazon Web ServicesAuto ScalingAWSComputeEC2High AvailabilityScaling

Properties

Name Type Description
VCpuCount object
MemoryMiB object
CpuManufacturers object
MemoryGiBPerVCpu object
ExcludedInstanceTypes object
InstanceGenerations object
SpotMaxPricePercentageOverLowestPrice object
OnDemandMaxPricePercentageOverLowestPrice object
BareMetal object
BurstablePerformance object
RequireHibernateSupport object
NetworkInterfaceCount object
LocalStorage object
LocalStorageTypes object
TotalLocalStorageGB object
BaselineEbsBandwidthMbps object
AcceleratorTypes object
AcceleratorCount object
AcceleratorManufacturers object
AcceleratorNames object
AcceleratorTotalMemoryMiB object
NetworkBandwidthGbps object
AllowedInstanceTypes object
View JSON Schema on GitHub