Become a MongoDB DBA: Bringing MongoDB to Production

Learn from our MongoDB experts what it takes to ensure your MongoDB stacks are production-ready. This whitepaper includes tips and tricks that we have collected from our best resources to help you deploy, monitor, manage and scale MongoDB in your environment.

Get the whitepaper

Introducton

Learn from our MongoDB experts what it takes to ensure your MongoDB stacks are production-ready. This whitepaper includes tips and tricks that we have collected from our best resources to help you deploy, monitor, manage and scale MongoDB in your environment.

Table of contents

  • 1. Introduction
  • 2. Choosing the right MongoDB version
    • 2.1. Topologies
    • 2.2. Storage engines
  • 3. Securing MongoDB
    • 3.1. Enable authentication
    • 3.2. Authorize users by roles
    • 3.3. Add a replication keyfile
    • 3.4. Does your application require public access?
    • 3.5. Enable firewall rules or security groups
    • 3.6. Enabling SSL
  • 4. Monitoring and Trending
    • 4.1. Host metrics
    • 4.2. dbStats metrics
    • 4.3. serverStatus metrics
    • 4.4. Oplog metrics
    • 4.5. MongoDB locks
    • 4.6. WiredTiger metrics
      • 4.6.1. Locks and concurrency
      • 4.6.2. Transactions
  • 5. Backup and Recovery
    • 5.1. Logical backups
    • 5.2. Physical backups
    • 5.3. Sharded MongoDB backups
    • 5.4. Backup strategies
      • 5.4.1. Offsite backups
      • 5.4.2. Backup encryption
      • 5.4.3. Recovery
  • 6. Scaling MongoDB
    • 6.1. Read scaling
    • 6.2. Reading from a secondary
      • 6.2.1. Setting read preference
      • 6.2.2. Reading from a secondary in a shard
    • 6.3. MongoDB write scaling (sharding)
      • 6.3.1. Sharding tier
      • 6.3.2. Shard tier
      • 6.3.3. Managing shards
  • 7. Conclusion
ClusterControl
The only management system you’ll ever need to take control of your open source database infrastructure.