Euca2ools Guide / Auto Scaling-Compatible Commands |
Creates a new auto scaling group with the specified parameters.
euscale-create-auto-scaling-group AutoScalingGroupName --launch-configuration value --max-size value --min-size value [--availability-zones value[,value… ]] [--default-cooldown value ] [--desired-capacity value ] [--grace-period value ] [--health-check-type value ] [--load-balancers value[,value...] ] [--tags value[,value,...]] [--termination-policies value[,value,... ]]
Option | Description | Required |
---|---|---|
AutoScalingGroupName | The name of the auto scaling group. | Yes |
--launch-configuration value | The name of the launch configuration to associate with this auto scaling group. | Yes |
--max-size value | The maximum size of the auto scaling group. | Yes |
--min-size value | The minimum size of the auto scaling group. | Yes |
--availability-zones value1,value2,value3... | A list of availability zones for the auto scaling group. | No |
--default-cooldown value | The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. | Yes |
--desired-capacity value | The number of instances that should be running in the auto scaling group. | No |
--grace-period value | Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health. | No |
--health-check-type value | The type of health check: instance or load balancer. Valid values: ec2 | elb |
No |
--load-balancers --value value1,value2,value3... | A comma-delimited list of load balancers used by this auto scaling group. | No |
--tags --value "key1=value1,key2=value2..." | A comma-delimited list of tags for this auto scaling group. | No |
--termination-policies --value value1,value2,value3... | A delimited list of termination policies for this auto scaling group. | 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.
euscale-create-auto-scaling-group MyScalingGroup --launch-configuration MyLaunchConfig --availability-zones PARTI00 --min-size 2 --max-size 5