Can Mongodb Be Used Remotely? That Is, Without Installing on Machine


Yes, MongoDB can certainly be accessed remotely. No need to install MongoDB on your server. Here, we are going to look at how to do it.

You can use a service called mLab that provides remote implementation of MongoDB. So, you need not install it on your server/machine. It has expensive plans but it also has a free sandbox plan that you can experiment with before deciding to use the service permanently.

Here is a Wikipedia explanation of what mLab is:

mLab is a fully managed cloud database service that hosts MongoDB databases. mLab runs on cloud providers Amazon, Google, and Microsoft Azure, and has partnered with platform-as-a-service providers.

mLab is basically Database-as-a-service (DBaaS). mLab takes care of everything related to your database operation, such as regular back-up of data, scaling up and down, replication, and maintaining clusters. It guarantees high data and server availability. It also takes responsibility of disaster recovery and your data.

If you plan to do all of it on your own, it takes a lot of effort, resource, time, skill, expertise, and tension. With mLab, you are basically outsourcing it. mLab could look expensive to beginners. That is why you can begin by using their free service and later on decide if you’d want to continue with the service.

You can use mLab with Infrastructure-as-a-service (IaaS) products like Aamzon Web Services (AWS), Microsoft Azure, Google Cloud Platform and also with Platform-as-a-service products like Heroku.



Entrepreneur, techie, writer, decision engineer, investor, the monk and the scientist. Available on