You do not need install the MongoDB server and configure it. You can deploy MongoDB Atlas server on the cloud on platforms like AWS, Google Cloud, Azure and connect to the instance using a client. Below are the detailed steps

Step 1) Go to the link

  1. Enter Personal Details
  2. Agree to terms
  3. Click button "Get Started Free"

MongoDB Atlas cloud

Step 2) Click "Build my first cluster"

MongoDB Atlas cloud

Step 3) You can select between AWS, Google Cloud, Azure as your cloud provider. In this tutorial, we will use AWS which set be default. Make no other changes on the page and click "Create Cluster."

MongoDB Atlas cloud

Step 4) Cluster creation takes some time:

MongoDB Atlas cloud

Step 5) After some time you will see

MongoDB Atlas cloud

Step 6) Click Security > Add new user

MongoDB Atlas cloud

Step 7) In next screen,

  1. Enter user credentials
  2. Assign privileges
  3. Click Add User button

MongoDB Atlas cloud

Step 8) In the dashboard, click connect button

  1. Whitelist your IP connection
  2. Choose the connection method

MongoDB Atlas cloud

Step 9) Select the connection method of your choice to connect to MongoDB server

MongoDB Atlas cloud

 

YOU MIGHT LIKE: