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
- Log in to your MongoDB account.
- 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.
- After stepping into your organization you will see an option of projects. Click on projects and inside that click on the new project.
4. Name your project and click on
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.
Create a cluster
- Click on
Build a Cluster.
- Now choose the type of cluster among the Shared Clusters, Dedicated Clusters, Dedicated Multi-Region Clusters according to your need.
- Click on create a cluster.
- Now, configure some basic settings like Cloud Provider and Region, name of the cluster, etc., and click on
Whoa! your, MongoDB database has been created successfully. Now you can create databases on your remote database easily.