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年前