Custom firewalls for your MongoDB deployment(s)

Update 6/16/2016: Updated references to old UI

MongoLab runs all of its hosted MongoDB deployments with authorization enabled, which means that username / password authentication is required before your database can be accessed.

For lower-level network security we also allow you to configure custom firewall settings. This feature is available to all MongoLab users on Dedicated plans.

Configuring custom firewalls

If you have yet to configure a custom firewall, you'll notice a new Networking tab from your deployment view. By default, your firewall configuration will include, which allows all traffic to your database.



To lock down your deployment, we allow three options for configuring new firewall rules. You may:

  • Whitelist IP addresses
  • Whitelist Amazon EC2 Security Groups
  • Copy existing rules from one deployment to another

Whitelisting IP addresses

MongoLab can configure your firewall to limit access to only the IP address(es) (or address ranges) you specify. We use CIDR rules to define the allowable address(es) and secure access to your MongoLab-hosted Dedicated plan databases.

Whitelisting Amazon EC2 security groups (AWS only)

If your Dedicated plan database is hosted on AWS and your application is running from the same AWS region and on EC2-Classic, we recommend allowing access to Security Group(s) instead of IP addresses. This way you won't need to change your database deployment's firewall rules as you spin up/down your app servers.

To control access to your MongoLab-hosted database using your EC2 security group, you'll need to provide your AWS account ID (a 12-digit number) and the name or ID of your Security Group(s).

Copy existing rules

If you have already configured custom allow rules for one MongoDB deployment in your MongoLab account, you can copy these rules to any other Dedicated plan deployment in your account. Simply select which deployment you want to copy from, and we'll take care of the rest!

Security is our priority

MongoLab takes the security of MongoLab accounts and deployments seriously. We are continuously working to improve the features and tools that increase the safety of your data. To find up-to-date information on what security features are available to MongoLab users, visit our documentation portal. As always, if you have any questions or feedback you can reach us at

21 Responses to Custom firewalls for your MongoDB deployment(s)

  1. sebest 2014/09/25 at 11:45 am #

    Great! What about support for SSL?

  2. Chris Chang 2014/10/03 at 11:15 am #

    We expect SSL development to be complete by the end of Fall. Feel free to write in for updates!

  3. is motor club america scam 2017/04/01 at 2:02 pm #

    480079 811453Nice blog here! after reading, i decide to buy a sleeping bag ASAP 51831

  4. Best Best Online News in the World 2017/04/06 at 2:42 pm #

    290840 534391I like the way you conduct your posts. Hmm 946244

  5. Best Best Online News 2017/04/06 at 6:03 pm #

    22157 818923Hi there, I discovered your blog via Google whilst searching for initial aid for a heart attack and your post looks extremely interesting for me. 789800

  6. Best Best Online News in the World 2017/04/07 at 10:05 pm #

    203869 532670Hey there! Amazing stuff, please do tell us when you post once again something related! 292189

  7. Best Best Online News in the World 2017/04/07 at 10:59 pm #

    541177 80417Couldn?t be designed any greater. Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this report to him. Pretty certain he will possess a very good read. Thanks for sharing! 319969

  8. VideoJelly 2017/04/11 at 11:16 pm #

    507989 715436Beging with the entire wales effectively before just about any planking. Our own wales can easily compilation of calculated forums those thickness analysts could be the related to some with the shell planking along with far more significant damage so that they project soon after dark planking. planking 145867

  9. Indian Escorts in Dubai 2017/04/19 at 4:01 am #

    606243 687839Certainly value bookmarking for revisiting. I surprise how much effort you set to make one of these magnificent informative web site. 73483

  10. Switch Energy Supplier 2017/04/21 at 10:15 am #

    914169 695916baby strollers with high traction rollers ought to be a lot safer to use compared to those with plastic wheels- 418047

  11. Switch Energy Supplier 2017/04/22 at 4:05 am #

    990514 676709I do not have a bank account how can I location the order? 983040

  12. CEO Mark Hurd 2017/04/26 at 10:59 pm #

    242037 633725Great post, I conceive website owners should larn a lot from this website its very user friendly . 119014

  13. Buy steroids online - 2017/05/10 at 10:21 pm #

    976006 610255Having read this I thought it was quite informative. I appreciate you taking the time and effort to put this post together. I once once again uncover myself spending strategy to considerably time both reading and commenting. But so what, it was nonetheless worth it! 741012

  14. Buy Steroids - 2017/05/11 at 6:14 pm #

    568005 887622Im so happy to read this. This is the type of manual that needs to be given and not the accidental misinformation thats at the other blogs. Appreciate your sharing this greatest doc. 625777

  15. 5ivemile photography 2017/05/12 at 9:09 pm #

    110227 56543its fantastic as your other articles : D, regards for posting . 648209

  16. what is motor club america about 2017/05/13 at 7:44 pm #

    637327 975017A quite exciting go by way of, I could not agree completely, but you do make some genuinely legitimate factors. 404916

  17. El-scooter 2017/05/24 at 7:20 am #

    658428 349402I notice there is definitely lots of spam on this blog. Do you require assist cleaning them up? I may assist between courses! 502398

  18. click here 2017/06/03 at 11:43 am #

    200156 525396Some really interesting info , well written and loosely user genial . 969669

  19. bad credit home loans 2017/06/07 at 11:36 am #

    859933 236992I like this weblog so much, saved to fav. 685692

  20. KelEncono 2017/06/24 at 9:09 pm #

    Tadalafil Online Cheap Buy Cheap Cialis On Line Best Place To Buy Generic Viagra Uk


  1. Custom firewalls for your MongoDB deployment(s) | Blog - 2015/07/23

    […] Tweet Share […]

Leave a Reply