hollowverse-archive / hollowverse

The new Hollowverse.com
The Unlicense
9 stars 4 forks source link

Consider moving the database to Aurora Serverless #560

Open forabi opened 6 years ago

forabi commented 6 years ago

Aurora Serverless is generally available. We should evaluate the potential benefits of using a serverless database (mostly cost savings).

Migrating the database will depend on Terraform supporting the new serverless type for Aurora.

forabi commented 6 years ago

Tracking issue: https://github.com/terraform-providers/terraform-provider-aws/issues/5503

forabi commented 6 years ago

Looking at our AWS Billing dashboard, it looks like RDS accounts for around half of our bills:

screenshot from 2018-08-18 13-45-09

The development DB uses a smaller instance but it's still up all the time and accounts for about 30% of the total RDS cost. I think moving to serverless makes sense, at least for the development database.

wholesomedev commented 6 years ago

Good call!

forabi commented 6 years ago

I migrated the development database to serverless today, but Terraform still lacks support for configuring serverless-specific settings (like capacity, how many minutes of inactivity before the cluster is scaled down... etc.)

Tracking issue: https://github.com/terraform-providers/terraform-provider-aws/issues/5504