HACKER Q&A
📣 josefrichter

Free tier production DB for free projects?


How do you solve DB on free projects or tiny pet projects?

I'm sure a lot of you launched some pet project that is free to use, has traffic of few dozens of people per month and you don't have any immediate plans to monetize it, just want to keep it alive and see what happens later.

While it's quite easy to find free hosting for such projects, it seems rather difficult to find free database hosting for it. Most database free tiers come with very tricky conditions like wiping all content every now and then, having to redeploy regularly, etc. - this makes them not really usable in production. And the paid tiers jump easily from 0 to $50/mo which is not feasible for free pet project.

I am talking about nothing fancy, a few megabytes of Postgres with negligible traffic. How do you folks go about this? Thank you.


  👤 amenod Accepted Answer ✓
AWS free tier for up to 12 months, or if you can't be bothered with it, a VM on one of the hosting providers. Using Docker the PG setup is trivial, but you need to put some thought in backups.

👤 znpy
Heroku had a free tier for their managed postgres.

Not sure if you can expose it to the public internet or if you have to also deploy your app on heroku though.


👤 dylz
Run a postgres instance on a $5 VM seems like the usual. If there is really no traffic at all, an AWS free tier?