Skip to main content
All CollectionsActionsAmazon Web Services
Update Auto Scaling Groups Actions
Update Auto Scaling Groups Actions
Matt Houser avatar
Written by Matt Houser
Updated over a week ago

Description

The Update Auto Scaling Groups action can be used to modify the values of one or more Auto Scaling groups. Values that can be modified include launch configuration name, minimum size, maximum size, and desired capacity. The values can be restored after a predetermined period of time.

For example, the desired size of an Auto Scaling group can be set to 0 on Friday, then restored to 10 on Monday.

Settings

Please see Common Action Settings for a description of settings common to all action types.

Group Identification Method

Indicates the method with which Auto Scaling groups will be selected. Possible options include:

  • All Groups

  • By Group Name

  • By Resource Tag

Group Name

Comparison to use when matching against the name of the group.

Resource Tag Name

Name of the resource tag used during group matching.

Resource Tag Value

Value of the resource tag used to match groups to be modified.

Launch Configuration Name

Optional. Specify the name of the launch configuration.

Minimum Size

Optional. Specify the new minimum number of instances in the group.

Maximum Size

Optional. Specify the new maximum number of instances in the group.

Desired Size

Optional. Specify the new desired number of instances in the group.

Warning: The desired size must be between the minimum size and maximum size.

Note: If the auto scaling group was originally created without a desired capacity specified, it's value will be 0.

Restore the Values

Indicate whether the original group values should be restored automatically later. The running time must also be specified if this is checked.

Running Duration

Indicate the length of time the values should remain before being restored. This value is only required if "Restore the Values" is checked.

Amazon Commands Used

The following Amazon AWS commands are used. The access key should have permission to execute all of them.

  • autoscaling:DescribeAutoScalingGroups

  • autoscaling:UpdateAutoScalingGroup

Did this answer your question?