CmdID / aws / aws autoscaling
aws autoscaling create-launch-configuration
Creates a launch configuration. AWS CLI reference
18 options Its page in the AWS CLI reference
Options
--associate-public-ip-addressSpecifies whether to assign a public IPv4 address to the group's instances.--block-device-mappingsThe block device mapping entries that define the block devices to attach to the instances at launch.--classic-link-vpc-security-groups, --classic-link-vpc-idAvailable for backward compatibility.--ebs-optimizedSpecifies whether the launch configuration is optimized for EBS I/O (true) or not (false).--iam-instance-profileThe name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.--image-idThe ID of the Amazon Machine Image (AMI) that was assigned during registration.--instance-idThe ID of the instance to use to create the launch configuration.--instance-monitoringControls whether instances in this group are launched with detailed (true) or basic (false) monitoring.--instance-typeSpecifies the instance type of the EC2 instance.--kernel-idThe ID of the kernel associated with the AMI.--key-nameThe name of the key pair.--launch-configuration-nameThe name of the launch configuration.--metadata-optionsThe metadata options for the instances.--placement-tenancyThe tenancy of the instance, either default or dedicated.--ramdisk-idThe ID of the RAM disk to select.--security-groupsA list that contains the security group IDs to assign to the instances in the Auto Scaling group.--spot-priceThe maximum hourly price to be paid for any Spot Instance launched to fulfill the request.--user-dataThe user data to make available to the launched EC2 instances.