I am currently using Postgres on AWS RDS. It is costing me about $15 per month despite the fact that I have only 1 table that I query a few times per day. I’m not sure why it costs so much.
The settings I chose are: db.ts.micro - Burstable Classes - 20GB
Are there any settings I should turn on/off to minimise cost. Is there a better AWS database to use for a side project with only a small amount of occasional traffic (I prefer a relational DB if possible)? I don’t mind if there is a small delay while the DB server instance boots if that makes it cheaper.
It’s been a little while since I checked, but I believe the cheapest you can run Aurora Serverless v2 is at $40 per month. Which is cheap for what you can do with it, but definitely doesn’t beat OP’s $15 per month.
As others have said, it’s not gonna get much cheaper than that in RDS. You’d have to run your own instance in EC2 or something to beat that.
Depending on what you’re doing with the DB, you may want to consider something like Athena. If that fits your use-case, it’d probably be much cheaper than what you’re paying now. Otherwise DynamoDB can be very cheap and easy to set up (of course, not relational).
You can still run v1, but they don’t seem to be actively developing it anymore. The most recent update was adding a few newer supported versions to prevent running on an EOL minor version
Tho a little concerning that he didn’t include “your database defaults to being publicly readable” in the drawbacks!
The vpc shenanigans op would have to implement to make this viable might get it back above the $15 threshold
I would suggest making a DB inside an EC2. I have a MYSQL DB running in an EC2, it’s around 2-3GB and I am using a t2.medium DB instance. It is working fine