Amazon Elastic Compute Cloud SpotFleet LaunchSpecifications
LaunchSpecifications is a property of the Amazon EC2 SpotFleet
SpotFleetRequestConfigData property that
defines the launch specifications for the Spot fleet request.
Syntax
JSON
{ "BlockDeviceMappings" : [BlockDeviceMapping, ...], "EbsOptimized" :Boolean, "IamInstanceProfile" :IamInstanceProfile, "ImageId" :String, "InstanceType" :String, "KernelId" :String, "KeyName" :String, "Monitoring" :Boolean, "NetworkInterfaces" : [NetworkInterface, ...], "Placement" :Placement, "RamdiskId" :String, "SecurityGroups" : [SecurityGroup, ...], "SpotPrice" :String, "SubnetId" :String, "TagSpecifications" :SpotFleetTagSpecification, "UserData" :String, "WeightedCapacity" :Number}
YAML
BlockDeviceMappings: -BlockDeviceMappingEbsOptimized:BooleanIamInstanceProfile:IamInstanceProfileImageId:StringInstanceType:StringKernelId:StringKeyName:StringMonitoring:BooleanNetworkInterfaces: -NetworkInterfacePlacement:PlacementRamdiskId:StringSecurityGroups: -SecurityGroupSpotPrice:StringSubnetId:StringTagSpecifications: -SpotFleetTagSpecificationUserData:StringWeightedCapacity:Number
Properties
BlockDeviceMappings-
Defines the block devices that are mapped to the Spot instances.
Required: No
Type: List of Amazon Elastic Compute Cloud SpotFleet BlockDeviceMappings
EbsOptimized-
Indicates whether the instances are optimized for Amazon Elastic Block Store (Amazon EBS) I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when you use an Amazon EBS-optimized instance.
Required: No
Type: Boolean
IamInstanceProfile-
Defines the AWS Identity and Access Management (IAM) instance profile to associate with the instances.
Required: No
Type: Amazon Elastic Compute Cloud SpotFleet IamInstanceProfile
ImageId-
The unique ID of the Amazon Machine Image (AMI) to launch on the instances.
Required: Yes
Type: String
InstanceType-
Specifies the instance type of the EC2 instances.
Required: Yes
Type: String
KernelId-
The ID of the kernel that is associated with the Amazon Elastic Compute Cloud (Amazon EC2) AMI.
Required: No
Type: String
KeyName-
An Amazon EC2 key pair to associate with the instances.
Required: No
Type: String
Monitoring-
Enable or disable monitoring for the instances.
Required: No
NetworkInterfaces-
The network interfaces to associate with the instances.
Required: No
Type: List of Amazon Elastic Compute Cloud SpotFleet NetworkInterfaces
Placement-
Defines a placement group, which is a logical grouping of instances within a single Availability Zone (AZ).
Required: No
RamdiskId-
The ID of the RAM disk to select. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the AWS Resource Center and search for the kernel ID.
Required: No
Type: String
SecurityGroups-
One or more security group IDs to associate with the instances.
Required: No
Type: List of Amazon Elastic Compute Cloud SpotFleet SecurityGroups
SpotPrice-
The bid price per unit hour for the specified instance type. If you don't specify a value, Amazon EC2 uses the Spot bid price for the fleet. For more information, see How Spot Fleet Works in the Amazon EC2 User Guide for Linux Instances.
Required: No
Type: String
SubnetId-
The ID of the subnet in which to launch the instances.
Required: No
Type: String
TagSpecifications-
The tags to apply during creation.
Required: No
Type: List of SpotFleetTagSpecification
UserData-
Base64-encoded MIME user data that instances use when starting up.
Required: No
Type: String
WeightedCapacity-
The number of units provided by the specified instance type. These units are the same units that you chose to set the target capacity in terms of instances or a performance characteristic, such as vCPUs, memory, or I/O. For more information, see How Spot Fleet Works in the Amazon EC2 User Guide for Linux Instances.
If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number.
Required: No
Type: Number
