Home icon
Introducing instance maintenance policy for Amazon EC2 Auto Scaling

Blog



The article introduces a new instance maintenance policy feature for Amazon EC2 Auto Scaling, allowing greater control over how instances are replaced and launched during replacement operations.

Specifically, the article covers:

  • Background on Amazon EC2 Auto Scaling and instance replacement
  • Overview of the instance maintenance policy, including MinHealthyPercentage and MaxHealthyPercentage settings
  • How to configure the policy using the AWS Console, CLI, CloudFormation, or Terraform
  • Using the "Launch before terminating" policy to increase application availability by launching new instances before terminating old ones
  • Overriding the group policy during instance refresh operations, such as accelerating a deployment by setting MaxHealthyPercentage to 200%
  • Using the "Terminate and launch" policy to control costs by terminating instances before launching new ones
  • Setting custom policies for maximum flexibility
  • How fractional instance calculations are handled
  • Conclusion highlighting the benefits of instance maintenance policies


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.