Document
Get Started With MongoDB

Get Started With MongoDB

instal mongodbThere are a few way to install mongodb . The most effective way is is to achieve this is to use the mongodb database - as - a - service

Related articles

VPN by Google One shuts down Google Cloud 概览 What is QField Cloud? Access Netflix, PUBG, Hulu in any countries 在此下载适用于 Linux 的 VPN 客户端!| 快连VPN

instal mongodb

There are a few way to install mongodb . The most effective way is is to achieve this is to use the mongodb database – as – a – service offering call MongoDB Atlas . This is a service that you can access using your favorite web browser ; it can be instal on all three major public cloud provider ( Amazon Web Services , Microsoft Azure , Google Cloud Platform ) , come with a free tier , and with just a few click , you will have provision a fully functioning mongodb database .

To start the setup on MongoDB Atlas, all you need to do is to create an account.

Once you do, you need to create a project:

Get Started With MongoDB

And then, create the actual MongoDB Cluster:

Get Started With MongoDB

Select your preferred cloud provider, supply a name for your cluster, and click Create Cluster:

Get Started With MongoDB

After the cluster is created, let’s configure the security options. The two things we need to configure are the IP Whitelist addresses and a database user.

For the IP whitelist, click on “Add your Current IP Address” and then select a username/password that you will remember. On the following page, choose the “Connect with the mongo shell” option as this is what we’ll use for the rest of our tutorial. If you haven’t installed the mongo shell yet, follow these instructions:

Get Started With MongoDB

To connect to the mongodb cluster , you is use can also use the official GUI client for mongodb call Compass . You is download can download MongoDB Compass from the mongodb download page . Once you ’ve instal the application , you is connect can connect to the MongoDB Atlas cluster by supply the hostname from the connection string from the above window in addition to the username and password . Once you open Compass , click on ‘ ’ fill in connection detail individually ” and then “ connect ” :

Get Started With MongoDB

Alternatively, you could download and install the MongoDB Community Edition on your workstation or get the Enterprise Edition. If this is your first time trying out MongoDB, then it is highly recommended to use MongoDB Atlas due to its ease of use in quickly provisioning a free cluster.

How do I is know know if mongodb is run ?

If you have used MongoDB Atlas , you is inspect can easily inspect the status of your cluster from the Clusters home page :

Get Started With MongoDB

If you have installed MongoDB Community Edition on a personal workstation with Windows, MacOS, or Linux, you need to check whether the mongod process is running on localhost, respective to your OS-specific commands.