/mongo-replicaset-helm-chart

Production ready Helm Charts for MongoDB Replicaset to be deployed on Kubernetes

Primary LanguageShellApache License 2.0Apache-2.0

MongoDB Replicaset with backup and restore for Kubernetes on AWS

This helps you run a production ready highly-available MongoDB with capabilities of backup and restore to support disaster recovery, in this repository you will find 2 helm charts

  1. MongoDB Replicaset with S3 backup (mongodb-replicaset)
  2. Restore a snapshot (mongodb-restore)

Chart Details

This chart extends StackPointCloud stable trusted helm charts to run mongodb and a docker image which has AWS CLI and Mongo cli installed along with Kubernetes Batch Job and CronJob API to regularly take backups and run a restore on demand.

To install any of the chart goto the root chart directory and run below command or open them to read more details around the same

helm install --name <release_name> .

Additional Resources

Using above we deployed a production ready mongo db on kubernetes for more details on the details of the same you can refer to this medium article - How we achieved HA and DR for MongoDB using Kubernetes and AWS