Click the button below to install MongoDB on Render.
- Create a new Private Service on Render
https://github.com/render-examples/mongodbin the repository search box. You can also fork the repository on GitHub or click
Use this template.
- Pick Docker for the Environment.
masterbranch uses the latest stable version of MongoDB. You can pick a different branch if you’d like to use a specific MongoDB version.
Under Advanced, add a disk with the following values:
10 GBFeel free to change this to suit your needs.
You’re all set! Save your private service, and your MongoDB instance should be up in a few
minutes. You should be able to connect to it using the
host:port displayed in the dashboard. It should look like
You can use the shell in your dashboard to connect to your database.
$ mongo --host mongo-xyz