Update an Auto Scaling group - Amazon EC2 Auto Scaling
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Update an Auto Scaling group

You can update most of your Auto Scaling group's details. You can't update the name of an Auto Scaling group or change its Amazon Web Services Region.

To update an Auto Scaling group (console)
  1. Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/, and choose Auto Scaling Groups from the navigation pane.

  2. Choose your Auto Scaling group to display information about the group, with tabs for Details, Activity, Automatic scaling, Instance management, Monitoring, and Instance refresh.

  3. Choose the tabs for the configuration areas that you're interested in and update the settings as needed. For each setting that you edit, choose Update to save your changes to the Auto Scaling group's configuration.

To update an Auto Scaling group using the command line

You can use one of the following commands:

Update Auto Scaling instances

If you associate a new launch template or launch configuration with an Auto Scaling group, all new instances will get the updated configuration. Existing instances continue to run with the configuration that they were originally launched with. To apply your changes to existing instances, you have the following options:

Note

You can change the following instance attributes by specifying them as part of the launch template or launch configuration:

  • Amazon Machine Image (AMI)

  • block devices

  • key pair

  • instance type

  • security groups

  • user data

  • monitoring

  • IAM instance profile

  • placement tenancy

  • kernel

  • ramdisk

  • whether the instance has a public IP address

  • the Availability Zone distribution strategy