Skip to main content

MongoDB Atlas Setup

MongoDB Atlas is a fully-managed cloud database. Atlas manages all the deployments and complexity of deployments on the cloud service providers.

note

MongoDB Atlas is supported from On-premise build v6.54 onwards.

To setup and configure MongoDB Atlas, follow these steps:

  1.  Click on the below link and follow the steps to create an account

     https://docs.atlas.mongodb.com/tutorial/create-atlas-account/

2.  Click MongoDB Atlas.

    Image

3.  Click Start Free.

Image

4.  Enter Email Address, First Name, Last Name, Password and accept the terms of service and  privacy policy and click Get started Free.

Image

5.  Select the required cluster and click Create a Cluster.

Image

6.  Select the Cloud Provider and Region and click Create Cluster.

Image

Create MongoDB user 

7.  Navigate to Clusters and select a cluster and click Connect.

Image

8.  Enter Username and Password and click Create MongoDB User.

note

Password should not contain @.

Image

9. Once the user is created successfully, click close.

Image

Copy MongoDB Connection String

10. Navigate to Clusters and select a cluster and click Connect.

Image

11. Click Choose a connection method.

Image

12. Click Connect your Application.

Image

13. Click Copy. 

      The connection string will be copied and you can save it in a Notepad file.

Image

note

1. Before using the connection string, replace the user name and password in the string.
2. If the connection string contains &, replace it with &amp.

Whitelist the Sever IP

14. Navigate to Network Access and click Add IP Address.

Image

15. Enter IP address in Whitelist Entry field and enter Comment and click Confirm. 

note

Turn ON the toggle button if the user wants to add an IP address temporarily.
Image

16. Navigate to SureMDM Configurator > Database Configuration and paste the MongoDB Connection String copied from step no.13 and click Test Connection.

Image

note

Paste the copied connection string in DB Worker and Migration tool.

Convert Free account to a paid account

17. Navigate to Clusters tab and select a cluster and click  Image  > Edit Configuration.

Image

18. Click Cluster Tier.

Image

19. Select the required Tier type and click Review changes.

Image

20. Click Apply Changes and enter the Payment Information.

Image

Image