Skip to content

Commit

Permalink
EPBR-4050 Adding slow start to the albs to try and reduce 5xx errors
Browse files Browse the repository at this point in the history
  • Loading branch information
emollett committed Nov 2, 2023
1 parent a76dcfd commit 98664bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions service-infrastructure/application/alb-internal.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ resource "aws_lb_target_group" "internal" {
vpc_id = var.vpc_id
target_type = "ip"
deregistration_delay = 300
slow_start = 60

health_check {
interval = "31"
Expand Down
2 changes: 2 additions & 0 deletions service-infrastructure/application/front_door/alb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ resource "aws_lb_target_group" "public" {
vpc_id = var.vpc_id
target_type = "ip"
deregistration_delay = 300
slow_start = 60

health_check {
interval = "31"
Expand All @@ -43,6 +44,7 @@ resource "aws_lb_target_group" "extra" {
vpc_id = var.vpc_id
target_type = "ip"
deregistration_delay = 300
slow_start = 60

health_check {
interval = "31"
Expand Down

0 comments on commit 98664bf

Please sign in to comment.