Skip to content

Instantly share code, notes, and snippets.

@bmaupin
Last active March 28, 2024 02:21
Show Gist options
  • Save bmaupin/0ce79806467804fdbbf8761970511b8c to your computer and use it in GitHub Desktop.
Save bmaupin/0ce79806467804fdbbf8761970511b8c to your computer and use it in GitHub Desktop.
Free database hosting

See also:

Service Type Storage Limitations
Amazon DynamoDB ⚠️ Proprietary NoSQL 25 GB ⚠️ Payment method required
Amazon RDS ⚠️ Proprietary RDBMS ⚠️ Only free for 1 year
Azure SQL Database MS SQL Server ⚠️ Only free for 1 year
👉 Clever Cloud PostgreSQL, MySQL, MongoDB, Redis 256 MB (PostgreSQL) Max 5 connections (PostgreSQL)
ElephantSQL PostgreSQL 20 MB 5 concurrent connections
Fly.io PostgreSQL 3 GB ⚠️ Credit card required, limited outbound traffic, no way to avoid accidental overage fees
Google Cloud Firestore ⚠️ Proprietary NoSQL 1 GB ⚠️ After the first year there's no way to avoid accidental overage fees
Heroku Postgres (discontinued) 😭 PostgreSQL 10K max rows
IBM Cloud Cloudant ⚠️ Proprietary NoSQL 1 GB Deleted after 30 days of no activity
IBM Cloud Db2 Db2 200 MB ⚠️ "users are asked to re-extend their free account every 90 days by email. If you do not re-extend, your free account is cleaned out a further 90 days later"
MongoDB Atlas MongoDB 512 MB
OpenShift Developer Sandbox MariaDB, MongoDB, MySQL, PostgreSQL 15 GB ⚠️ Expires after 30 days (can resubscribe for free but not extend subscription), pods are automatically deleted after 12 consecutive hours of runtime
Oracle Cloud Oracle Database 20 GB each per two databases ⚠️ Payment method required
Redis Enterprise Redis 30 MB
Scalingo PostgreSQL 128 MB Max 10 connections
⚠️ Payment method required after 30 day trial
👉 Supabase PostgreSQL 500 MB Paused after 1 week inactivity
2 GB transfer limit
@silvioprog
Copy link

silvioprog commented Oct 12, 2022

Clever Cloud also allows free 500MB MongoDB -> https://www.clever-cloud.com/pricing/#MongoDB

Screen Shot 2022-10-11 at 10 46 39 PM

@MiddleCloud
Copy link

@bmaupin please add render.com as well for PostgreSQL and Redis

@meganlawalert
Copy link

bio.io has offers three free PostgreSQL instances with 3GB data cap and moderate usage as well. https://bit.io/pricing

@drocha87
Copy link

@bmaupin please add render.com as well for PostgreSQL and Redis

Seems like the free plan is available only for the first 90 days. But it seems to have fair prices to be fair!

@neonleo
Copy link

neonleo commented Nov 11, 2022

https://remotemysql.com/ - Free 100MB MySQL
https://www.infinityfree.net/ - Free 400 MySQL Database (with PHP hosting)
https://freedb.tech/ - Free 50MB MySQL

@RohanArora13
Copy link

https://www.deta.sh/

Deta Base is a super easy to use production-grade NoSQL database that comes with unlimited storage. Learn more →

☂️   Easy to use API.
🏁   Super fast & highly scalable.
📈   Unlimited databases.
👀   Graphical UI.

Deta Drive The easy to use cloud storage solution by Deta – get 10GB for free. Learn more →

@rapaziat
Copy link

thanks

@havinhnam
Copy link

havinhnam commented Nov 27, 2022

neon.tech for Postgres

@MiddleCloud
Copy link

MiddleCloud commented Nov 28, 2022

https://xata.io - Xata is a serverless database with built-in powerful search and analytics. One API, multiple type-safe client libraries, and optimized for your development workflow.
Free tier:
Records - 750,000
Rate limit (requests/s) - 75

@Ninel-Valentin
Copy link

Thank you!

@hyoretsu
Copy link

hyoretsu commented Dec 8, 2022

Railway is great. Has PostgreSQL and two types of free tier: 1 with 500h/month usage, 1GB and 512MB RAM, and another one which you need to add a CC. If you stay under $5 of usage, it has no uptime limit, 100GB and 8GB RAM.

In 6h24min of idle uptime (0 usage), I had $0.0092, estimated a measly $0.81/month.

@theo-for-you
Copy link

Thank you!

@dalisoft
Copy link

I am added new database service providers from comments as well as from OP comment to my repo:
https://github.com/dalisoft/awesome-hosting#database

I always welcome to see any PR and bug-fix.

Thank you

P.S. I am included link to there at bottom for users can see original comment and post

@willkuerlich
Copy link

I found also this tiny one (5mb - not used though):
freesqldatabase.com

@ABUCKY0
Copy link

ABUCKY0 commented Jan 30, 2023

Also check out bit.io

@akelhad
Copy link

akelhad commented Jan 31, 2023

Hey! Look at filess.io. They have a free plan

and they have the following DBMS:

  • MySQL
  • PostgreSQL
  • MongoDB
  • MariaDB

excellent choice for free

@khemthung
Copy link

thanks

@TheKodeToad
Copy link

Looks like I'm going to need to finally unsubscribe xD

@somecho
Copy link

somecho commented Mar 27, 2023

IBM DB2 doesn't seem to have a free tier anymore :(

@Kloksy
Copy link

Kloksy commented Apr 11, 2023

dashboard.render.com PostgreSQL Free RAM 256MB Storage 1GB

@acuatoria
Copy link

bit.io has a good performance for me

@justinclift
Copy link

Heh, interesting list. If it's still being updated, then maybe add an entry for DBHub.io?

Service Type Storage Limitations
DBHub.io SQLite Max size of 512MB per database Tiered usage pricing still TBD, so free for now

@hooopo
Copy link

hooopo commented May 29, 2023

Heh, interesting list. If it's still being updated, then maybe add an entry for TiDB Cloud serverless?

Service Type Storage Limitations
TiDB Cloud MySQL 5GB of row storage, and 5GB of column storage, and 50 million Request Units (RUs) available for free each month Max 5 clusters

@ichal6
Copy link

ichal6 commented May 30, 2023

bit.io will be sunset from 29th June 2023 year!

@prakar
Copy link

prakar commented Jun 22, 2023

Clever Cloud has no free tier after August 2023. Right now (ie before Aug 2023), the smallest MySQL instance is free, it's enough for me

@prakar
Copy link

prakar commented Jun 22, 2023

Hey! Look at filess.io. They have a free plan
and they have the following DBMS:

  • MySQL
  • PostgreSQL
  • MongoDB
  • MariaDB

excellent choice for free

Thanks!

@zorjo
Copy link

zorjo commented Jul 2, 2023

Railway has sunset it's pricing plans, and the monthly credits will not be reset

@hyoretsu
Copy link

hyoretsu commented Jul 2, 2023

@zorjo From what I understood, people who are verified now will be free of the $5 billing of the new Developer plan. What I don't know is if it's forever or only for the first month.

@craziks-creator
Copy link

craziks-creator commented Jul 6, 2023

Railway has sunset it's pricing plans, and the monthly credits will not be reset

Yes,now railway doesn't exist in this category even it should not be exist

@craziks-creator
Copy link

craziks-creator commented Jul 6, 2023

Hey! Look at filess.io. They have a free plan
and they have the following DBMS:

  • MySQL
  • PostgreSQL
  • MongoDB
  • MariaDB

excellent choice for free

Now It's 10MB free storage + limited connections(<5)

@ibqn
Copy link

ibqn commented Jul 7, 2023

planetscale.com

@diracdeltafunk
Copy link

adaptable.io seems to offer 1GB storage (MongoDB or PostgreSQL) in their free tier

@howard36
Copy link

Neon has 3GB of PostgreSQL on their free tier.

@tahamukhtar20
Copy link

there is also planetscale with a free tier (mysql)

@fawadasaurus
Copy link

fawadasaurus commented Sep 1, 2023

https://cloud.candle.dev offers 512mb free (upgradable to 1gb for free). It is persistent storage space that can be used for hosting a sqlite database. The free compute allows building an API to interact with the data.

Guide:
https://medium.com/p/a21de9a08f7b

@patrickramp
Copy link

patrickramp commented Sep 2, 2023

Service Type Storage Limitations
CockroachDB PostgreSQL 10 GB No credit card required. One single node cluster with 50M Request Units per month for free.

@erfelipe
Copy link

One more option: https://supabase.com/pricing

@alisdairbr
Copy link

Koyeb offers free serverless postgres: https://www.koyeb.com/blog/serverless-postgres-public-preview

1GB Storage. Postgres 16, 15, and 14. Global availability regions in US, Europe, and Asia. Auto-sleeping. Postgres extensions supported.

@emvouvakis
Copy link

image
Turso free 9GB , no credit card needed

@lavisar
Copy link

lavisar commented Dec 15, 2023

Thank you so much <3

@LuukHaket
Copy link

Awesome list!

@Cool31
Copy link

Cool31 commented Jan 10, 2024

I found also this tiny one (5mb - not used though): freesqldatabase.com

This host provider has 3 plans, one for 5mb db with values filled in, 2nd is 1 month free with more addl features, 3rd is paid plan. Weekly login else db vanishes. Another option for db is db4free.net, it's good for testing but no SSL certificate, so get free SSL certificate for 90 days, then renew it. Best option is to do self hosting if one can turn old PC into hosting server and host your own website plus make money by providing hosting services. Watch youtube video - type self hosting to get video.
Try google host.

@ahnazary
Copy link

ahnazary commented Jan 27, 2024

Aiven has a free plan for postgres as well:

link

image

@epogrebnyak
Copy link

epogrebnyak commented Feb 4, 2024

Maybe work look at any heroku alternatives: https://www.google.com/search?q=heroku+alternatives They may offer a database as well

@apfromiit
Copy link

apfromiit commented Feb 12, 2024

https://freedb.tech

Limits on FreeDB Free Tier:

1 MySQL Database
50 MB Storage
MAX Connections 200

@Cool31
Copy link

Cool31 commented Feb 13, 2024 via email

@nullxx
Copy link

nullxx commented Feb 13, 2024

https://freedb.tech

Limits on FreeDB Free Tier:

1 MySQL Database 50 MB Storage MAX Connections 200

filess.io has less free limitations

@apfromiit
Copy link

apfromiit commented Feb 13, 2024

https://filess.io

Limits on Filess Free Tier:

1 MySQL Database
10 MB Storage
MAX Connections 3

@nullxx
Copy link

nullxx commented Feb 13, 2024

https://filess.io

Limits on Filess Free Tier:

1 MySQL Database 10 MB Storage MAX Connections 3

I think the max is for concurrent connections, not for total connections.

@apfromiit
Copy link

apfromiit commented Feb 13, 2024

https://filess.io

Limits on Filess Free Tier:

1 MySQL Database 10 MB Storage MAX Connections 3

I think the max is for concurrent connections, not for total connections.

I agree. The number of maximum concurrent connections (3) is crucial because we frequently encounter the 'Too many connections' error as the limit could be easily reached.

@erfelipe
Copy link

Unfortunately ElephantSQL left the free plan. He can leave the table/list and the others can join.

@Cool31
Copy link

Cool31 commented Feb 14, 2024 via email

@Taewan-P
Copy link

Taewan-P commented Mar 9, 2024

Planetscale is also leaving the free plan. (Hobby plan)

@Ziul
Copy link

Ziul commented Mar 11, 2024

@Taewan-P Planetscale is deprecating the hobby plan: https://planetscale.com/docs/concepts/hobby-plan#overview

@sebastianrm83
Copy link

Neon has 3GB of PostgreSQL on their free tier.

This worked fine. Thanks :)

@sosolidkk
Copy link

ElephantSQL is terminating all services by the end of January 2025.

End of life announcement

@ExVault
Copy link

ExVault commented Mar 23, 2024

Redis Enterprise is 30 max connections.

@nmsderp
Copy link

nmsderp commented Mar 24, 2024

you should add vercel db, its free

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment