Skip to content

Commit 578d1d1

Browse files
authored
Merge pull request #911 from cisagov/improvement/larger-db-and-reporter-instances
Database and reporter performance improvements
2 parents f1d92ca + 0e27d8f commit 578d1d1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

terraform/cyhy_mongo_ec2.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ data "aws_ami" "cyhy_mongo" {
2323
resource "aws_instance" "cyhy_mongo" {
2424
count = var.mongo_instance_count
2525
ami = data.aws_ami.cyhy_mongo.id
26-
instance_type = local.production_workspace ? "m5.12xlarge" : "t3.small"
26+
instance_type = local.production_workspace ? "m5.24xlarge" : "t3.small"
2727
availability_zone = "${var.aws_region}${var.aws_availability_zone}"
2828
subnet_id = aws_subnet.cyhy_private_subnet.id
2929
associate_public_ip_address = false
@@ -102,7 +102,7 @@ resource "aws_ebs_volume" "cyhy_mongo_data" {
102102
availability_zone = "${var.aws_region}${var.aws_availability_zone}"
103103
type = "io2"
104104
size = local.production_workspace ? 1024 : 20
105-
iops = 1000
105+
iops = local.production_workspace ? 5000 : 1000
106106
encrypted = true
107107

108108
tags = { "Name" = "CyHy Mongo Data" }

terraform/cyhy_reporter_ec2.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ data "aws_ami" "reporter" {
2323

2424
resource "aws_instance" "cyhy_reporter" {
2525
ami = data.aws_ami.reporter.id
26-
instance_type = local.production_workspace ? "c5.9xlarge" : "t3.small"
26+
instance_type = local.production_workspace ? "c5.18xlarge" : "t3.small"
2727
availability_zone = "${var.aws_region}${var.aws_availability_zone}"
2828

2929
# This is the private subnet

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025.09.09
1+
2025.11.05

0 commit comments

Comments
 (0)