MongoDB on AWS: Operational Best Practices Has code image
Charity Majors
MongoDB and AWS are a powerful combination in terms of flexibility and scalability, but not always operationally trivial to maintain. At Parse, we 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, puppet, and other systems management tools, 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 repairing databases, 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.

The speaker works for Parse.

Level : Advanced