Skip to content

Commit

Permalink
[OSDEV-1171] Decrease RDS instance type for staging and test (#399)
Browse files Browse the repository at this point in the history
- RDS instances for `staging` and `test` have beed decreased to
`db.t3.large`
  • Loading branch information
killev authored Nov 4, 2024
1 parent 3014c2c commit c008cf8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployment/environments/terraform-staging.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bastion_instance_type = "t3.nano"
rds_allocated_storage = "128"
rds_engine_version = "12"
rds_parameter_group_family = "postgres12"
rds_instance_type = "db.t3.xlarge"
rds_instance_type = "db.t3.large"
rds_database_identifier = "opensupplyhub-enc-stg"
rds_database_name = "opensupplyhub"
rds_multi_az = false
Expand Down
2 changes: 1 addition & 1 deletion deployment/environments/terraform-test.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ bastion_instance_type = "t3.nano"
rds_allocated_storage = "128"
rds_engine_version = "12"
rds_parameter_group_family = "postgres12"
rds_instance_type = "db.t3.2xlarge"
rds_instance_type = "db.t3.large"
rds_database_identifier = "opensupplyhub-enc-tst"
rds_database_name = "opensupplyhub"
rds_multi_az = false
Expand Down
1 change: 1 addition & 0 deletions doc/release/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
* The OpenSearch version has been increased to 2.15.
* [OSDEV-1335](https://opensupplyhub.atlassian.net/browse/OSDEV-1335) - The new "moderation events" Logstash pipeline has been configured and implemented to collect moderation event data from the current PostgreSQL database and save it to OpenSearch. This setup allows for fast searches on the moderation events data.
* [OSDEV-1387](https://opensupplyhub.atlassian.net/browse/OSDEV-1387) - The SQL query for generating tiles from PostgreSQL+PostGIS has been reimplemented to avoid using the JOIN + GROUP BY clause. This change reduces the number of subqueries and their asymptotic complexity. Additionally, an option to set an upper limit on facility counts in the 'count' clause has been introduced, capped at 100, which doubles the query's performance. Throttling has been removed for tile generation endpoints.
* [OSDEV-1171](https://opensupplyhub.atlassian.net/browse/OSDEV-1171) - RDS instances for `staging` and `test` have beed decreased to `db.t3.large`

### Bugfix
* [OSDEV-1335](https://opensupplyhub.atlassian.net/browse/OSDEV-1335) - Fixed the assertion in the test for the `country.rb` filter of the "production locations" Logstash pipeline. The main issue was with the evaluation of statements in the Ruby block. Since only the last statement is evaluated in a Ruby block, all the checks were grouped into one chain of logical statements and returned as a `result` variable at the end.
Expand Down

0 comments on commit c008cf8

Please sign in to comment.