Serverless FerretDB

The Apache-licensed MongoDB-compatible database. Same wire protocol, same drivers, no SSPL fine print. Cloud, desktop, or self-host with SpinDB.

Document Console
FerretDB

Collections

  • users12.4k
  • products847
  • orders3.1k
db.users.findOne({ email: 'a@b.co' })
{
_id: ObjectId('65f...'),
email: 'a@b.co',
name: 'Alice',
createdAt: ISODate('2026-01-04'),
}

Production features, free tier included

Every FerretDB database ships with the same primitives: TLS, web console, hibernation, and a real dashboard. No tiered features hidden behind a sales call.

Web IDE

Query console in the dashboard, no extra client to install.

Included

TLS by default

All connections encrypted. No setup required.

Included

Always-on connections

Optional keep-alive add-on prevents hibernation.

Included

Scale to zero

Hibernates when idle. Wakes on the next connection.

Included

Connection pooling

Pooled endpoint for serverless and edge workloads.

Included

Direct connections

Bypass the pooler for migrations and replication.

Included

HTTPS access

HTTP-native engines reachable over port 443.

Not available

Serverless driver

Upstash REST or PlanetScale serverless drivers supported.

Not available

IP whitelisting

Restrict access to specific IPs or CIDR ranges.

Included

Automatic backups

Scheduled point-in-time backups with one-click restore.

Included

Connect with any FerretDB client

Teams that need MongoDB ergonomics with Apache 2.0 licensing, document-shaped data on top of Postgres, and existing Mongo apps that want to escape the SSPL.

  • Drop MongoDB-shaped data into a project that needs a permissive license
  • Run document workloads alongside Postgres on the same infra without dual ops
  • Spin up a per-environment document store that scales to zero between bursts
  • Migrate off Atlas without rewriting drivers or queries
  • Self-host on your own hardware when compliance requires it
bashFerretDB
mongosh "mongodb://layerbase:password@your-host.cloud.layerbase.dev:27017/app?tls=true"

Common FerretDB questions

How is FerretDB different from MongoDB?+

FerretDB implements the MongoDB wire protocol on top of PostgreSQL. From your driver, it looks like Mongo. Under the hood, your documents are stored as JSONB in Postgres tables. License: Apache 2.0 instead of SSPL.

Will my MongoDB driver work?+

Yes. Any driver that speaks the MongoDB wire protocol (pymongo, mongoose, mongo-go-driver, Java, etc.) connects to FerretDB without code changes. mongosh works against the same endpoint.

Is there feature parity with MongoDB?+

The common 90% is covered: CRUD, indexes, aggregations, transactions, change streams. Mongo-only features like Atlas Search are not supported. The FerretDB compatibility page tracks specifics.

Can I move data from MongoDB to FerretDB?+

Yes. mongodump and mongorestore work against FerretDB. Most apps move with zero driver-side changes; you typically only re-verify queries that exercise less-common operators.

How does it relate to /db/mongodb on Layerbase?+

/db/mongodb explains the Mongo story on Layerbase Cloud, which is implemented by FerretDB. /db/ferretdb is the same engine viewed through its own brand and license story; pick whichever framing fits your audience.