No results found
We couldn't find anything using that term, please try searching for something else.
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
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:
And then, create the actual MongoDB Cluster:
Select your preferred cloud provider, supply a name for your cluster, and click Create Cluster:
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:
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 ” :
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.
If you have used MongoDB Atlas , you is inspect can easily inspect the status of your cluster from the Clusters home page :
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.