MongoDB

Channel Revision Published Runs on
6/stable 199 04 Oct 2024
Ubuntu 22.04
6/candidate 199 04 Oct 2024
Ubuntu 22.04
6/beta 199 04 Oct 2024
Ubuntu 22.04
6/edge 206 13 Dec 2024
Ubuntu 22.04
5/stable 117 20 Apr 2023
Ubuntu 22.04
5/candidate 117 20 Apr 2023
Ubuntu 22.04
5/edge 139 21 Nov 2023
Ubuntu 22.04 Ubuntu 20.04
5/edge 109 06 Mar 2023
Ubuntu 22.04 Ubuntu 20.04
3.6/stable 100 28 Apr 2023
Ubuntu 20.04 Ubuntu 18.04
3.6/candidate 100 13 Apr 2023
Ubuntu 20.04 Ubuntu 18.04
3.6/edge 100 03 Feb 2023
Ubuntu 20.04 Ubuntu 18.04
juju deploy mongodb --channel 6/stable
Show information

Platform:

Ubuntu
22.04 20.04 18.04

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 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 are two tutorials available depending on the database storage method you’d like to learn about:

Both tutorials will guide you through the same principles, while noting the details that apply specifically to replication or sharding.

Step …for a replica set …for a sharded cluster
1. Set up a cloud environment for your deployment Set up your environment Set up your environment
2. Deploy Charmed MongoDB in a virtual container Deploy MongoDB Deploy MongoDB
3. Access a MongoDB database directly Access a replica set Access a sharded cluster
4. Scale the amount of replicas or shards Scale your replicas Add and remove shards
5. Request and change passwords Manage passwords Manage passwords
6. Access MongoDB from a client application Integrate with other applications Integrate with other applications
7. Enable security in your deployment via TLS Enable TLS Enable TLS
8. Free up your machine’s resources Clean up your environment Clean up your environment

Tip: If you’re not sure which tutorial to go for, we recommend getting started with Deploy a MongoDB replica set

See also


Help improve this document in the forum (guidelines). Last updated 2 months ago.