Parameter |
Choices/Defaults |
Comments |
assign_public_ip
(added in 1.8) |
|
Used for Auto Scaling groups that launch instances into an Amazon Virtual Private Cloud. Specifies whether to assign a public IP address to each instance launched in a Amazon VPC.
|
aws_access_key
|
|
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
aliases: ec2_access_key, access_key
|
aws_secret_key
|
|
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
aliases: ec2_secret_key, secret_key
|
classic_link_vpc_id
(added in 2.0) |
|
Id of ClassicLink enabled VPC
|
classic_link_vpc_security_groups
(added in 2.0) |
|
A list of security group IDs with which to associate the ClassicLink VPC instances.
|
ebs_optimized
(added in 1.8) |
Default:
"no"
|
Specifies whether the instance is optimized for EBS I/O (true) or not (false).
|
ec2_url
|
|
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
|
image_id
|
|
The AMI unique identifier to be used for the group
|
instance_id
(added in 2.4) |
|
The Id of a running instance to use as a basis for a launch configuration. Can be used in place of image_id and instance_type.
|
instance_monitoring
bool |
|
Specifies whether instances are launched with detailed monitoring.
|
instance_profile_name
(added in 1.8) |
|
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instances.
|
instance_type
required |
|
Instance type to use for the instance
|
kernel_id
|
|
Kernel id for the EC2 instance
|
key_name
|
|
The SSH key name to be used for access to managed instances
|
name
required |
|
Unique name for configuration
|
placement_tenancy
(added in 2.4) |
Default:
"default"
|
Determines whether the instance runs on single-tenant harware or not.
|
profile
(added in 1.6) |
|
Uses a boto profile. Only works with boto >= 2.24.0.
|
ramdisk_id
(added in 1.8) |
|
A RAM disk id for the instances.
|
region
|
|
aliases: aws_region, ec2_region
|
security_groups
|
|
A list of security groups to apply to the instances. Since version 2.4 you can specify either security group names or IDs or a mix. Previous to 2.4, for VPC instances, specify security group IDs and for EC2-Classic, specify either security group names or IDs.
|
security_token
(added in 1.6) |
|
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
aliases: access_token
|
spot_price
|
|
The spot price you are bidding. Only applies for an autoscaling group with spot instances.
|
state
required |
|
Register or deregister the instance
|
user_data
|
|
Opaque blob of data which is made available to the ec2 instance. Mutually exclusive with user_data_path.
|
user_data_path
(added in 2.3) |
|
Path to the file that contains userdata for the ec2 instances. Mutually exclusive with user_data.
|
validate_certs
bool
(added in 1.5) |
|
When set to "no", SSL certificates will not be validated for boto versions >= 2.6.0.
|
volumes
|
|
A list of volume dicts, each containing device name and optionally ephemeral id or snapshot id. Size and type (and number of iops for io device type) must be specified for a new volume or a root volume, and may be passed for a snapshot volume. For any volume, a volume size less than 1 will be interpreted as a request not to create the volume.
|
vpc_id
(added in 2.4) |
|
VPC ID, used when resolving security group names to IDs.
|