Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
Duration 48 hours
Course Outline
Introduction and MongoDB Architecture
Content:
- Historical context and the MongoDB ecosystem
- Typical use cases, along with advantages and limitations
- General architecture: covering instances, processes, and configuration
Practice:
- Interactive exploration via Mongo Shell/CLI connection
- Creating sample databases and collections
Installation and Initial Configuration
Content:
- Hardware and resource requirements
- Installation procedures on Linux (deb/rpm), Windows, and macOS
- YAML configuration files (mongod.conf): including dataDir, logDir, bindIp, and port
- Startup options and management via systemd/services
Practice:
- Deploying instances on local VMs or Docker containers
- Tuning configurations for development versus production environments
- Verifying secure remote connectivity
Data Modeling and Basic Operations
Content:
- BSON documents, collections, and databases
- Modeling strategies: embedding versus referencing, and data design patterns
- Basic indexes (introduced previously)
- Operations using Mongo Shell and scripting examples with drivers
Practice:
- Modeling a specific use case, such as an inventory or billing system
- Implementing CRUD operations
- Schema validation using JSON Schema in MongoDB
Indexes and Performance
Content:
- Types of indexes: simple, compound, multikey, text, and geospatial
- Utilizing explain() and analyzing performance metrics
- The impact of indexes on write performance and memory usage
Practice:
- Creating collections populated with test data
- Testing queries with and without indexes; interpreting explain() outputs
- Optimizing indexes based on access patterns
Security
Content:
- Authentication mechanisms: SCRAM, LDAP/Kerberos (introduction)
- Defining users and custom roles
- TLS/SSL encryption between clients and servers
- At-rest encryption: key configuration
- Basic audit logging
Practice:
- Creating users with least-privilege access
- Configuring TLS on local instances
- Testing unauthorized access attempts and reviewing audit logs
Replication and High Availability
Content:
- Replication concepts: Primary, Secondary, and oplog
- Replica set configuration: initiation, membership, and arbitration
- Monitoring status and election processes
- Maintenance tasks: adding/removing members and reassigning priorities
Practice:
- Deploying a three-node replica set (locally or via VMs)
- Simulating primary node failure and observing failover
- Rebuilding secondary nodes and recovering replicas
Sharding and Horizontal Scalability
Content:
- Sharding concepts: shard key, config servers, and mongos router
- Selecting shard keys and associated risks
- Deploying config servers, shards, and mongos instances
- Rebalancing and chunk migration
Practice:
- Configuring a basic sharded cluster
- Inserting large-scale data to observe distribution
- Modifying shard keys to understand limitations
Backup, Restore, and Disaster Recovery
Content:
- Native tools: mongodump/mongorestore and filesystem snapshots
- Backup strategies for replica sets and sharded clusters
- Basic usage of Cloud Manager/Ops Manager for backups
- Disaster Recovery (DR) planning: defining RTO and RPO
Practice:
- Executing backup and restore operations on a test database
- Simulating failure scenarios and recovering from backups
- Designing a DR plan for a hypothetical case
Monitoring and Alerts
Content:
- Tools: mongostat, mongotop, and Cloud Manager/Atlas Monitoring
- Integration with Prometheus + Grafana (concepts and examples)
- Key metrics: CPU, memory, I/O, oplog size, and latencies
- Alerts: defining thresholds and notifications
Practice:
- Deploying local or container-based monitoring agents
- Setting up basic dashboards with sample metrics
- Simulating load to observe alert triggers
Maintenance, Upgrades, and Best Practices
Content:
- Upgrade strategies for replica sets and sharded clusters
- Data cleanup, compaction, and integrity checks
- Log review and regular audits
- Automating routine tasks using scripts, cronjobs, Ansible, or Terraform
- Data retention and archiving policies
Practice:
- Simulating minor and major upgrades in a controlled environment
- Developing automation scripts for backup and monitoring
- Creating a periodic maintenance checklist
Requirements
- A solid understanding of general database concepts and data structures
- Proficiency with Linux command-line usage
- Foundational knowledge of networking and system administration
Target Audience
- Database administrators and system engineers managing MongoDB
- DevOps and infrastructure teams responsible for deploying and maintaining MongoDB environments
- Developers seeking to understand MongoDB internals and deployment best practices
Testimonials (2)
The pace of talking and explanation.
Marko Skokovic - PWO by Lottomatica Serbia
Course - MongoDB for Administrators
Sir Jose is cool and explains every detail of the commands. We appreciate the time he takes to share his knowledge with us, and it truly shows that he is an expert in this field.