Skip to content

Commit c7e0526

Browse files
authored
Update health check settings in CloudFormation template
fix: lenient ALB health check to allow ECS service to become healthy
1 parent b291a43 commit c7e0526

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

infra/cloudformation-template.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,10 +404,13 @@ Resources:
404404
VpcId: !Ref VPC
405405
TargetType: instance
406406
HealthCheckPath: /api/service-info
407-
HealthCheckIntervalSeconds: 30
408-
HealthCheckTimeoutSeconds: 5
407+
HealthCheckIntervalSeconds: 60
408+
HealthCheckTimeoutSeconds: 30
409409
HealthyThresholdCount: 2
410-
UnhealthyThresholdCount: 3
410+
UnhealthyThresholdCount: 10
411+
HealthCheckProtocol: HTTP
412+
Matcher:
413+
HttpCode: 200-499
411414

412415
ALBListener:
413416
Type: AWS::ElasticLoadBalancingV2::Listener

0 commit comments

Comments
 (0)