Skip to content

Instantly share code, notes, and snippets.

@bmaupin
Last active November 24, 2024 14:53
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
@devesh-anand
Copy link

devesh-anand commented May 5, 2024

planetscale.com

Discontinued.

2 good options that are free in 2024:

  1. Upstash
  2. Turso

My personal suggestion is Turso. It is SQLite, but does the job perfectly. The free tier is very generous.

@Chuks256
Copy link

nice list

@salman0ansari
Copy link

salman0ansari commented Jun 27, 2024

Litegix.com

Mongo, postgres, redis, maria, sql db

@sayan-github
Copy link

Hi bmaupin,

The row on ElephantSQL has been updated with the information on its ensuing End of Life in Jan 2025. Please review and integrate this revision (#17) in the main repository.

Sayan (sayan-github)
[ sayan2405@gmail / [email protected] ]

@HGStyle
Copy link

HGStyle commented Jul 18, 2024

Found out the worst plan https://freemysqlhosting.net/ (5Mb free 👎 )

@ahmedmonemegy
Copy link

Is there any Microsoft SQL server free host, for development purpose?

@Walidadebayo
Copy link

db4free.net

MySQL

@kyle1elyk
Copy link

planetscale.com

Discontinued.

2 good options that are free in 2024:

  1. Upstash
  2. Turso

My personal suggestion is Turso. It is SQLite, but does the job perfectly. The free tier is very generous.

For anyone looking into solutions for Java, Turso does not have an SDK and does not support JDBC. Putting this out there to save someone from finding that out. The best you'll get is libsql/libsql-client-java but as of right now it is not on Maven and is not actively maintained.

@reiyua
Copy link

reiyua commented Aug 12, 2024

ElephantSQL is shutting down, no more signups and will be completely defunct January 27th, 2025.

https://www.elephantsql.com/blog/end-of-life-announcement.html

@kistaaa
Copy link

kistaaa commented Aug 20, 2024

https://pockethost.io/ PocketBase Hosting

@neilfranci
Copy link

For anyone looking into solutions for Java, Turso does not have an SDK and does not support JDBC. Putting this out there to save someone from finding that out. The best you'll get is libsql/libsql-client-java but as of right now it is not on Maven and is not actively maintained.

@kyle1elyk
I should have read this sooner. Anyway, do you recommend any for the Java Maven project? I'm doing some library management stuff

@kyle1elyk
Copy link

For anyone looking into solutions for Java, Turso does not have an SDK and does not support JDBC. Putting this out there to save someone from finding that out. The best you'll get is libsql/libsql-client-java but as of right now it is not on Maven and is not actively maintained.

@kyle1elyk I should have read this sooner. Anyway, do you recommend any for the Java Maven project? I'm doing some library management stuff

@neilfranci Unfortunately I gave up on a free solution, and went with a Heroku deployment. $7 a month to deploy a Quarkus Java app, and a free 5MB MySQL add-on which is enough for my use case. My only other lead was the Azure SQL free tier but I had issues signing up

@neilfranci
Copy link

@neilfranci Unfortunately I gave up on a free solution, and went with a Heroku deployment. $7 a month to deploy a Quarkus Java app, and a free 5MB MySQL add-on which is enough for my use case. My only other lead was the Azure SQL free tier but I had issues signing up

@kyle1elyk I see it can use HTTP. Maybe that is the last one I have to use because none of the others have a better free option.

@jdelaiglesia
Copy link

I don't know if anyone mentioned it but Vercel allows to create a PostgreSQL database and it's accesible from anywhere IIRC

@neilfranci
Copy link

I don't know if anyone mentioned it but Vercel allows to create a PostgreSQL database and it's accesible from anywhere IIRC

Yeah, it's Neon in the back. I'm also using Neon, but I never thought vercel would have it.

@EmmettScot
Copy link

I am also using it.

@sonvirgo
Copy link

any one without CC?

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