Serverless development with Node.js, AWS Lambda and MongoDB Atlas
If you've been looking to try out MongoDB Atlas (MongoDB's database as a service) then check out this step-by-step guide where you'll write a simple Lambda function that creates a single document in a collection stored in a MongoDB Atlas database.
Raphael Londner, Principal Cloud Developer Advocate, writes:
In this blog post I'll show you how to easily integrate an AWS Lambda Node.js function with a MongoDB database hosted in MongoDB Atlas. More specifically, we’ll write a simple Lambda function that creates a single document in a collection stored in a MongoDB Atlas database. I’ll guide you through this tutorial step-by-step, and it should take less than an hour.
Once you've completed this tutorial, you'll be one step closer to running your database in the cloud.