Skip to content
Cloud + Self-Hosted Databases

MongoDB Atlas

Managed document NoSQL database with a 512 MB shared M0 free cluster and SSPL self-hosting.

Cloud Free Tier Audit

Verified 2026-11-27
Forever Free
Yes
Credit Card
Not Required
Commercial Use
Allowed
Auto-Sleep
Yes (Pauses)

Sleep / Retention Rule: Free M0 sandbox clusters automatically pause after prolonged inactivity.

MongoDB Atlas Free Tier Limits
Quota Metric Allowance Notes
Free M0 Storage 512 MB Shared RAM & vCPU (1 M0 cluster per project)
Throughput Cap 100 ops/sec Flex paid tier starts at $8/mo for 5 GB
Paid tier starts at: $8/mo

Self-Hosted Blueprint

mongodb/mongo ↗
Min RAM / CPU
1 GB · 1 vCPU
License
SSPL-1.0
GitHub Stars
29k
Maintenance
Medium
One-click templates on: coolify dokploy railway

Quickstart / Docker Compose

docker-compose.yml
services:
  mongo:
    image: mongo:8.0
    restart: unless-stopped
    environment:
      MONGO_INITDB_ROOT_USERNAME: admin
      MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD}
    volumes:
      - mongo_data:/data/db
volumes:
  mongo_data:

Gotchas & Hidden Limits

  • M0 free clusters omit automated point-in-time cloud backups and throttle bursty queries to ~100 ops/sec.
  • Self-hosted MongoDB Community Server uses SSPL-1.0 (not OSI-approved open source) — fine internally, restricted if offering MongoDB-as-a-service.
Best For: JSON document schemas, Express/Mongoose backends, and prototypes needing zero-CC NoSQL cloud.
Crossover Point: Move to self-hosted Docker Mongo (or Postgres JSONB) once >512 MB data pushes you toward Atlas Flex/Dedicated tiers.

Related Comparisons & Alternatives

Spot an outdated limit or pricing change?

Report Outdated Limit or Pricing Change

Flag changed quotas, pricing tiers, credit-card rules, or license shifts for manual verification.

Request Type
2–120 characters, e.g. Coolify or Neon.
⚠ Enter the tool name (at least 2 characters).
Include https:// (e.g. https://coolify.io/pricing).
⚠ Enter a valid URL starting with https:// or http://.
Deployment Model
Lowercase letters, numbers, and hyphens only (e.g. coolify).
Optional — only used if editors need clarification.
⚠ Enter a valid email address (e.g. name@domain.com).
Share key free allowances, credit-card gate, sleep rule, or min Docker RAM.
⚠ Enter at least 10 characters describing the correction.
Human Verification

Search StackTiers Infrastructure Index

↑↓ navigate · ↵ openFull Pagefind search →