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
Learning Objectives:
- Overview of MongoDB's history and ecosystem components
- Analysis of typical use cases, advantages, and limitations
- Core architecture: instances, processes, and configuration management
Practical Application:
- Interactive session: Establishing connections via Mongo Shell/CLI
- Creating a sample database and collection
Installation and Initial Configuration
Learning Objectives:
- Assessing hardware and resource requirements
- Installing MongoDB on Linux (deb/rpm), Windows, and macOS
- Configuring YAML files (mongod.conf): dataDir, logDir, bindIp, port
- Managing startup options and systemd/services
Practical Application:
- Deploying instances on local VMs or Docker containers
- Tuning configurations for development versus production environments
- Validating secure remote connectivity
Data Modeling and Basic Operations
Learning Objectives:
- Understanding BSON documents, collections, and databases
- Data modeling strategies: embedding vs. referencing; design patterns
- Review of basic indexing concepts
- Executing operations via Mongo Shell and using drivers for scripting
Practical Application:
- Modeling a specific use case: inventory or billing system
- Implementing CRUD operations
- Applying schema validation using JSON Schema in MongoDB
Indexes and Performance
Learning Objectives:
- Types of indexes: simple, compound, multikey, text, and geospatial
- Utilizing explain() to analyze query metrics
- Assessing the impact of indexes on write performance and memory usage
Practical Application:
- Creating collections populated with test data
- Testing queries with and without indexes; interpreting explain() output
- Optimizing index strategies based on access patterns
Security
Learning Objectives:
- Authentication mechanisms: SCRAM, LDAP/Kerberos (introduction)
- Creating users and defining custom roles
- Implementing TLS/SSL between clients and servers
- Encryption at rest: configuring keys
- Implementing basic audit logging
Practical Application:
- Creating users with least-privilege access
- Configuring TLS on local instances
- Testing unauthorized access attempts and reviewing audit logs
Replication and High Availability
Learning Objectives:
- Replication fundamentals: Primary, Secondary, and oplog
- Configuring replica sets: initiation, membership, and arbitration
- Monitoring replica set status and elections
- Maintenance tasks: adding/removing members and reassigning priorities
Practical Application:
- Deploying a three-node replica set (locally or on VMs)
- Simulating primary node failure to observe failover behavior
- Rebuilding secondary nodes and recovering replica integrity
Sharding and Horizontal Scalability
Learning Objectives:
- Sharding concepts: shard key, config servers, and mongos routers
- Selecting shard keys and managing associated risks
- Deploying config servers, shards, and mongos routers
- Rebalancing data and chunk migration
Practical Application:
- Setting up a basic sharded cluster
- Inserting large-scale data to observe distribution
- Exploring shard key modifications and understanding their limitations
Backup, Restore, and Disaster Recovery
Learning Objectives:
- Native tooling: mongodump/mongorestore and filesystem snapshots
- Backup strategies for replica sets and sharded clusters
- Integrating Cloud Manager/Ops Manager for backup operations
- Disaster Recovery (DR) planning: defining RTO and RPO
Practical Application:
- Executing backup and restore operations on a test database
- Simulating data loss and recovery from backup
- Formulating a DR plan for a hypothetical scenario
Monitoring and Alerts
Learning Objectives:
- Essential tools: mongostat, mongotop, and Cloud Manager/Atlas Monitoring
- Integrating with Prometheus + Grafana (concepts and examples)
- Tracking key metrics: CPU, memory, I/O, oplog size, and latencies
- Configuring alerts: setting thresholds and notifications
Practical Application:
- Deploying local or container-based monitoring agents
- Building basic dashboards using sample metrics
- Simulating system load to trigger and observe alerts
Maintenance, Upgrades, and Best Practices
Learning Objectives:
- Upgrade strategies for replica sets and sharded clusters
- Data cleanup, compaction, and integrity checks
- Log review and regular security audits
- Automating routine tasks via scripts, cronjobs, Ansible, or Terraform
- Defining data retention and archiving policies
Practical Application:
- Simulating minor and major upgrades in a controlled environment
- Writing 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 utilities
- Foundational knowledge of networking and system administration
Target Audience
- Database administrators and system engineers managing MongoDB environments
- DevOps and infrastructure teams responsible for deploying and maintaining MongoDB instances
- Developers seeking to understand MongoDB internals and adoption 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.