Chapter 10. Deployment and administration
In this chapter
- Deployment considerations and hardware requirements
- Administration, backups, and security
- Performance troubleshooting
This book would be incomplete without a few notes on deployment and administration. After all, it’s one thing to use MongoDB but another to keep it running smoothly in production. The goal of this final chapter, then, is to prepare you to make good decisions when deploying and administering MongoDB. You can think of this chapter as providing the wisdom required to keep to you from experiencing the unpleasantness of a production database meltdown.
I’ll begin by addressing general deployment issues, including hardware requirements, security, and data imports and exports. Then I’ll outline methods for monitoring MongoDB. We’ll discuss maintenance responsibilities, the most important of which is backups. And we’ll end the chapter with a general plan for addressing performance issues.
To deploy MongoDB for success, you need to choose the right hardware and the appropriate server topology. If you have preexisting data, then you need to know how to effectively import (and export) it. And finally, you need to make sure that your deployment is secure. We’ll address all of these issues in the sections to come.