What is Mongo DB Atlas?

Mongo DB Atlas is a fully-managed database-as-a-service available on AWS, Azure, and GCP

Before Atlas, I used mLab. mLab was then acquired by MongoDB last year. Pretty much similar to mLab, MongoDB Atlas is the easiest way to have a cloud MongoDB instance.

Why?

Cloud setup

There might be some slight screenshot differences to the actual Atlas UI by the time you do this, but the described steps should get you to the same results.

1. First sign up here:

https://www.mongodb.com/cloud/atlas/register

https://res.cloudinary.com/dvfhgkkpe/image/upload/v1575603471/devto/quick_node_express_mongodb/2019-09-14-15-19-41.png

2. Create a free tier Starter Cluster

https://res.cloudinary.com/dvfhgkkpe/image/upload/v1575603471/devto/quick_node_express_mongodb/2019-12-01-19-33-18.png

The free Starter Cluster M0 comes with 512 MB Storage, shared RAM and vCPU.

This should be more than enough for our starter Node project.

https://res.cloudinary.com/dvfhgkkpe/image/upload/v1575603471/devto/quick_node_express_mongodb/2019-09-14-16-15-51.png