Skip to content

Right-sized ECS and RDS resources#458

Merged
vladsha-dev merged 1 commit intoreleases/v.1.26from
right-size-ecs-and-rds-resources
Dec 13, 2024
Merged

Right-sized ECS and RDS resources#458
vladsha-dev merged 1 commit intoreleases/v.1.26from
right-size-ecs-and-rds-resources

Conversation

@vladsha-dev
Copy link
Contributor

Right-sized the resources for Django containers across all environments and the RDS instance in the Production and Preprod environments. This will result in a savings of approximately $2,481. The following changes have been made:

  • Production:
    • RDS instance type was changed from db.m6in.8xlarge to db.m6in.4xlarge.
    • ECS tasks for Django containers: the number was reduced from 12 to 10, and memory was reduced from 8GB to 4GB.
  • Preprod:
    • RDS instance type was changed from db.m6in.8xlarge to db.m6in.4xlarge.
    • ECS tasks for Django containers: the number was reduced from 12 to 10, and memory was reduced from 8GB to 4GB.
    • These changes were made to maintain parity with the Production environment, as it is a copy of that environment.
  • Staging:
    • ECS tasks for Django containers: memory was reduced from 8GB to 2GB.
  • Test:
    • ECS tasks for Django containers: memory was reduced from 8GB to 4GB.
  • Development:
    • ECS tasks for Django containers: memory was reduced from 8GB to 1GB, and CPU was reduced from 1 vCPU to 0.5 vCPU.

@vladsha-dev vladsha-dev self-assigned this Dec 13, 2024
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:39 — with GitHub Actions Inactive
@sonarqubecloud
Copy link

@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:41 — with GitHub Actions Inactive
@barecheck
Copy link

barecheck bot commented Dec 13, 2024

React App | Jest test suite - Code coverage report

Total: 27.96%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

Copy link
Contributor

@roman-stolar roman-stolar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:46 — with GitHub Actions Inactive
@barecheck
Copy link

barecheck bot commented Dec 13, 2024

Dedupe Hub App | Unittest test suite - Code coverage report

Total: 56.14%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:46 — with GitHub Actions Inactive
@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:46 — with GitHub Actions Inactive
@barecheck
Copy link

barecheck bot commented Dec 13, 2024

Countries App | Unittest test suite - Code coverage report

Total: 100%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

@barecheck
Copy link

barecheck bot commented Dec 13, 2024

Contricleaner App | Unittest test suite - Code coverage report

Total: 98.91%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

@vladsha-dev vladsha-dev temporarily deployed to Quality Environment December 13, 2024 14:56 — with GitHub Actions Inactive
@barecheck
Copy link

barecheck bot commented Dec 13, 2024

Django App | Unittest test suite - Code coverage report

Total: 79.95%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

@vladsha-dev vladsha-dev merged commit caa5e79 into releases/v.1.26 Dec 13, 2024
@vladsha-dev vladsha-dev deleted the right-size-ecs-and-rds-resources branch December 13, 2024 14:57
vladsha-dev added a commit that referenced this pull request Dec 13, 2024
Right-sized the resources for Django containers across all environments
and the RDS instance in the Production and Preprod environments. This
will result in a savings of approximately $2,481. The following changes
have been made:
 - Production:
 - RDS instance type was changed from `db.m6in.8xlarge` to
`db.m6in.4xlarge`.
  - ECS tasks for Django containers: the number was reduced from `12` to
`10`, and memory was reduced from `8GB` to `4GB`.
 - Preprod:
  - RDS instance type was changed from `db.m6in.8xlarge` to
`db.m6in.4xlarge`.
  - ECS tasks for Django containers: the number was reduced from `12` to
`10`, and memory was reduced from `8GB` to `4GB`.
  - These changes were made to maintain parity with the Production
environment, as it is a copy of that environment.
 - Staging:
  - ECS tasks for Django containers: memory was reduced from `8GB` to
`2GB`.
 - Test:
  - ECS tasks for Django containers: memory was reduced from `8GB` to
`4GB`.
 - Development:
  - ECS tasks for Django containers: memory was reduced from `8GB` to
`1GB`, and CPU was reduced from `1 vCPU` to `0.5 vCPU`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants