Charmed MongoDB

Channel Revision Published Runs on
6/beta 149 17 Jan 2024
Ubuntu 22.04
6/edge 154 16 Feb 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
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/beta
Show information



Configuring S3-storage requires that you have a replica set with at least three-nodes deployed and access to S3 storage. If you don’t have a three node replica set read the Managing Units How-To for VM charm.

Once you have a three-node replica set deployed, you can configure your settings for S3. Configurations are managed with the s3-integrator charm. Deploy and configure the s3-integrator charm:

juju deploy s3-integrator
juju run s3-integrator/leader sync-s3-credentials access-key=<access-key-here> secret-key=<secret-key-here>
juju config s3-integrator \
    path="mongodb-vm/demo" \
    region="us-west-2" \

The s3-integrator charm accepts many configurations - enter whatever configurations are necessary for your s3 storage.

To pass these configurations to Charmed MongoDB, relate the two applications:

juju integrate s3-integrator mongodb

You can also update your configuration options after relating:

juju config s3-integrator \

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