ASG instance refresh does not honor ELB health-checks

0

While starting AWS EC2 ASG Instance refresh with Minimum healthy percentage 100% and deploying new launch template version with roll-back enabled, the process continues even if the ELB instance status is unhealthy and finishes with status Successful.

asked 2 months ago363 views
1 Answer
2
Accepted Answer

Hello,

Please have a check on the health check type configured in the ASG configuration.

If the health check type is set to Amazon EC2, during the instance refresh the instance will be marked as successful based on the results of the Amazon EC2 instance status checks and system status checks. So in this case, the ASG will not wait for the ELB health check to be successful.

When using ELB health checks, the Auto Scaling group Instance Refresh process will respect the Minimum Healthy Percentage setting based on the ELB health checks. This means that if you set the Minimum Healthy Percentage to 100%, the Instance Refresh will only proceed to the next batch of instances when all existing instances are considered healthy by the ELB.

AWS
answered 2 months ago
profile picture
EXPERT
Sandeep
reviewed 2 months ago
profile picture
EXPERT
reviewed 2 months ago
  • Fixed by Turn on Elastic Load Balancing health checks for the auto-scaling group.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions