FerretDB, the open source MongoDB-compatible database, preinstalled and running as a system service on a DocumentDB-enabled PostgreSQL backend. Speak the MongoDB wire protocol with your existing drivers and tools while your data lives in PostgreSQL. A fresh database password is generated on first boot, the data directory sits on a dedicated resizab
Overview
FerretDB is a truly open source document database that is compatible with the MongoDB wire protocol. It lets you keep using MongoDB drivers, the mongosh shell and the MongoDB query and aggregation language while your data is stored in PostgreSQL through the DocumentDB extension. This image delivers FerretDB fully installed and running as a system service on a DocumentDB-enabled PostgreSQL backend, so a MongoDB-compatible database appliance is answering on the loopback interface within minutes of launch.
Document Database Service
The ferretdb proxy installed from the official release package and run by a bundled systemd service, started on boot and restarted on failure, fronting a PostgreSQL backend that carries the DocumentDB extension and its supporting extensions. Connect with any MongoDB driver or mongosh, create collections, insert BSON documents, build indexes and run aggregation pipelines exactly as you would against MongoDB, while every operation is translated to SQL and persisted in PostgreSQL.
Secure By Default
The MongoDB-compatible endpoint is bound to loopback only and is never exposed to the network by the shipped security group. A strong, unique database password is generated automatically on the first boot of every instance and written to a root-only credentials file, so no shared secret is ever baked into the image. Clients authenticate against PostgreSQL using SCRAM-SHA-256. Open the database port and bind to an external address on your own terms when you are ready to serve remote clients.
Production Storage Layout
The PostgreSQL data directory is relocated onto a dedicated, independently resizable data disk rather than the operating system root, so your database grows on durable storage you can expand without touching the boot volume. The backend ships with the DocumentDB extension already created in the database, ready for your first collection.
Ready To Use
Connect over SSH and the database service is already running. Read the welcome notes for the generated password, connect with mongosh over the loopback interface, and start inserting documents. Point your application's MongoDB connection string at the instance once you have opened and secured the port.
cloudimg Support
24/7 technical support by email and chat. Help with connection strings and drivers, authentication and roles, indexes and aggregation, the PostgreSQL backend and the DocumentDB extension, backups, capacity planning and upgrade planning.
Use Cases
A drop-in MongoDB-compatible database for applications that speak the MongoDB protocol but want to standardise storage on PostgreSQL. A document store for teams that prefer an open source licence and no vendor lock-in. A development and testing target for MongoDB workloads. A consolidation play that keeps document and relational data in one PostgreSQL estate.
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.