MongoDB · Cloud Services

MongoDB in the cloud:
the Atlas ladder from M0 to 128 TB

Say "MongoDB in the cloud" and most people mean Atlas. It runs on all three major public clouds, from a free starter cluster up through large dedicated tiers, and now there's Infinite, a version that just entered public preview. This post goes through it in order — clouds and regions, tiers, elasticity, backup and security, the new edition — and finishes with how to choose between a managed service and running it yourself.

M0shared · starter
0.5 GB
Flexon-demand · small
5 GB
M10dedicated · entry
≤ 128 GB
M30dedicated · common
≤ 512 GB
compute & storage decoupled
Atlas Infinitepublic preview
128 TB

Storage limits per tier are from the Atlas docs (AWS deployments); the Infinite figure is the logical storage limit per replica set
Bar length is on a logarithmic scale so everything from 0.5 GB to 128 TB fits in one chart

01 · What the Cloud Solves

Turning "operate a database" into "use a service"

Self-hosting MongoDB means handling high availability, scaling, backup and security yourself. A managed cloud service turns those into options you configure.

High availability by default

The service builds and maintains the replica set. In supported regions, a cluster can be spread across three availability zones.

Scaling is one operation

Move to a bigger tier, or turn on auto-scaling and let capacity follow load — instead of migrating data in the middle of the night.

Backup and security built in

Cloud backups, private network connectivity and disk encryption are part of the service, not components you assemble yourself.

02 · Clouds & Regions

Three clouds, over thirty AWS regions

Atlas supports AWS, Google Cloud and Microsoft Azure. On AWS alone, the docs list 34 regions across the Americas, Asia Pacific, Europe, and the Middle East and Africa.

3
Supported public clouds
AWS · Google Cloud · Azure
34
AWS regions listed in the docs
Americas 8 · Asia Pacific 14 · Europe 8 · Middle East & Africa 4
3-AZ
When a region has enough zones
Deployed across three AZs, with higher availability than two
Heads-up

Not every region supports every tier: the docs say all listed regions support dedicated M10+ clusters, but some don't support free or Flex clusters. AWS regions in China and GovCloud are handled separately (government regions are covered by MongoDB Atlas for Government). Check the latest region table before choosing.

03 · Tier Ladder

From a free trial to large dedicated clusters

Atlas cluster tiers fall into three broad bands: the shared starter tier, lightweight on-demand Flex, and dedicated clusters starting at M10.

TierTypeStorageGood for
M0 Shared 0.5 GB Learning, prototypes
Flex Lightweight on-demand 5 GB Development, small apps
M10 Dedicated 10 – 128 GB · 2 GB RAM Entry-level production, light load
M30 Dedicated 10 – 512 GB · 8 GB RAM A common production size
M40 … M700 Dedicated Increasing per tier Higher concurrency, more data
Also

Dedicated tiers also come in Low-CPU, NVMe and Gen2 variants; on AWS, Gen2 applies to M30 and above. The storage and memory figures above come from the Atlas AWS docs page. Tier tables change between releases, so rely on the latest official page when sizing.

04 · Elasticity

Let capacity follow the load

Atlas auto-scaling works in two directions, compute and storage, and the compute side has two mechanisms: reactive and predictive.

Reactive

Adjusts the tier based on the cluster's current resource usage, and applies to every eligible cluster.

Predictive

Uses historical usage patterns to scale up ahead of an expected peak. For spikes with no cyclical pattern, it falls back to reactive scaling.

Storage auto-scaling

On Atlas Core, storage increases when the cluster reaches 90% of its disk capacity (provided it's configured or you haven't opted out).

The oplog link

On Atlas Core, an auto-scaling event waits until the oplog window covers the estimated scaling time. If you don't want the window to block scaling, you can set a minimum oplog retention window.

05 · Backup & Security

The insurance built into the service

Backup and security are the two things people ask about most when evaluating a managed service. Here is how Atlas approaches both on AWS.

Cloud backups (snapshots)

  • Available on M10 and above, on AWS, Azure and Google Cloud
  • On Atlas Core, backups are immutable by default — snapshots can't be modified
  • With a Backup Compliance Policy enabled, no user can delete backups or change retention settings
  • Flex clusters get daily snapshots automatically, and it can't be turned off
  • Free clusters don't support Atlas backups; use mongodump / mongorestore instead

Security & networking (AWS)

  • AWS PrivateLink: connect to the cluster through private endpoints
  • VPC peering: set up network peering with your VPC
  • EBS encryption: encrypts cluster root volumes at rest, and data moving between the volume and the cluster
  • AWS KMS: usable for disk encryption and for client-side field-level encryption
Restore limits

When restoring a backup, the target cluster's version has to fit the rules: the same major version with an equal or higher minor version, or the next higher major version. Writes to the cluster aren't allowed while a restore is running — factor that into your downtime window when you rehearse restores.

07 · New Edition

Atlas Core and Atlas Infinite

Both use the same interface, drivers and APIs, so existing queries and connection code keep working. The difference is how compute and storage are organized.

AspectAtlas CoreAtlas Infinite
Architecture Compute and storage on the same node Compute and storage as independent layers
Storage scaling Scales independently on dedicated clusters, but capped by the current tier Grows independently of tier, up to 128 TB (logical) per replica set
Sharding Usually something to consider as data nears the tier limit Not needed for capacity up to 128 TB (sharded clusters unsupported in preview)
Clouds & tiers AWS / Azure / Google Cloud; Free, Flex, Dedicated AWS only; M10–M60 replica sets (during preview)
Status The default for production workloads; no plans to sunset it, per MongoDB Public preview — may change at any time
Handle with care

MongoDB's pages cite scaling time cut by more than 96% and higher throughput per dollar for Infinite. Those numbers come from MongoDB's internal tests and haven't been independently verified. The preview also has a long list of unsupported items: multi-region and multi-cloud clusters, Atlas Search and Vector Search, Online Archive, the database profiler, an uptime SLA and more. Check each one before using it in production.

08 · Choosing

The cloud service isn't the only answer

A managed service saves effort, but it isn't right for every situation. Here is a rough way to think about it.

A better fit for a managed cloud service

  • The team has no dedicated DBA and wants the service to carry operations
  • A new product that needs to start fast and resize often
  • You want embedded search and vector search out of the box
  • Load swings widely and you want auto-scaling as a safety net

A better fit for self-managed

  • You already have mature data-center or cloud infrastructure and an ops team
  • You have specific requirements for data location, networking or compliance
  • You need full control over versions, parameters and topology
  • You'd rather spread the cost across an existing resource pool
WAP Note

If you choose to run MongoDB on your own EC2 instances or in your own data center, the deployment, monitoring, alerting and backup work that a managed service would handle is yours to cover. Whaleal Platform is built for exactly this self-managed scenario, and it can be launched directly in your own AWS account through AWS Marketplace.

ONE LAST THING

Managed or self-managed,
know which rung you're on

A cloud service turns operations into settings, but the responsibility for capacity, backup and security doesn't disappear — it just changes shape. See the whole ladder, and you can pick the right rung.