DocumentDB logo

OpenEverest for DocumentDB

Stop splitting AI data across separate systems. Run MongoDB-compatible DocumentDB on Kubernetes with documents, metadata, and embeddings together, then manage replicas, TLS, snapshots, versions, and connections through one OpenEverest UI and API.

A simpler stack for AI

AI applications need the original content, its metadata, and its embedding to stay close. DocumentDB puts all three in one document, so vector retrieval can return the source without a second database or a sync job between systems.

Use MongoDB-compatible drivers to store application data, add an embedding, and query by similarity with $vectorSearch. OpenEverest takes care of the Kubernetes layer around that workload: replicas, persistent storage, encrypted connections, snapshots, version changes, and operational health.

Keep the flexibility of primitives, too. Use the dedicated DocumentDB provider for the complete MongoDB-compatible service, or enable the DocumentDB extension through the CloudNativePG provider when DocumentDB belongs inside an existing PostgreSQL deployment.

Key capabilities

Documents + Vectors Together

Keep BSON documents, metadata, source text, and embeddings in the same database, then query nearby vectors alongside their original data.

MongoDB-Compatible API

Connect existing applications with familiar MongoDB drivers and tools. DocumentDB's gateway translates the wire protocol to a PostgreSQL-backed engine.

High Availability

Run one primary with up to two streaming replicas and automatic promotion when the primary fails. The DocumentDB preset starts with three nodes.

TLS by Default

Every connection is encrypted. OpenEverest can use a generated certificate, your cert-manager issuer, or a certificate stored in a Kubernetes Secret.

Scale and Maintain

Grow storage, adjust replica count and resources, or raise the DocumentDB version. Restarting changes wait for explicit or standing maintenance approval.

Snapshot Backups and Restore

Schedule retained CSI VolumeSnapshot backups of the primary and create a replacement instance from a completed cluster-local backup.

Prometheus Metrics

Publish PostgreSQL and DocumentDB scrape endpoints to an ExtensionManaged monitoring destination without wiring metrics collectors by hand.

Powered by

documentdb/documentdb

DocumentDB is the open-source, MongoDB-compatible document database built on PostgreSQL, with document queries, search features, and native vector search.

documentdb/documentdb-kubernetes-operator

The operator runs the PostgreSQL engine, DocumentDB extension, and gateway on Kubernetes, with CloudNativePG managing the database cluster.

cloudnative-pg/cloudnative-pg

CloudNativePG supplies the PostgreSQL cluster, replicas, failover, persistent storage, and rolling lifecycle underneath DocumentDB.

Ecosystem & extensions

Extend DocumentDB on OpenEverest with community plugins and integrations.

Frequently asked questions

What is DocumentDB, and how is it different from MongoDB?
DocumentDB is an open-source, PostgreSQL-backed database that implements the MongoDB wire protocol and a MongoDB-compatible document API. Applications can use familiar MongoDB drivers and tools, but the storage engine is PostgreSQL rather than MongoDB. Compatibility is broad; test application-specific commands and behavior before migration.
Why use DocumentDB for an AI application?
It keeps the source text, metadata, and embedding in one BSON document. A vector query can return the nearest embeddings and the source documents together, without copying metadata into a separate vector database. DocumentDB exposes native vector search through aggregation stages such as $vectorSearch while retaining familiar document queries.
How does OpenEverest run DocumentDB?
The dedicated provider-documentdb turns an OpenEverest Instance into a resource for the DocumentDB Kubernetes Operator. That operator runs the DocumentDB extension and MongoDB-compatible gateway beside PostgreSQL on a CloudNativePG cluster. The provider reports readiness, connection details, credentials, and pending maintenance back to OpenEverest.
What is the difference between the DocumentDB provider and the CloudNativePG extension?
The dedicated provider creates the complete DocumentDB service: the PostgreSQL engine, DocumentDB extension, MongoDB-compatible gateway, TLS endpoint, and replica-set lifecycle. The CloudNativePG provider also offers the DocumentDB extension for supported PostgreSQL 18 images, which is the right path when you want DocumentDB capabilities inside a PostgreSQL cluster rather than a separately managed MongoDB-compatible service.
Does DocumentDB on OpenEverest support high availability?
Yes. The replica-set topology supports one to three PostgreSQL instances: one primary and up to two streaming replicas. The DocumentDB preset defaults to three nodes and automatic promotion when the primary fails.
How do backups and restores work?
The current provider uses the upstream operator’s CSI VolumeSnapshot backups of the primary volume. You can schedule snapshots, set retention, or create one with a documentdb.io/Backup resource. Restore starts a new OpenEverest instance from a completed backup in the same Kubernetes namespace. These snapshots stay in the cluster; object-storage backups, in-place restore, and point-in-time recovery are not currently exposed.
Are connections encrypted?
Yes. The DocumentDB gateway refuses unencrypted connections. Use the generated self-signed certificate, select a cert-manager Issuer or ClusterIssuer, or provide your own certificate Secret. The connection Secret includes the CA data clients need.
Is DocumentDB free to run on OpenEverest?
DocumentDB is MIT licensed, and OpenEverest, provider-documentdb, the DocumentDB Kubernetes Operator, and CloudNativePG are open source. You still provide and operate the Kubernetes infrastructure and storage. The dedicated DocumentDB provider is currently a pre-alpha integration, with no supported upgrade path yet.
Which versions are available?
The dedicated provider currently catalogs DocumentDB 1.0.0 and 1.0.1 and defaults to 1.0.1. Check the provider repository for the current version matrix because the provider and upstream operator are evolving.

Ready to get started?

Deploy OpenEverest on Kubernetes and give your AI applications one self-hosted home for documents, metadata, and embeddings.

DocumentDB and MongoDB are names or trademarks of their respective owners. OpenEverest is not affiliated with, endorsed by, or sponsored by those organizations. MongoDB compatibility does not mean affiliation or identical implementation.