EventGet 50% off your ticket to MongoDB.local NYC on May 2. Use code Web50!Learn more >>
MongoDB Developer
MongoDB Developer Centerchevron-right
Developer Topicschevron-right

Serverless

plus Follow
Sign in to follow topics

Featured

Quickstart

MongoDB Atlas Serverless Instances: Quick Start

MongoDB Atlas serverless instances are now generally available! What is a serverless instance you might ask? In short, it’s an on-demand serverless database. In this article, we'll deploy a MongoDB Atlas serverless instance and perform some basic CRUD operations....
MongoDB thumbnail image
ServerlessNode.jsAtlasJavaScript

Jun 28, 2022 | 4 min read
Jesse Hall
Video

Serverless Functions Explained | MongoDB Realm Backend-as-a-Service | Jumpstart

MongoDB thumbnail image
Play Button

Aug 11, 2021 | 16 min
Tutorial

Create a REST API with Cloudflare Workers and MongoDB Atlas

MongoDB thumbnail image

Mar 29, 2024 | 7 min read
Serverless Articles
All Serverless Articles
Article

Keeping Your Costs Down with MongoDB Atlas Serverless Instances

MongoDB thumbnail image

Jan 23, 2023 | 3 min read
Article

How to Optimize Your Serverless Instance Bill with Indexing

MongoDB thumbnail image

Sep 13, 2023 | 6 min read
Article

How to Build Serverless Applications with SST and MongoDB Atlas

MongoDB thumbnail image

Jan 23, 2024 | 3 min read
All Serverless Articles
Serverless Tutorials
All Serverless Tutorials
Tutorial

How to Use PyMongo to Connect MongoDB Atlas with AWS Lambda

MongoDB thumbnail image

Apr 02, 2024 | 6 min read
Tutorial

Getting Started With MongoDB Atlas Serverless, AWS CDK, and AWS Serverless Computing

MongoDB thumbnail image

Mar 04, 2024 | 18 min read
Tutorial

MongoDB Atlas Vector Search and AWS Bedrock modules RAG tutorial

MongoDB thumbnail image

Feb 20, 2024 | 10 min read
Serverless Videos
All Serverless Videos
Video

Python Chat with Anaiya Raisinghani

MongoDB thumbnail image
Play Button

Mar 15, 2024 | 59 min
Video

Build an AWS Lambda Serverless function with PyMongo & MongoDB

MongoDB thumbnail image
Play Button

Sep 25, 2023 | 20 min
Video

Build an AWS Lambda Serverless function with Java and MongoDB

MongoDB thumbnail image
Play Button

Sep 25, 2023 | 21 min
All Serverless Content
search
  • Latest
  • Highest Rated
Article

How to Build Serverless Applications with SST and MongoDB Atlas

The developer experience is at a point where it’s easy to build full-stack applications with serverless. In this post, we’ll look at the new way of building serverless apps....
MongoDB thumbnail image

Jan 23, 2024
Frank Wang
Tutorial

How to Do Semantic Search in MongoDB Using Atlas Vector Search

Learn how to get started with Vector Search on MongoDB while leveraging the OpenAI....
MongoDB thumbnail image

Jan 12, 2024
Benjamin Flast
Article

A Free REST API for Johns Hopkins University COVID-19 dataset

Making the Johns Hopkins University COVID-19 Data open and accessible to all, with MongoDB, through a simple REST API....
MongoDB thumbnail image

Nov 16, 2023
Maxime Beugnet
Video

Build an AWS Lambda Serverless function with PyMongo & MongoDB

✅ Sign-up for a free cluster at → https://mdb.link/free--ZSKyLspT3Q ✅ Get help on our Community Forums → https://mdb.link/community--ZSKyLspT3Q Follow along as MongoDB Developer Advocate Anaiya Raisinghani explains how to use AWS Lambda with PyMongo, MongoDB's Python Driver! This tutorial will take you through setting up an Atlas Cluster, establishing an AWS Lambda function, connecting the cluster to Lambda, and loading in/reading back specific information. Watch through the end for information on utilizing MongoDB's Aggregation Pipeline structure. 🔗 Resources 🔗 ✅ For an article format of this video along with code samples, please view our Developer Center → https://mdb.link/article--ZSKyLspT3Q ✅ Connect with Anaiya → https://www.linkedin.com/in/anaiyaraisinghani/ ✅ View more of Anaiya's content → https://www.mongodb.com/developer/search/?s=anaiya+raisinghani&sortMode=0 ------ Don't forget to like, share, and subscribe for more awesome tutorials! 🙌 ✅ Subscribe to our channel → https://mdb.link/subscribe...
MongoDB thumbnail image
Play Button

Sep 25, 2023
Video

Build an AWS Lambda Serverless function with Java and MongoDB

✅ Sign-up for a free cluster at → https://mdb.link/free-hMlUrnx9n84 ✅ Get help on our Community Forums → https://mdb.link/community-hMlUrnx9n84 👋 Hey there, welcome to this tutorial on Serverless Development with AWS Lambda and MongoDB Atlas using Java! If you're looking to build a scalable application without the hassle of managing infrastructure, you're in the right place. 🔍 What You'll Learn 🔍 → Set up a serverless function using AWS Lambda and Java → Connect your Lambda function to MongoDB Atlas → Best practices for dependency management with Gradle → Query data from MongoDB within your serverless function 🛠 Prerequisites 🛠 → AWS Lambda compatible version of Java → MongoDB Atlas instance deployed and configured → Amazon Web Services (AWS) account → Gradle or Maven for dependency management 📝 Key Takeaways 📝 → Cost-Efficiency: Serverless functions auto-scale, saving you from unnecessary infrastructure costs → Elasticity: MongoDB Atlas pairs perfectly with AWS Lambda's serverless architecture → Code Reusability: Learn how to write reusable MongoDB queries in Java → Security: Use environment variables for sensitive information like MongoDB Atlas URI → Deployment: Step-by-step guide to deploy your Java application to AWS Lambda 👀 Sample Code: We'll walk you through boilerplate AWS Lambda code for Java and Gradle tasks for building your project. You'll also learn how to query MongoDB collections based on user input. 🔗 Resources 🔗 ✅ Written article with code snippets → https://mdb.link/article-hMlUrnx9n84 ⏱️ Timestamps ⏱️ 00:00 - Intro 01:38 - Create a New Java Application 02:05 - Adding Gradle Dependencies for AWS Lambda and MongoDB 03:27 - Configure the Fat Jar in Gradle 04:47 - Create an AWS Lambda Function with Java 06:03 - Connect to MongoDB in Java 10:36 - Querying MongoDB in an AWS Lambda Function 13:58 - Build a Fat Jar of the AWS Lambda Application 14:38 - Navigating the AWS Lambda Dashboard 17:18 - Adding Match Criteria to a MongoDB Query 20:03 - A Review of the Project ------ Don't forget to like, share, and subscribe for more awesome tutorials! 🙌 ✅ Subscribe to our channel → https://mdb.link/subscribe...
MongoDB thumbnail image
Play Button

Sep 25, 2023
Article

How to Optimize Your Serverless Instance Bill with Indexing

Shifting from a pre-provisioned to a serverless database can be challenging. Learn how to optimize your database and save money with these best practices....
MongoDB thumbnail image

Sep 13, 2023
Vishal Dhiman
Video

Build an AWS Lambda Serverless function with Kotlin and MongoDB

✅ Sign-up for a free cluster at: https://mdb.link/free-lQ6g3QTf4eA ✅ Get help on our Community Forums: https://mdb.link/community-lQ6g3QTf4eA Learn how to build an AWS Lambda function with Kotlin that interacts with MongoDB and uses the Kotlin driver for MongoDB. 📚 Resources 📚 Gain access to the code from this video and a written set of instructions by navigating to this tutorial on the Developer Center: https://mdb.link/article-with-code-lQ6g3QTf4eA ------ ✅ Subscribe to our channel → https://mdb.link/subscribe...
MongoDB thumbnail image
Play Button

Sep 07, 2023
Video

Intro to MongoDB (Webinar)

Note: Questions can only be asked through the Zoom Webinar, sign up here → https://trymongodb.com/3QrKldN Ready to begin your MongoDB Atlas adventures — but not sure where to start? Join our Intro to MongoDB webinar at 11am ET on Wednesday, August 9th to learn more! Senior Developer Advocate Jesse Hall will showcase the unique advantages of the document data model and show you how to deploy an Atlas cluster. Jesse will present a demo of how to get started with MongoDB Atlas and walk you through how to: - Create your first cluster - Add an IP address - Add a database user - Load sample data using a Next.js - e-commerce demo app - Connect to the database Intro to MongoDB Docs → https://trymongodb.com/3KwjOrQ Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1...
MongoDB thumbnail image
Play Button

Aug 08, 2023
Video

Atlas Vector Search Explained in 3 minutes

*Use the CC settings to toggle subtitles in English, Chinese (简体中文), French (Français), German (Deutsch), Italian (Italiano), Korean (한국인), Portuguese (Português), & Spanish (Español). Learn more → https://trymongodb.com/44dMMnG Blog post → https://trymongodb.com/46g7OUC Watch the full session → https://trymongodb.com/3Qk8wed By integrating the operational database and vector store in a single, unified, and fully managed platform — along with support integrations into large language models (LLMs) — Atlas Vector Search is a fast and easy way to build semantic search and AI-powered applications. View all .local NY sessions → https://trymongodb.com/mongodblocalnyc23 Subscribe to our channel → https://mdb.link/subscribe #MongoDBlocalNYC2023...
MongoDB thumbnail image
Play Button

Aug 04, 2023
Tutorial

Serverless Development with Kotlin, AWS Lambda, and MongoDB Atlas

Learn how to use Kotlin and MongoDB to create performant and scalable serverless functions on AWS Lambda....
MongoDB thumbnail image

Aug 01, 2023
Nic Raboy