From 6c6e4405add75e2e33cff2e3ca8732cb557ad461 Mon Sep 17 00:00:00 2001 From: DecFox <33030671+DecFox@users.noreply.github.com> Date: Thu, 10 Oct 2024 19:37:23 +0530 Subject: [PATCH] fix(prod): increase asg min capacity (#106) `api.ooni.org` gives us a `503` when calling the incidents service. On further inspection, it seems the redeployment of the findings service has been halted due to insufficient memory in the ecs infra setup. This diff increase the asg capacity to a minimum of 4 ec2 instances which should suffice for now. --- tf/environments/prod/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tf/environments/prod/main.tf b/tf/environments/prod/main.tf index 70e0ae5d..3c90337e 100644 --- a/tf/environments/prod/main.tf +++ b/tf/environments/prod/main.tf @@ -314,9 +314,9 @@ module "ooniapi_cluster" { subnet_ids = module.network.vpc_subnet_public[*].id # You need be careful how these are tweaked. - asg_min = 3 + asg_min = 4 asg_max = 8 - asg_desired = 3 + asg_desired = 4 instance_type = "t3.micro"