Creating and Deploying an Atlas Cluster in MongoDB (original) (raw)

Last Updated : 5 May, 2026

MongoDB Atlas is a fully managed cloud database service that lets you deploy, manage, and scale MongoDB clusters on major cloud platforms without handling infrastructure.

There are two types of Clusters

**1. Replica Sets: A set of duplicate MongoDB nodes maintaining copies of the same data to ensure high availability and redundancy.

**2. Sharded Clusters: Data is distributed across several MongoDB servers to improve performance and handle larger datasets.

Setup of Atlas Cluster in MongoDB

Create an Atlas cluster, whitelist network access, add database users, and connect applications using the connection URI for scalable, highly available cloud hosting.

1. Creating Atlas Cluster

Guidlines to Setup Atlas

2. Whitelisting of IP Address

From the Atlas home page, open Database in the left panel and locate your cluster (e.g., Cluster0).

Atlas Cluster Dashboard

Add IP Address

Ip Address 2

3. Setup a MongoDB user for your Cluster

Create User Cluster

Create User Successfully

4. Connecting Atlas Cluster to MongoDB Compass

Connect to Compass 1

Connect to Compass 2

Connect to Compass 3

final

You have successfully connected your Database with MongoDB Atlas Cluster and If you want to know more about MongoDB you can visit their official site and read the documentation.