Daniel Watrous on Software Engineering

A Collection of Software Problems and Solutions

Software Engineering

Deploy MongoDB using Ansible

I’ve recently had some people ask how I deploy MongoDB. For a while I used their excellent online tool to deploy and monitor my clusters. Unfortunately they changed direction and I couldn’t afford their new tools, so I turned to Ansible.

In order more easily share the process, I posted a simple example that you can run locally using Vagrant to deploy MongoDB using Ansible.


As soon as you finish running the Ansible script, you can immediately connect to MongoDB and start working with Data.


If you’re looking to learn more about MongoDB, checkout the videos I published with PackT Publishing on end to end MongoDB.

2 Comments Deploy MongoDB using Ansible

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.