AWS | MongoDB Atlas Example

Shows how to connect AWS Lambda to MongoDB Atlas.


Matt Welke

Clone This Example

Step #1 - npm install serverless -g
Step #2 - serverless install -u -n  aws-node-mongodb-atlas


An example app, created in this blog post, showing how to connect AWS Lambda to MongoDB Atlas, which must be configured with a user with read/write privileges and an IP whitelist to allow Lambda to connect to it. See blog post for detailed walkthrough setting up MongoDB Atlas.

view on Github

Latest commit b2f54ec on Sep 24, 2017

New to serverless?

To get started, pop open your terminal & run:

npm install serverless -g