2 回答
- 最新
- 投票最多
- 评论最多
0
Hello,
So I get that when the ELB healthchecks fails for the instances, the instances are not replaced. By default the ASG healthcheck type is set to EC2 in Beanstalk. So even if the ELB healthcheck fails, the instances wont be replaced.
In order to replace the instances based on ELB healthchecks, we would have to set the HealthCheckType to ELB using the .ebextions config file:
Resources:
AWSEBAutoScalingGroup:
Type: AWS::AutoScaling::AutoScalingGroup
Properties:
# Example syntax of a property that takes in the actual value
HealthCheckType: ELB
HealthCheckGracePeriod: 600
已回答 5 年前
相关内容
- AWS 官方已更新 2 年前