Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate shrinking prod Graduate RDS space allocation #19

Open
AlpacaFur opened this issue Feb 14, 2024 · 0 comments
Open

Investigate shrinking prod Graduate RDS space allocation #19

AlpacaFur opened this issue Feb 14, 2024 · 0 comments
Assignees

Comments

@AlpacaFur
Copy link
Member

AlpacaFur commented Feb 14, 2024

Summary

Currently the prod graduate database has 100gb allocated to it, which is far overkill compared to usage (it appears to use <1gb at present). Shrinking a database is non-trivial but will have some cost-savings if we can pull it off. The ideal target is 20gb (the minimum size) for graduate for now (we can always increase storage size later, but can't shrink it).

Tasks

  • Determine how to shrink a database's size (start here: https://repost.aws/knowledge-center/rds-db-storage-size).
  • Create a new DB instance with the shrunk size.
  • Migrate prod to use the new instance.
  • Verify that the new instance contains the same data.
  • Shut down the old instance
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

No branches or pull requests

2 participants