Get started with Digital Ocean | Documentation
Get started with Digital Ocean

Digital ocean is a cloud based server that makes the creation of mongoDB instances quite simple and today in our ongoing tutorial we will cover how to use HumongouS with Digital Ocean.

A MongoDB instance is simply a server on a machine which can host multiple MongoDB databases.

To get started using HumongouS with our Digital Ocean account, we are going to need to login to our account or create one here.

Once logged in, you will be redirected to your homepage where you will notice a create droplet button sitting somewhere in the middle of the page. Clicking on that button will redirect you to a new page where you can now proceed to specify the details of the instance you’d like to create.

  • Hostname : This just specifies the type of name you’d like to give to your droplet. For this tutorial, HumongouSio shall be our droplet name but you can still choose whatever name you want.
  • Size : This is where we choose the specifications of our server. We are selecting the least spec’d server for this tutorial but do make the selection based on your budget and the type of work you will be doing.
  • Region : The closer your application servers are to your database, the shorter the response time will be so select a server location which is geographically closer to your application servers. You can select New York if you plan to use Digital Ocean with since most of our servers are located there.
  • Image : Click on the application tab and select MongoDB from the options that appear.

Select Droplet

  • Droplet Settings: You can leave all options under here unchecked.
  • SSH Keys : For this tutorial, we shall not create any SSH keys but it is highly recommended that you create one if you are planning on running a production server. More on SSH Keys

Click the Create Droplet button when done and your droplet will be created in about a minute or so, mine took about 40s.

Access to your newly created server at this point is currently set to deny at this point because no SSH key was created but not to worry, just check your mail (the email used in logging in to D.O) and you should have received username and password credentials alongside server information from Digital Ocean.

On the droplet dashboard, click on console access and login with the access credentials received from Digital Ocean once the console opens.

Console access Digital Ocean

For security reasons, you are required to change your password when you log in for the first time so choose a password that is very strong but still easy for you to remember. When logged in, open the MongoDB configuration file by typing:

nano /etc/mongod.conf

Scroll down the console until you locate the line with bindIp and add your server IP at the end of that line.

Bind IP mongoDB Digital Ocean

The server IP address can be found at the bottom of the page, right below the console. So finally, the bindIp should be in the format:

bindIp =, your_server_ip

Bind IP mongoDB Digital Ocean

When done, press ctrl X (cmd X on Mac) followed by Y to save and then press Enter. Restart the MongoDB server from the console by typing:

service mongod restart

Connecting to HumongouS

Congratulations, you should be all set to go from here. Copy the connection string:


in our case it will be mongodb:// Paste it in the project creation form on Go ahead and enjoy the best of MongoDB through the best MongoDB GUI ever. If you encounter issues with any of the above steps, please email us on, we will be more than happy to help.