Euca2ools Guide / Auto Scaling-Compatible Commands |
Creates a new auto launch configuration with the specified parameters. UNFINISHED DRAFT.
euscale-create-launch-configuration LaunchConfigurationName --image-id value --instance-type value [--block-device-mapping "key1=value1, key2=value2..." ] [--monitoring-enabled/monitoring-disabled ] [--kernel value ] [--key value ] [--ramdisk value ][--group value[,value...] ] [--user-data value ][--user-data-file value ]
Option | Description | Required |
---|---|---|
LaunchConfigurationName | The name of the launch configuration. | Yes |
--image-id value | Unique ID of the Eucalyptus Machine Image (EMI) to use when launching new instances in the auto scaling group. | Yes |
--instance-type value | The type of instance to launch. | Yes |
--block-device-mappings value1,value2,value3... | A list of mappings that specify how block devices are mapped to instances launched in the auto scaling group. | No |
--monitoring-enabled / --monitoring-disabled | Enables or disables euwatch metrics for instances launched in the auto scaling group. | No |
--kernel value | The ID of the kernel associated with the EMI. | No |
--key value | The name of a keypair that new instances in the scaling group should use. | No |
--ramdisk value | The identifier of the ram disk associated with the EMI. | No |
--group value | The name of the security group. | No |
--user-data value | User data to be passed to launched instances. | No |
--user-data-file value | Name of local file containing user data to be passed to launched instances. | No |
Option | Description |
---|---|
--show-empty-fields | Show empty fields using (nil) as a placeholder to indicate that this data was not requested. Empty fields are not shown by default. |
--region value | Specify region value as the cloud region to use. You can set this by using the environment variable AWS_DEFAULT_REGION. |
-U,--url value | Overrides the URL for the service call with the value entered. You can set this by using the environment variable AWS_AUTOSCALING_URL. |
-I, --access-key-id value | User's access key ID |
-S, --secret-key value | User's AWS secret Key to use. |
--debug | Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools. |
--debugger | Enable interactive debugger on error. |
--version | Display the version of this tool. |
-h,--help | Display the manual page for the command. |
There is no output from this command if it is successful.
The follow example creates a launch configuration that specifies that new instances launched from will be of type m1.small and from image ID emi-00123456.
euscale-create-launch-config MyLaunchConfig --image-id emi-00123456 --instance-type m1.small