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
- Enter Personal Details
- Agree to terms
- Click button "Get Started Free"
Step 2) Click "Build my first cluster"
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."
Step 4) Cluster creation takes some time:
Step 5) After some time you will see
Step 6) Click Security > Add new user
Step 7) In next screen,
- Enter user credentials
- Assign privileges
- Click Add User button
Step 8) In the dashboard, click connect button
- Whitelist your IP connection
- Choose the connection method
Step 9) Select the connection method of your choice to connect to MongoDB server