Charmed MongoDB

Channel Revision Published Runs on
5/stable 117 20 Apr 2023
Ubuntu 22.04
5/candidate 117 20 Apr 2023
Ubuntu 22.04
5/edge 118 03 May 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 5/stable
Show information

Platform:

Ubuntu
22.04

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.

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-action s3-integrator/leader sync-s3-credentials access-key=<access-key-here> secret-key=<secret-key-here> --wait
juju config s3-integrator \
    path="mongodb-vm/demo" \
    region="us-west-2" \
    bucket="pbm-test-bucket-1"

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 relate s3-integrator mongodb

You can also update your configuration options after relating:

juju config s3-integrator \
    endpoint=<endpoint>

Help us improve this documentation

Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.

Last updated a month ago. Help improve this document in the forum.