Skip to content

Commit

Permalink
Upgrade demo env to be three larger containers
Browse files Browse the repository at this point in the history
This upgrades the demo containers to match production: three ECS
containers with 1 vCPU and 4 GB RAM.

This is temporary, to handle increased load from a lot of scanning
activity will be occurring in the coming days.

The previous (default) values were a single container with 0.25 vCPU and
512 MB RAM.
  • Loading branch information
tdooner committed Aug 26, 2024
1 parent 8e61322 commit ea13e0a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions infra/app/app-config/dev.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ module "dev_config" {
has_database = local.has_database
has_incident_management_service = local.has_incident_management_service

# These numbers are a starting point based on this article
# Update the desired instance size and counts based on the project's specific needs
# https://conchchow.medium.com/aws-ecs-fargate-compute-capacity-planning-a5025cb40bd0
service_cpu = 1024
service_memory = 4096
service_desired_instance_count = 3

# Enables ECS Exec access for debugging or jump access.
# See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html
# Defaults to `false`. Uncomment the next line to enable.
Expand Down

0 comments on commit ea13e0a

Please sign in to comment.