AlexsLemonade / AlexsLemonade/refinebio

Use a reserved database instance

Open
#2,174 0 comments 0 reactions 0 assignees View on GitHub
cost cutting
Dominant language
Python
Stars
135
Forks
21
PR merge metrics
No merged PRs in 30d

Description

### Context

https://github.com/AlexsLemonade/refinebio/issues/2042#issuecomment-578160214

https://aws.amazon.com/rds/reserved-instances/

### Problem or idea

Reserved instances are cheaper and we're going to need the database for a long time. Therefore we may as well save money by reserving one.

### Solution or next step

Change our infrastructure configuration to use a reserved RDS instance.

This might be a bit tricky because when we spin up a dev stack we don't want to reserve an instance for a year... We'll have to do some magic with the full_stack parameter or something...

This issue is blocked by https://github.com/AlexsLemonade/refinebio/issues/2172 because we should figure out the optimal size for our database before locking ourselves in for a year or more

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with blocked issue 2172 to determine the optimal database size, then inspect the infrastructure configuration and the full_stack parameter mentioned here. Review the AWS RDS reserved-instance constraints and how dev stacks are created. Done means the long-lived database uses the appropriate reservation while dev stacks do not reserve a year-long instance.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, databases, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.