
{"id":7110,"date":"2021-11-02T22:31:23","date_gmt":"2021-11-02T22:31:23","guid":{"rendered":"https:\/\/rax-stg-wp-aws.com\/blogs\/creating-and-connecting-to-a-database-in-mongodb-atlas\/"},"modified":"2026-11-03T19:27:52","modified_gmt":"2026-11-03T19:27:52","slug":"creating-and-connecting-to-a-database-in-mongodb-atlas","status":"publish","type":"blogs","link":"https:\/\/www.rackspace.com\/en-gb\/blogs\/creating-and-connecting-to-a-database-in-mongodb-atlas\/","title":{"rendered":"Creating and connecting to a database in MongoDB Atlas"},"content":{"rendered":"<p dir=\"auto\">MongoDB is one of the NoSQL databases in the market which are used for general purposes, and it is an open-source document database and built on C++.<\/p>\n<p dir=\"auto\">This blog demonstrates the below items<\/p>\n<ol dir=\"auto\">\n<li>\n<p dir=\"auto\">Creating a Cluster in the cloud<\/p>\n<\/li>\n<li>\n<p dir=\"auto\">Installing Mongodb Compass to connect<\/p>\n<\/li>\n<li>\n<p dir=\"auto\">Connecting to MongoDB cluster using Compass<\/p>\n<\/li>\n<li>\n<p dir=\"auto\">Creating a Database<\/p>\n<\/li>\n<\/ol>\n<h3 dir=\"auto\">Terminology used in MongoDB:<\/h3>\n<p dir=\"auto\">Database: It is a Physical Container for collections.<\/p>\n<p dir=\"auto\">Collection: It is a group of MongoDB documents. It is equal to a table in SQL databases such as Oracle.<\/p>\n<p dir=\"auto\">To compare Oracle SQL and nosql MongoDB objects we can compare as below.<\/p>\n<p>&nbsp;MongoDB is one of the NoSQL databases in the market which are used for general purposes, and it is an open-source document database and built on C++.<\/p>\n<p>This blog demonstrates the below items<br \/>\n1.&nbsp;&nbsp; &nbsp;Creating a Cluster in the cloud<\/p>\n<p>2.&nbsp;&nbsp; &nbsp;Installing MongoDB Compass to connect<\/p>\n<p>3.&nbsp;&nbsp; &nbsp;Connecting to MongoDB cluster using Compass&nbsp;<\/p>\n<p>4.&nbsp;&nbsp; &nbsp;Creating a Database<br \/>\n&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture1_21.png\" alt=\"mongodb pic 1\" \/><\/p>\n<p><strong>Cloud Options<\/strong><\/p>\n<p>MongoDB Atlas is a global cloud database service built on AWS, Azure, and Google cloud. We can deploy ,operate and scale a MongoDB database in just a few clicks. Here we will discuss on creating MongoDB &nbsp;in Cloud.<br \/>\n&nbsp;<\/p>\n<p><strong>Login to&nbsp;<br \/>\n<a href=\"https:\/\/cloud.mongodb.com\/ \">https:\/\/cloud.mongodb.com\/ <\/a>&nbsp;<\/strong>using google account.<br \/>\nWe can create a database using the below steps after logging to<strong> <\/strong>&nbsp;<a href=\"https:\/\/cloud.mongodb.com\u00a0\">https:\/\/cloud.mongodb.com&nbsp;<\/a><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture2_19.png\" alt=\"Mongo db pic 2 \" \/><\/p>\n<p>Click on Build a Database.Choose the free option \u201cShared\u201d for now&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture3_18.png\" alt=\"mongo db pic 3\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture4_15.png\" alt=\"mongo db pic 4\" \/><\/p>\n<p>Select any Cloud service provider, here I chose Azure.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture5_16.png\" alt=\"mongodb pic 5\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture6_10.png\" alt=\"mongodb pic 6\" \/><\/p>\n<p>&nbsp;Click on &#8220;Create Cluster&#8221;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture6-1.png\" alt=\"mongodb piv image 6-1\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture7_9.png\" alt=\"mongodb pic 7\" \/><\/p>\n<p>&nbsp;Once the cluster is created ,in network access, &nbsp;add the IP entry to get access from your local desktop.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture8_8.png\" alt=\"mongodb pic 8\" \/><\/p>\n<p>We also create database user for cluster to access cluster.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture9_8.png\" alt=\"mongodb pic 9 \" \/><\/p>\n<p>&nbsp;We then use MongoDB Compass to connect to the cluster.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture10_7.png\" alt=\"Mongodb pic 10\" \/><\/p>\n<p><strong>Installing MongoDB Compass:&nbsp;<\/strong><\/p>\n<p>Download software using<a href=\"\/\/www.mongodb.com\/try\/download\/community\"> URL ,for windows File<\/a><strong>&nbsp;<\/strong><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture11_8.png\" alt=\"mongodb Pic 11\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture12_7.png\" alt=\"Mongodb Pic 12\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture13_6.png\" alt=\"mongodb pic 13\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture14_5.png\" alt=\"mongodb pic 14\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture15_2.png\" alt=\"mongodb pic 15\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture16_1.png\" alt=\"mongodb pic 16\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture17_2.png\" alt=\"mongodb pic 17\" \/><\/p>\n<p><strong>Once Installed open Mongodb Compass<\/strong><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture18_1.png\" alt=\"mongodb pic 18\" \/><\/p>\n<p>&nbsp;I have created a \u201cTraining\u201d Database in below screenshot with single click as create database.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture20_1.png\" alt=\"mongodb Pic 20\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26260-body-Picture21_1.png\" alt=\"mongo db pic 21\" \/><\/p>\n<p><strong>&nbsp;Conclusion<\/strong><\/p>\n<p>This process describes how we can create a cluster in ATLAS and MongoDB database in the cluster.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating and connecting to a database in MongoDB Atlas<\/p>\n","protected":false},"author":2,"featured_media":7112,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"content-type":"","nid":"26260","content_type":"blog","created_by":"10130","authored_on":"2023-11-16T23:31:23+00:00","field_article_industries":"","tag_category":"Technical","field_blog_author_text":"by Rackspace Technology Staff","seo_description":"A step-by-step guide to creating a cluster in MongoDB Atlas, connecting to it using Compass, and efficiently managing your NoSQL databases.","field_featured_image":"","insights_image":"\/wp-content\/uploads\/2026\/blog_technical_images\/26260-insights_image-database-technical-blog-1-insights.jpg","field_partners":"","rxt_platforms":"MongoDB","product":"","publisheddate":"2021-11-02T22:31:23","rxt_solutions":"Data Management","opengraph_tag":"","x_tag":"","teaser_flag":"Technical Blog","seo_titile":"MongoDB Installation and Connection | Rackspace Technology","field_topics":"","field_slug":"creating-and-connecting-to-a-database-in-mongodb-atlas","footnotes":""},"categories":[178],"tags":[204],"class_list":["post-7110","blogs","type-blogs","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-technical"],"_links":{"self":[{"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/blogs\/7110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/blogs"}],"about":[{"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/types\/blogs"}],"author":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/comments?post=7110"}],"version-history":[{"count":2,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/blogs\/7110\/revisions"}],"predecessor-version":[{"id":9003,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/blogs\/7110\/revisions\/9003"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/media\/7112"}],"wp:attachment":[{"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/media?parent=7110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/categories?post=7110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rackspace.com\/en-gb\/wp-json\/wp\/v2\/tags?post=7110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}