Recycle the instances in your 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).

Recycle the instances in your Auto Scaling group

Amazon EC2 Auto Scaling offers capabilities that let you replace the Amazon EC2 instances in your Auto Scaling group after making updates, such as new instance types or an updated launch template. Amazon EC2 Auto Scaling also helps you streamline updates by giving you the option of including them in the same operation that replaces the instances.

This section includes information to help you do the following:

  • Start an instance refresh to replace instances in your Auto Scaling group.

  • Declare specific updates that describe a desired configuration and update the Auto Scaling group to the desired configuration.

  • Skip replacing already updated instances.

  • Use checkpoints to update instances in phases and perform verifications on your instances at specific points.

  • Receive notifications by email when a checkpoint is reached.

  • Use a rollback to restore the Auto Scaling group to the configuration it was previously using.

  • Automatically roll back if the instance refresh fails for some reason or if any Amazon CloudWatch alarms you specify go into the ALARM state.

  • Limit the lifetime of instances to provide consistent software versions and instance configurations across the Auto Scaling group.