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
- Open your Deploy Monk Console and click on
- Enter the
Project name, select
Server sizeand click on
Savebutton to create the project.
- 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
Add Service button and fill in the information as follows:
Service type, select
Database type, select
Service name, enter a name for your service
Portenter port value (optional, default
Database userenter database user (eg:
Database passwordenter a database password (tip: use passwordsgenerator.net 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.
3. Deploy the project
Deploy button to deploy the project and go live.
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 configurations →
Great 🎉, you have just completed creating a new Deploy Monk project and deploying it LIVE 🙌.