• Pricing
© 2025 Serverless, Inc. All rights reserved.
Terms of ServicePrivacy Policy
Matt Welke

Node.js AWS Lambda connecting to MongoDB Atlas

by

Shows how to connect AWS Lambda to MongoDB Atlas.

  1. Node.js AWS Lambda connecting to MongoDB Atlas

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.

Contents

  • aws-node-mongodb-atlas

Related

GuidesPluginsExamplesSlack CommunitySupport