MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era. No database makes you more productive.

Host an instance of MongoDB database easily using Deploy Monk.

1. Create project

  1. Open your Deploy Monk Console and click on Create Project button.
  2. Enter the Project name, select Cloud account and Server size and click on Save button to create the project.
  3. To learn more about projects, goto project section of this documentation website.

Great 🎉, you have just completed creating a new Deploy Monk project.


2. Create project service

Click on Add Service button and fill in the information as follows:

  1. Service type, select Database
  2. Database type, select MongoDB
  3. Service name, enter a name for your service
  4. Advance configurations,
    1. Port enter port value (optional, default 27017)
    2. Database user enter database user (eg: user)
    3. Database password enter a database password (tip: use to generate random secure password)

To learn more about services, goto project services section of this documentation website.

Now click on Save button to create the new service.

Project Service

3. Deploy the project

Click on Deploy button to deploy the project and go live.

Project Deploy

4. Connecting

You can connect to the MongoDB service using the credentials supplied via Advance configurations. You can also use the Mongo URI to connect to your database:


In any of your services, you can set the Mongo URI in the environment variable for the service to access database.

For example, in any of your Project Service, Advance configurationsEnvironment Variables


Great 🎉, you have just completed creating a new Deploy Monk project and deploying it LIVE 🙌.