MongoDB on Amazon Web Services: Operational Best Practices

Charity Majors (Honeycomb)
Location: E145 Level: Intermediate
Average rating: ****.
(4.25, 4 ratings)

MongoDB and AWS are a powerful combination in terms of flexibility and scalability, but not always operationally trivial to maintain. At Parse we have developed an extensive set of best practices for minimizing the pain associated with provisioning and maintaining many MongoDB clusters in the cloud.

We will discuss tips and tools for capacity planning, fully scripted provisioning using Chef and knife-ec2, and snapshotting your data safely, as well as using replica sets for high availability across availability zones. We will also cover the good, the bad and the ugly of disk performance options on EC2, as well as several filesystem tricks for wringing more performance out of your block devices.

As your cluster grows, maintenance operations become ever more critical and sensitive to operator error. We will share some best practices for warming up secondaries, compacting collections, and effectively monitoring the health of your clusters. And we will talk about what not to do in the middle of a Mongo disaster, because it is very easy to make everything much worse for yourself. Instead we will talk about some ways to protect yourself from disaster spirals and minimize your downtime.

Photo of Charity Majors

Charity Majors


Charity is a systems engineer at Parse and is happily building out the next generation of mobile platform technology. She loves free software, free speech and single malt scotch.


Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or

Contact Us

View a complete list of OSCON contacts