Charmed MongoDB Tutorials
This section of our documentation contains comprehensive, hands-on tutorials to help you learn how to deploy Charmed MongoDB and become familiar with its available operations.
Prerequisites
While the tutorials intend to guide you as you deploy Charmed MongoDB K8s for the first time, they will be most beneficial if:
- You have some experience using a Linux-based CLI
- You are familiar with basic Juju concepts such as models and controllers
- You are familiar with MongoDB concepts such as users, replica sets, or sharding
Tutorial contents
There is one tutorial available about setting up a replica set. A second tutorial focused on sharded clusters is in development.
- Deploy a MongoDB replica set
- Deploy a MongoDB sharded cluster - coming soon
Step | …for a replica set | …for a sharded cluster |
---|---|---|
1. Set up a cloud environment for your deployment | Set up your environment | coming soon |
2. Deploy Charmed MongoDB in a virtual container | Deploy MongoDB | |
3. Access a MongoDB database directly | Access a replica set | |
4. Scale the amount of replicas or shards | Scale your replicas | |
5. Request and change passwords | Manage passwords | |
6. Access MongoDB from a client application | Integrate with other applications | |
7. Enable security in your deployment via TLS | Enable TLS | |
8. Free up your machine’s resources | Clean up your environment |