DEV Community

Cover image for Is there such thing as a truly free cloud database?
Micah Lindley
Micah Lindley

Posted on

Is there such thing as a truly free cloud database?

I'm building a news platform powered by Vercel's Serverless Functions. Posts are to be stored in some kind of database where Vercel's functions can retrieve and return the data. However, as far as I can tell I'll need to use a database outside of Vercel as they don't support long-term data.

So in a word, I'm looking for a free cloud database with a simple API that has:

  • No request limits
  • High storage limits, or none

Have any of you found a service like this? If you have, I'd love to take a look and see if it would work for me. Currently I'm using Google's Cloud Firestore which is convenient, but its limits on the free Spark plan are very restrictive.

Latest comments (31)

Collapse
 
yodalightsabr profile image
YodaLightsabr

I have the Repl.it hacker plan so I can just make a REST API for my Ognom.db, which has read, write, push, and delete via GET, POST, PUT, and DELETE HTTP methods.

Collapse
 
edwardchanjw profile image
Edward Chan Jia Wei

If the data is open, I would suggest this: back4app.com/database
There is cost to keep data in storage thus no free, or you can say you never completely success over large scale like Microsoft, amazon. Unless VC in your early career.

Found your post while I working with YouTube music's UI too. I always stuck on UI because I don't have great aesthetic working with spacing and arrangement, always look so plain.

Collapse
 
fredericbonnet profile image
Frédéric Bonnet

FaunaDB has a generous free tier and is cloud-native. I've used it in several projects with success.

fauna.com/

Collapse
 
sqlrob profile image
Robert Myers

Why do you think something like this would even exist?

I'm going to make an argument by bringing this to a ridiculous extension. Let's suppose a service like this does exist. What would prevent Amazon from moving to it, cutting their database infrastructure costs to zero?

Quite obviously, no one would be willing to support Amazon for free, so there has to be limits. You just need to figure out what ones are acceptable to you. I agree with Ben below. You also might just want to get one of the providers and set a billing limit for what overage is worth to you (say alert at $5, stop at $10). "Not free" may still be in a hobbyist range, with the free tier plus a coffee or two.

Collapse
 
konarkmodi profile image
Konark Modi

I would myself be interested in knowing such a service, I don't think one such service truly exists.
Few things I've tried, may be they fit your use-case:

  1. Using Herokuapp - Postgres 10K rows limit on Hobby Addon: elements.heroku.com/addons/heroku-...

  2. Cloudflare worker with KV store. - Limits: developers.cloudflare.com/workers/...

  3. Decentralised protocols like IPFS, DAT which are also available over JS and HTTP protocols via gateways, this enables them to work on regular web-browsers etc.

I am happy to spend some time with any of the above to help you come up with a reasonable Proof of Concept.

Collapse
 
micahlt profile image
Micah Lindley

Thanks! I'll definitely take a look at those.

Collapse
 
edwardchanjw profile image
Edward Chan Jia Wei • Edited

Finally there is someone mention them. That is like the basic knowledge if your already research the "storage" area. Again, I am gonna recommend the back4app.com/database, but I am hoping we contribute "Standardize" data, rather we keep store similar data over different "open community" database, which defeat the "open" purpose. Probably follow the most schema from popular API, like song from spotify/apple, email from google, and geolocation from mapbox, google

Collapse
 
kiwicopple profile image
Copple

Check out Supabase. It's in alpha, but it's completely free - no limits. The database is a full Postgres instance so you can hammer it as much as you want

Collapse
 
micahlt profile image
Micah Lindley

Wow, sounds great! Thank you so much!

Collapse
 
gwutama profile image
Galuh Utama • Edited

Just rent a cheap general purpose vps and install any database system you want on it. I find 5$ VPSes to be good enough.

Collapse
 
ramazanm profile image
Ramazan

Even there is such as thing, i don't think it will be secure or reliable.

Collapse
 
micahlt profile image
Micah Lindley

You never know. I often cite GitHub as an example. Why do they provide unlimited repositories, unlimited pushes and pulls, and no storage limits?

Collapse
 
amlana24 profile image
amlan

You can try Mongo Atlas. I use it for many of my personal projects.
mongodb.com/cloud/atlas

Collapse
 
manikantamaddipati profile image
Manikanata

They oracle oci