A Serverless backup solution for MongoDB using Flask and AWS Lambda

What is MongoDB?

Why the Solution?

Solution Details

Overall Architecture

Setup steps

  1. An AWS account
  2. A Heroku account for the custom API
  3. A free MongoDB instance at (https://www.mongodb.com/cloud/atlas)
  4. Python on local machine
Create Rule
Create Filter
Assign Metric

Scope of extension

  • Better Authentication for the API
  • Change the mode of backup from Delete and replace to a delta only method




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Amlan Chakladar

Amlan Chakladar

Cloud architect and DevOps engineer. Love to code and develop new stuff. A nerd by nature.