diff --git a/backend/manifests/vars/vars-production.yml b/backend/manifests/vars/vars-production.yml index e4eecc5d02..733090b91f 100644 --- a/backend/manifests/vars/vars-production.yml +++ b/backend/manifests/vars/vars-production.yml @@ -4,4 +4,4 @@ cf_env_name: PRODUCTION env_name: prod service_name: production endpoint: app.fac.gov -instances: 6 +instances: 8 diff --git a/terraform/dev/dev.tf b/terraform/dev/dev.tf index 20eece54cd..804807916f 100644 --- a/terraform/dev/dev.tf +++ b/terraform/dev/dev.tf @@ -4,7 +4,7 @@ module "dev" { new_relic_license_key = var.new_relic_license_key pgrst_jwt_secret = var.pgrst_jwt_secret - database_plan = "micro-psql" + database_plan = "medium-gp-psql" postgrest_instances = 1 swagger_instances = 1 https_proxy_instances = 1 diff --git a/terraform/production/production.tf b/terraform/production/production.tf index df69263142..ee233b2826 100644 --- a/terraform/production/production.tf +++ b/terraform/production/production.tf @@ -3,8 +3,9 @@ module "production" { cf_space_name = "production" new_relic_license_key = var.new_relic_license_key pgrst_jwt_secret = var.pgrst_jwt_secret - clamav_instances = 6 + clamav_instances = 8 database_plan = "xlarge-gp-psql-redundant" + postgrest_instances = 4 json_params = jsonencode( { "storage" : 50, diff --git a/terraform/shared/modules/env/postgrest.tf b/terraform/shared/modules/env/postgrest.tf index c01436e510..0d0c4d7b69 100644 --- a/terraform/shared/modules/env/postgrest.tf +++ b/terraform/shared/modules/env/postgrest.tf @@ -22,7 +22,7 @@ resource "cloudfoundry_app" "postgrest" { space = data.cloudfoundry_space.apps.id docker_image = "ghcr.io/gsa-tts/fac/postgrest@${data.docker_registry_image.postgrest.sha256_digest}" timeout = 180 - memory = 512 + memory = 1024 disk_quota = 256 instances = var.postgrest_instances strategy = "rolling"