Skip to content

Commit

Permalink
refactor(prod): switch to using t3a.medium instances (#107)
Browse files Browse the repository at this point in the history
It seems we are low on memory on our `t3.micro` instances leading to
impending task deployments. This should scale our instances enough to
allow running all service tasks for now.
  • Loading branch information
DecFox authored Oct 10, 2024
1 parent 6c6e440 commit 6aa32d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tf/environments/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,11 @@ module "ooniapi_cluster" {
subnet_ids = module.network.vpc_subnet_public[*].id

# You need be careful how these are tweaked.
asg_min = 4
asg_min = 2
asg_max = 8
asg_desired = 4
asg_desired = 2

instance_type = "t3.micro"
instance_type = "t3a.medium"

tags = merge(
local.tags,
Expand Down

0 comments on commit 6aa32d9

Please sign in to comment.