System requirements

Below are the minimum software and hardware requirements for running Charmed MongoDB 6.

Software

  • Juju 3.0 or higher

  • Ubuntu 22.04 (Jammy)

Hardware

  • At least 2GB of RAM for replica sets

  • At least 4GB of RAM for sharded clusters

  • At least 2CPU threads per host

  • At least 60GB of available storage per host for production deployments

Architecture

This charm must run on architectures that support AVX.

To check your architecture, run:

grep avx /proc/cpuinfo

or

grep avx /proc/cpuinfo

Systemd Parameters

On VM, this charm sets the TasksMax parameter of the Mongod and Mongos services it starts to infinity. This ensures that MongoDB will not drop connections when it is under high load.