Introducing Dragonfly Cloud! Learn More

Question: How many free clusters can you have in MongoDB?

Answer

MongoDB, a widely-used NoSQL database, offers a cloud service known as MongoDB Atlas. This service provides users with the ability to host their databases on the cloud, making access and management easier and more scalable. A pertinent question for developers and startups looking to minimize costs is regarding the availability of free clusters within MongoDB Atlas.

MongoDB Atlas offers one free M0 tier cluster per account. The M0 cluster, also referred to as the free tier, has the following specifications and limitations:

  • It provides 512 MB of storage space, suitable for small-scale applications or development and testing environments.
  • The free tier restricts certain features and functionalities compared to paid tiers, such as data transfer limits, backup options, and performance insights.
  • It allows a limited number of connections and throughput, emphasizing its use for developmental purposes rather than production.
  • Users cannot create multiple free clusters under the same account; however, upgrading to a paid plan unlocks the ability to deploy additional clusters with more resources and capabilities.

It's important to note that while the M0 cluster is an excellent way to get started with MongoDB Atlas, applications expecting growth or requiring more robust features should consider evaluating the paid plans. Pricing and features of these plans are subject to change, so always check the official MongoDB Atlas pricing page for the most current information.

For those seeking to utilize the M0 free tier, getting started is straightforward. You will need to sign up for a MongoDB Atlas account and proceed with the cluster creation process, selecting the M0 tier when prompted.

Here's a simple example of steps to create an M0 cluster:

  1. Sign up or log in to your MongoDB Atlas account.
  2. Navigate to the 'Clusters' section and click 'Build a New Cluster'.
  3. Choose the 'Shared Clusters' option to access the free M0 tier.
  4. Configure your cluster by selecting your preferred cloud provider and region.
  5. Scroll down and ensure the 'M0 Sandbox' (Free) tier is selected.
  6. Give your cluster a name and click 'Create Cluster'.

Remember, while MongoDB Atlas's free tier offers a convenient and cost-effective way to explore MongoDB's capabilities, assessing your application's requirements will help you determine when it's time to scale to a paid tier for enhanced functionality and resources.

Was this content helpful?

White Paper

Free System Design on AWS E-Book

Download this early release of O'Reilly's latest cloud infrastructure e-book: System Design on AWS.

Free System Design on AWS E-Book

Start building today 

Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement.