Managed MongoDB
MongoDB for flexible schemas and fast iterations, deployed as a fault-tolerant replica set inside your DevSpace space from the start. When the data outgrows a single server, turn on sharding and the platform takes care of routing the queries.
A document database: a replica set by default, sharding on demand
What you get
  • -1-
    A replica set out of the box

    Several nodes that elect a new primary automatically when one fails

  • -2-
    Sharding with a single parameter

    Horizontal scaling across several shards with mongos routers

  • -3-
    Encrypted connections

    TLS certificates are issued and renewed by the platform automatically

  • -4-
    Backup

    Scheduled backups to S3-compatible storage, and a new cluster can be deployed straight from a backup

  • -5-
    Standard protocol

    mongosh, Compass and all the official drivers work unchanged

How the service works
The cluster is run by Percona Operator for MongoDB, an open-source operator from Percona, a company with many years of experience in running databases:
  • A replica set by default

    Several mongod nodes with replication. When the primary node becomes unavailable, the replica set elects a new primary on its own and the drivers follow automatically.

  • Sharded mode

    For large volumes the cluster is deployed as a set of shards, each one a replica set of its own, with config servers and mongos routers that spread the queries transparently.

  • Automatic PKI

    The operator issues and rotates the TLS certificates for all nodes, so encryption works without handling certificates by hand.

  • Self-healing
    Failed nodes are recreated and the cluster configuration is brought back to the state you set, with no manual steps.
  • Replicated storage is your choice
    The storage class is set at creation. A replicated class duplicates node data across several servers, so the loss of a disk does not mean the loss of a replica.
Features
Use cases
  • Product data with a flexible schema
    Catalogs, profiles, configurations, content
  • Event-like and log-like data
    High write throughput and a document model
  • Fast product iterations
    The schema changes together with the code, with no heavy migrations
  • Growth with no ceiling
    Start with a replica set and turn on sharding when the data outgrows a single node
How to deploy MongoDB in the cloud in three steps
  • 1
    Add the “MongoDB” service in your DevSpace space: size, number of replicas, and sharding for large volumes.
  • 2
    Take the connection string from the service page, the credentials are generated automatically.
  • 3
    Connect through mongosh or a driver, the same way you would to any standard MongoDB.

FAQ

Сообщение об успешной отправке!
Try it out