Dragonfly Cloud announces new enterprise security features - learn more

Dragonfly

Question: What is the difference between a MongoDB project and a cluster?

Answer

In MongoDB Atlas, both projects and clusters are fundamental concepts, but they serve different purposes within the platform's architecture.

MongoDB Project

A project in MongoDB Atlas acts as an organizational unit that groups together your MongoDB clusters. Projects help you organize your databases based on team, application, or environment. Within a single project, you can have multiple clusters. Projects also come with their own set of permissions and settings. This means you can control access at the project level, determining who can see or manipulate the clusters and data within.

Features of projects include:

MongoDB Cluster

A cluster, on the other hand, refers to the actual MongoDB database instance or group of instances. Clusters hold your collections, documents, and data. In MongoDB Atlas, you can choose between different types of clusters like replica sets (for high availability) or sharded clusters (for horizontal scaling).

Key aspects of clusters include:

Key Differences

In summary, when working with MongoDB Atlas, it's important to understand that a project serves as an organizational container for your clusters, providing a level of abstraction for managing access and configurations. Clusters are the actual database environments where your data lives and is operated upon.

Was this content helpful?

Other Common MongoDB Performance Questions (and Answers)

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

Switch & save up to 80% 

Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement. Instantly experience up to a 25X boost in performance and 80% reduction in cost