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년 전