How to create a MongoDB database in MongoDB Cloud

In this tutorial, we will learn how to create a MongoDB database in the MongoDB cloud aka MongoDB Atlas.

2 min read

MongoDB Atlas is the multi-cloud database service for MongoDB available on AWS, Google Cloud, and Azure. Best-in-class automation and built-in proven practices provide continuous availability, elastic scalability, and support with regulatory compliance.

In this tutorial, we will learn how to create a MongoDB database in the MongoDB cloud aka MongoDB Atlas.



In MongoDB, we call our hosted databases as MongoDB clusters which are inside the MongoDB Atlas. To create a database in the MongoDB cloud, we first need to create a cluster inside the MongoDB Atlas.

Create a project

  1. Log in to your MongoDB account.
  2. After login successfully, choose the organization inside which we will create our cluster. if you don't have any organization inside your account then create one.
  3. After stepping into your organization you will see an option of projects. Click on projects and inside that click on the new project.
new project in mongodb
Click on New Project

4.  Name your project and click on next.

click next
Click on the next option

Finally, click on the create option and your project will be created.



Now you will see a screen with many options like Atlas, Realm, Chart, etc.

project overview
Project overview


Create a cluster

  1. Click on Build a Cluster .
  2. Now choose the type of cluster among the Shared Clusters, Dedicated Clusters, Dedicated Multi-Region Clusters according to your need.
  3. Click on create a cluster.
  4. Now, configure some basic settings like Cloud Provider and Region, name of the cluster, etc., and click on Create Cluster.
Create cluster
Click on Create Cluster

Whoa! your, MongoDB database has been created successfully. Now you can create databases on your remote database easily.



How to make a URL shortener

In this tutorial, we are gonna make a perfect URL shortener for your project using Nodejs, Express, and MongoDB.

3 min read

Make a URL shortener using Nodejs, Express, and MongoDB

In this tutorial, we are gonna make a perfect URL shortener for your project using Nodejs, Express, and MongoDB.

3 min read