Document database platform

MongoDB

A document database whose managed Atlas service offers Free, Flex, and Dedicated deployment paths.

Editorial verdict

Choose MongoDB when the domain is naturally organized as document aggregates and the team can design embedding, references, indexes, and transactions around real access patterns. Do not choose it merely to avoid schema design, and do not describe the retired Atlas Serverless offering as a current deployment option.78

Best for

  • Domains where related data is commonly read and updated as a single document aggregate
  • Teams that can make explicit embedding-versus-reference decisions from application access patterns
  • Products that intentionally select Atlas Free, Flex, or Dedicated operating boundaries
178

Not ideal for

  • Systems dominated by relational invariants, joins, and cross-aggregate transactions
  • Teams using document flexibility as a substitute for data contracts, validation, and index design
  • Production workloads whose throughput, storage, networking, backup, or regional needs do not fit Atlas Flex limits
678
Main trade-off

MongoDB's document model can align storage with application aggregates, but relationships, duplication, transactional boundaries, indexes, migrations, and Atlas tier constraints still require deliberate design.678

Product boundary

Whether the application's durable data is better modeled as document aggregates than as normalized relational records.

MongoDB is a document database model and product family; MongoDB Atlas is the managed commercial service discussed in the pricing snapshot. Self-managed MongoDB has a separate licensing, infrastructure, backup, security, and operations boundary.12

For: Application teams with access patterns and ownership boundaries that genuinely fit MongoDB documents and deliberate embedding or referencing choices

  • Relational integrity and cross-entity joins dominate the data model.
  • Atlas Flex throughput, storage, networking, backup, or regional limits do not fit production requirements.
  • The team needs provider-independent self-hosting and is prepared to own MongoDB operations.
  • Current Atlas pricing at the required cloud, region, topology, storage, and backup level changes the cost case.

Why teams consider MongoDB

  • Document data modelMongoDB stores records as flexible BSON documents that can represent nested application aggregates.127
  • Embedding and referencesThe official modeling guidance supports embedding related data or storing references according to access and update patterns.128
  • Managed deployment ladderAtlas currently offers Free, Flex, and Dedicated deployment paths for different workload and operating needs.126
  • Configurable dedicated clustersDedicated Atlas costs and capabilities vary by cloud provider, region, tier, storage, IOPS, and topology.125

Pricing

MongoDB Atlas currently separates Free, Flex, and Dedicated deployments. Flex is usage-priced within a monthly range and has hard service limits; Dedicated starts with provisioned cluster tiers, then adds configuration-dependent storage, backup, transfer, and topology costs.345

Learning and prototypes

Atlas Free

A free managed deployment with restricted resources and features for learning and small proof-of-concept workloads.34

Development and low-throughput applications

Atlas Flex

Official Flex billing currently lists a usage-based range of $8 to $30 per 30-day period and includes up to 5 GB of storage, subject to Flex limits.34

Production and higher throughput

Atlas Dedicated

MongoDB's billing documentation currently describes Dedicated clusters as starting at about $60 per month, with provider, region, tier, storage, IOPS, backup, transfer, and topology affecting total cost.34

Current deployment boundary
Atlas Serverless, M2, and M5 are no longer supported as of January 22, 202634
Flex storage boundary
Up to 5 GB under the current Flex limits34
Dedicated cost drivers
Provider, region, tier, storage, IOPS, backups, transfer, and topology34
Pricing checked View official pricing

MongoDB vs alternatives

PostgreSQL

Choose when
Choose it when relational integrity, expressive joins, SQL portability, and a broad relational ecosystem matter more than document aggregates.
Compared with MongoDB
The application uses a relational schema and must choose a PostgreSQL operating route.9

Amazon DynamoDB

Choose when
Evaluate it when key-value and document access patterns, AWS integration, and explicitly designed partition-key throughput are the primary requirements.
Compared with MongoDB
The access-pattern and partition model is more constrained and AWS-specific.10

Cloud Firestore

Choose when
Evaluate it when Firebase client integration, realtime listeners, and a collection-document model fit the product.
Compared with MongoDB
The query, security-rule, billing, and Google platform boundaries differ materially from MongoDB.11

Resources and sources

Official product and architecture

  • MongoDB Atlas database deployments
    Open
  • Atlas Flex migration notice
    Open
  • Atlas Flex costs
    Open
  • Atlas cluster configuration costs
    Open
  • Atlas Flex limitations
    Open
  • MongoDB data modeling
    Open
  • MongoDB embedded data models
    Open

Official pricing

  • Atlas billing breakdown and optimization
    Open
  1. 1
    MongoDB Atlas database deployments

    MongoDB · Accessed Official

  2. 2
    Atlas Flex migration notice

    MongoDB · Accessed Official

  3. 3
    Atlas Flex costs

    MongoDB · Accessed Official

  4. 4
    Atlas billing breakdown and optimization

    MongoDB · Accessed Official

  5. 5
    Atlas cluster configuration costs

    MongoDB · Accessed Official

  6. 6
    Atlas Flex limitations

    MongoDB · Accessed Official

  7. 7
    MongoDB data modeling

    MongoDB · Accessed Official

  8. 8
    MongoDB embedded data models

    MongoDB · Accessed Official

  9. 9
    What is PostgreSQL

    PostgreSQL Global Development Group · Accessed Official

  10. 10
    Amazon DynamoDB introduction

    Amazon Web Services · Accessed Official

  11. 11
    Cloud Firestore data model

    Google · Accessed Official