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:
- Overview of MongoDB history and its ecosystem
- Common use cases, along with advantages and limitations
- Core architecture: instances, processes, and configuration
Practice:
- Interactive exploration using Mongo Shell and the CLI
- Creating sample databases and collections
Installation and Initial Configuration
Content:
- Hardware and resource prerequisites
- Installation procedures for Linux (deb/rpm), Windows, and macOS
- YAML configuration files (mongod.conf): dataDir, logDir, bindIp, and port settings
- Startup options and management via systemd/services
Practice:
- Deploying instances on local VMs or Docker containers
- Adjusting configurations for development versus production environments
- Verifying secure remote connectivity
Data Modeling and Basic Operations
Content:
- BSON documents, collections, and databases
- Modeling strategies: embedding vs. referencing, and data design patterns
- Basic indexes (conceptual introduction)
- Operations via Mongo Shell and scripting examples using 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:
- Simple, compound, multikey, text, and geospatial indexes
- Utilizing explain() to analyze query 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() output
- Optimizing indexes based on access patterns
Security
Content:
- Authentication mechanisms: SCRAM, LDAP, and Kerberos (introductory)
- Defining users and custom roles
- TLS/SSL encryption between clients and servers
- At-rest encryption: key configuration
- Basic audit logging practices
Practice:
- Creating users with the principle of least privilege
- Configuring TLS in local instances
- Testing unauthorized access attempts and reviewing audit logs
Replication and High Availability
Content:
- Replication concepts: Primary, Secondary nodes, and the oplog
- Replica set configuration: initiation, membership, and arbitration
- Monitoring cluster status and elections
- Maintenance tasks: adding/removing members and reassigning priorities
Practice:
- Deploying a three-node replica set (locally or on VMs)
- Simulating primary failure to observe failover mechanisms
- Rebuilding secondary nodes and recovering replicas
Sharding and Horizontal Scalability
Content:
- Sharding concepts: shard keys, config servers, and the mongos router
- Shard key selection and associated risks
- Deploying config servers, shards, and mongos instances
- Rebalancing data and chunk migration
Practice:
- Configuring a basic sharded cluster
- Inserting large-scale data to observe distribution
- Exploring shard key changes and understanding their limitations
Backup, Restore, and Disaster Recovery
Content:
- Native tools: mongodump/mongorestore and filesystem snapshots
- Backup strategies for replica sets and sharded clusters
- Basic use of Cloud Manager/Ops Manager for backups
- Disaster Recovery (DR) planning: RTO and RPO
Practice:
- Performing backup and restore operations on a test database
- Simulating failures and recovering from backups
- Designing a DR plan for a hypothetical scenario
Monitoring and Alerts
Content:
- Tools: mongostat, mongotop, and Cloud Manager/Atlas Monitoring
- Integration with Prometheus and Grafana (concepts and examples)
- Key metrics: CPU, memory, I/O, oplog size, and latencies
- Alerting: defining thresholds and notification mechanisms
Practice:
- Deploying a local or container-based monitoring agent
- Setting up basic dashboards with sample metrics
- Simulating load to trigger and observe alerts
Maintenance, Upgrades, and Best Practices
Content:
- Upgrade strategies for replica sets and sharded clusters
- Data cleanup, compaction, and integrity checks
- Reviewing logs and conducting 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
- Creating automation scripts for backup and monitoring
- Developing a periodic maintenance checklist
Requirements
- A solid grasp of general database concepts and data structures
- Proficiency with Linux command-line operations
- Foundational knowledge of networking and system administration
Target Audience
- Database administrators and system engineers working with MongoDB
- DevOps and infrastructure teams responsible for deploying and maintaining MongoDB environments
- Developers looking 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.