Skip to content

Commit

Permalink
nomis: DSOS-2862: prod weblogic and iops changes (#6685)
Browse files Browse the repository at this point in the history
* drop weblogic count to 6

* update iops
  • Loading branch information
drobinson-moj authored Jun 20, 2024
1 parent b7477ea commit 7b5acca
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions terraform/environments/nomis/locals_production.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ locals {
# ACTIVE (green deployment)
prod-nomis-web-b = merge(local.ec2_autoscaling_groups.web, {
autoscaling_group = merge(module.baseline_presets.ec2_autoscaling_group.default_with_ready_hook_and_warm_pool, {
desired_capacity = 8
desired_capacity = 6
max_size = 8

# instance_refresh = {
Expand Down Expand Up @@ -168,8 +168,8 @@ locals {
"/dev/sdc" = { label = "app", size = 1000 } # /u02
})
ebs_volume_config = merge(local.ec2_instances.db.ebs_volume_config, {
data = { total_size = 4000, iops = 12000, throughput = 750 }
flash = { total_size = 1000, iops = 5000, throughput = 500 }
data = { total_size = 4000, iops = 9000, throughput = 250 }
flash = { total_size = 1000, iops = 3000, throughput = 250 }
})
instance = merge(local.ec2_instances.db.instance, {
disable_api_termination = true
Expand Down Expand Up @@ -200,8 +200,8 @@ locals {
"/dev/sdc" = { label = "app", size = 500 }
})
ebs_volume_config = merge(local.ec2_instances.db.ebs_volume_config, {
data = { total_size = 4000, iops = 12000, throughput = 750 }
flash = { total_size = 1000, iops = 5000, throughput = 500 }
data = { total_size = 4000, iops = 9000, throughput = 250 }
flash = { total_size = 1000, iops = 3000, throughput = 125 }
})
instance = merge(local.ec2_instances.db.instance, {
disable_api_termination = true
Expand Down Expand Up @@ -233,8 +233,8 @@ locals {
"/dev/sdc" = { label = "app", size = 1000 } # /u02
})
ebs_volume_config = merge(local.ec2_instances.db.ebs_volume_config, {
data = { total_size = 6000, iops = 12000, throughput = 750 }
flash = { total_size = 1000, iops = 5000, throughput = 500 }
data = { total_size = 6000, iops = 9000, throughput = 250 }
flash = { total_size = 1000, iops = 3000, throughput = 250 }
})
instance = merge(local.ec2_instances.db.instance, {
disable_api_termination = true
Expand Down Expand Up @@ -267,8 +267,10 @@ locals {
"/dev/sdc" = { label = "app", size = 500 }
})
ebs_volume_config = merge(local.ec2_instances.db.ebs_volume_config, {
data = { total_size = 6000, iops = 12000, throughput = 750 }
flash = { total_size = 1000, iops = 5000, throughput = 500 }
data = { total_size = 6000, iops = 3000, throughput = 125 }
flash = { total_size = 1000, iops = 3000, throughput = 125 }
# data = { total_size = 6000, iops = 9000, throughput = 250 } # replace above with this on failover
# flash = { total_size = 1000, iops = 3000, throughput = 250 } # replace above with this on failover
})
instance = merge(local.ec2_instances.db.instance, {
disable_api_termination = true
Expand Down

0 comments on commit 7b5acca

Please sign in to comment.