Blog

Setup

MongoDB

Mongo Atlas Setup

Deploy MongoDB to Mongo Atlas

Ragav Kumar V

Ragav Kumar V

Nov 4, 2022 — Updated Nov 9, 2022 Ā· 2 min read

Accept the terms & policy and click on submit button
Accept the terms & policy and click on submit button
Choose the free tier šŸŽ‰šŸŽ‰
Choose the free tier šŸŽ‰šŸŽ‰

The default cloud provider is AWS & location is closest to you. Both could be changed.

Just click on create cluster šŸ˜šŸ‘, cause default settings good to go šŸŽŠ
Just click on create cluster šŸ˜šŸ‘, cause default settings good to go šŸŽŠ
It takes about 2 mins to finish provisioning šŸ•
It takes about 2 mins to finish provisioning šŸ•

Create a user with admin as a built-in role as admin

Choose username, password & built-in role (admin)
Choose username, password & built-in role (admin)
Use Autogenerate password to create a secure one
Use Autogenerate password to create a secure one
Click on "Add User" to create the user
Click on "Add User" to create the user
"ragav" user is created in few secs
"ragav" user is created in few secs
It takes about 2 mins to change from Pending toActive state
It takes about 2 mins to change from Pending toActive state
Copy the URL to connect NodeJS with Atlas
Copy the URL to connect NodeJS with Atlas
@ragavkumarv
swipe to next āž”ļø