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
- MongoDB Replicaset with S3 backup (mongodb-replicaset)
- Restore a snapshot (mongodb-restore)
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> .
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