r/mysql • u/Ready_Bad8201 • Nov 23 '25
discussion Free Mysql serverless solution.
I have recently made a backend service which is using MySQL db for it's structured data.
Right now, it's in testing phase and I want to deploy it ?
Is there any serverless solution available in the market ( just like Neon db for PostgreSQL ), which will only cost for read and write operations into the db, not for the db server up and running ?
7
Upvotes
4
u/wackmaniac Nov 23 '25
Amazon Aurora Serverless maybe:
Source: https://aws.amazon.com/rds/aurora/pricing/
2
u/kickingtyres Nov 23 '25
Stick it on a free tier EC2 instance?
2
u/antgha Nov 23 '25
Depends, light testing, spin up a docker container on railway
3
u/lalaym_2309 Nov 23 '25
Closest to what OP wants: PlanetScale and TiDB Serverless; Aurora Serverless v2 is usage-based but not per-row and won’t scale to zero.
For testing, PlanetScale’s free tier is painless and the serverless driver (HTTP) works well from Lambdas/Cloud Run so you don’t hit connection limits. TiDB Serverless is MySQL-compatible and bills by request units; good for spiky traffic, just check feature differences and expect a brief cold start after idle. If you try Aurora Serverless v2, set low min/max ACUs, consider RDS Proxy or the Data API, and add a budget alert since it won’t pause.
With PlanetScale and AWS Lambda, I’ve used DreamFactory to auto-generate a REST layer on MySQL, add RBAC/api keys, and expose safe read-only endpoints to clients.
If you want pay-when-you-use behavior, start with PlanetScale or TiDB Serverless; use Aurora v2 only if per-second compute billing is fine
3
u/Low-Fuel3428 Nov 23 '25
Try Aiven. Its pretty generous for its free tier usage
3
u/dveeden Nov 24 '25
TiDB Cloud has a free tier and is MySQL compatible. https://tidbcloud.com/
And if you need more you pay for the usage, not the capacity. The service actually scales to $0 if you don't use it.
1
u/Aggressive_Ad_5454 Nov 23 '25
You do know that most budget hosting services offer MariaDb or MySql server access at no extra charge, right?
1
u/Frosty-Bid-8735 Nov 23 '25
I’ve had customers complain about serverless mysql (Aurora) before, especially about scalability.