Navigation

Connect to a Cluster

Atlas provides details to connect to a cluster via the mongo shell or a MongoDB driver.

Connection Limits and Instance Sizes

Atlas sets the limits for concurrent incoming connections based on instance size:

Instance Size Maximum Number of Concurrent Incoming Connections
M0 100
M10 350
M20 700
M30 2000
M40 4000
M50 6000
M60 8000
M100 16000

Prerequisites

  • TLS/SSL

    Clients must have support for TLS/SSL to connect to an Atlas cluster.

    Clients must have support for the SNI TLS extension to connect to an Atlas M0 Free Tier cluster.

  • Whitelist

    To access a cluster, you must connect from an IP address on the Atlas group’s IP whitelist. If you need to add an IP address to the whitelist, you can do so in the Connect dialog. You can also add the IP address from the Security tab.

Connect to Your Cluster

To view connection specification details for a cluster, go to the Clusters view.

1

From the Clusters view, click Clusters tab.

2

For the cluster to which you wish to connect, click Connect.

Atlas displays the details to connect to the cluster via a mongo shell or a MongoDB driver.

3

Connect to the cluster.

Use the displayed connection details to connect to the cluster via a mongo shell or via a MongoDB Driver.

The connection details use the MongoDB administration user and password set up for the group. Update the PASSWORD placeholder with the password for the user.

To connect with a different MongoDB user, replace the user name and password in the connection details.

For examples, see:

Atlas also provides the ability to introspect collections in your clusters via the Data Explorer view.