Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.

Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

MongoDB Developer
MongoDB Developer Center
chevron-right
Developer Topics
chevron-right

Serverless

plus Follow
Sign in to follow topics

Featured

Video

Build Quarkus Applications with MongoDB and Panache!

See how to use Panache with Quarkus to simplify CRUD operations and perform aggregation queries seamlessly within a MongoDB database. By leveraging Panache's built-in functionalities, we reduced boilerplate code, enhancing development speed and efficiency. Ideal for cloud-native and serverless applications, Panache's integration with Hibernate ORM and JPA allows developers to focus on business logic while maintaining clean and efficient code. Learn more by reading the full article on MongoDB.com!...
QuarkusServerlessMongoDB

Apr 22, 2025 | 1 min
Video

10X Your Development Speed: Prisma + MongoDB + Next.js Ultimate Stack

MongoDB thumbnail image
Play Button

Mar 28, 2025 | 25 min
Tutorial

Serverless Development with AWS Lambda and MongoDB Atlas Using Java

MongoDB thumbnail image

Jan 13, 2025 | 6 min read
Serverless Articles
All Serverless Articles
Article

Keeping Your Costs Down With MongoDB Atlas Serverless Instances

MongoDB thumbnail image

Oct 01, 2024 | 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

Aug 29, 2024 | 3 min read
All Serverless Articles
Serverless Tutorials
All Serverless Tutorials
Tutorial

Serverless Development with AWS Lambda and MongoDB Atlas Using Java

MongoDB thumbnail image

Jan 13, 2025 | 6 min read
Tutorial

Serverless Development with Kotlin, AWS Lambda, and MongoDB Atlas

MongoDB thumbnail image

Jan 13, 2025 | 6 min read
Tutorial

Part #2: Create Your Model Endpoint With Amazon SageMaker, AWS Lambda, and AWS API Gateway

MongoDB thumbnail image

Sep 18, 2024 | 7 min read
Serverless Videos
All Serverless Videos
Video

Build Quarkus Applications with MongoDB and Panache!

MongoDB thumbnail image
Play Button

Apr 22, 2025 | 1 min
Video

10X Your Development Speed: Prisma + MongoDB + Next.js Ultimate Stack

MongoDB thumbnail image
Play Button

Mar 28, 2025 | 25 min
Video

AI Structured output and MongoDB Atlas services

MongoDB thumbnail image
Play Button

Sep 05, 2024 | 61 min
All Serverless Content
search
  • Latestcheck
  • Highest Rated
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 The MongoDB Atlas Navigation has been enhanced to provide a more intuitive and streamlined experience. Discover the updates here: https://mdb.link/AtlasUpdate 👋 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 The MongoDB Atlas Navigation has been enhanced to provide a more intuitive and streamlined experience. Discover the updates here: https://mdb.link/AtlasUpdate 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)

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

Access Vector Search resources → https://mdb.link/DUxUW0Kg7JM-search *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

Developing Your Applications More Efficiently with MongoDB Atlas Serverless Instances

In this short and sweet tutorial, we'll see how easy it is to get started with a MongoDB Atlas serverless instance and how to begin to develop an application against it.
MongoDB thumbnail image

Jun 09, 2023
Nic Raboy
Video

How to use Azure Functions with the MongoDB Node.js Drivers

✅ Sign-up for a free cluster at: https://mdb.link/free-DpGq9iu3Q8E ✅ Get help on our Community Forums: https://mdb.link/community-DpGq9iu3Q8E The MongoDB Atlas Navigation has been enhanced to provide a more intuitive and streamlined experience. Discover the updates here: https://mdb.link/AtlasUpdate Learn how to setup and deploy serverless functions with Azure Functions that interact with MongoDB in this video tutorial featuring Nic Raboy. You'll see how to configure Microsoft Azure, build and test a local functions project, deploy to the cloud, and interact with MongoDB. Resources: https://trymongodb.com/3FxsGdk Connect with Nic on Twitter: https://twitter.com/nraboy ⏱️ Timestamps ⏱️ 00:00 - Intro 00:28 - The Prerequisites 02:05 - Create New Azure Project 06:20 - Create New Azure Function 19:03 - Run and Test an Azure Function Locally 20:07 - Link the Remote and Local Azure Projects 22:24 - Creating Environment Variables in Azure 24:45 - Push the Local Function to the Cloud 26:51 - A Review of the Azure Functions with MongoDB Development Process — Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #azure #nodejs #database
MongoDB thumbnail image
Play Button

Dec 15, 2022
Video

Build a Totally Serverless REST API with MongoDB Atlas

✅ Sign-up for a free cluster at: https://mdb.link/free-FkD_tf8vkfg ✅ Get help on our Community Forums: https://mdb.link/community-FkD_tf8vkfg Want to go totally serverless in your application development? I’m talking serverless database and serverless application for maximum scalability. In this tutorial, Nic Raboy demonstrates how to launch a serverless database instance of MongoDB, create a serverless function with JavaScript, and make everything accessible with HTTPS endpoints. Connect with Nic on Twitter: https://twitter.com/nraboy ⏱️ Timestamps ⏱️ 00:00:00 - Intro 00:00:43 - Create a MongoDB Serverless Instance 00:02:19 - Create a Serverless Application with Atlas App Services 00:03:36 - Create HTTPS Endpoints 00:06:38 - Adding Serverless Function Logic to an HTTPS Endpoint 00:10:29 - Testing your HTTPS Endpoint and Function 00:12:03 - More HTTPS Endpoints and Functions 00:15:27 - A Review of the Development Process 00:16:30 - A Quick Note on MongoDB Atlas Serverless Security 00:18:47 - Outro — Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #database #serverless
MongoDB thumbnail image
Play Button

Nov 15, 2022
Video

Create a Twitter Clone using Next.js, MongoDB, Auth0, & Deploy to Vercel

✅ Sign-up for a free cluster at: https://mdb.link/free-xiowCksSKpk ✅ Get help on our Community Forums: https://mdb.link/community-xiowCksSKpk In this video, we'll create a Twitter clone Jamstack application using the MongoDB Atlas Data API, @Auth0, Next.js, and @VercelHQ. This workshop will walk you through each step and will help you easily follow along step by step. 📚 RESOURCES 📚 GitHub Repo: https://github.com/mongodb-developer/social-app-demo MongoDB Atlas: https://bit.ly/mongodb-free MongoDB VS Code extension: https://marketplace.visualstudio.com/items?itemName=mongodb.mongodb-vscode MongoDB Compass: https://www.mongodb.com/try/download/compass Auth0: https://auth0.com/signup Vercel: https://vercel.com/signup Connect with Jesse: Twitter: https://bit.ly/tweet-codeSTACKr ⏱️ Timestamps ⏱️ 00:00:00 - Intro 00:00:33 - Agenda 00:00:59 - Exercise Overview 00:02:18 - Prerequisites 00:03:04 - What is the Jamstack? 00:06:00 - Reduce Complexity & Increase Portability 00:06:10 - What is Serverless? 00:07:13 - Serverless Instances 00:08:16 - Atlas Serverless Functions & HTTPS Endpoints 00:09:18 - Atlas Data API 00:10:26 - Consider the Alternatives 00:11:27 - Workshop GitHub Repo 00:11:59 - Lesson 1 - Fork & Clone the Workshop Repo 00:13:31 - Lesson 2 - Create Atlas Cluster 00:18:35 - Lesson 3 - Load Sample Data 00:19:22 - Option 1: MongoDB VS Code Extension 00:23:26 - Option 2: MongoDB Compass 00:26:12 - Lesson 4 - Test Data API 00:31:55 - Lesson 5 - Set Up Local App 00:48:23 - Lesson 6 - Atlas Functions & HTTPS Endpoints 00:50:38 - Lesson 7 - Configure User Auth 01:07:04 - Lesson 8 - Add Like Functionality 01:13:27 - Lesson 9 - Create Search Index & Route 01:20:06 - Lesson 10 - Deploy your Application! --- Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #database #tutorial
MongoDB thumbnail image
Play Button

Sep 27, 2022
Video

How to Deploy your Serverless Full-Stack App with Google Cloud Run and MongoDB Atlas

✅ Subscribe to MongoDB Atlas on Google Cloud: https://bit.ly/3KOx4H9 ✅ Sign-up for a free cluster at: https://mdb.link/free--UobUxpW6WQ ✅ Get help on our Community Forums: https://mdb.link/community--UobUxpW6WQ In this video, you'll learn what is serverless, how to deploy a serverless MEAN stack application on Google Cloud Run, and how to create a MongoDB Atlas serverless instance. 📚 RESOURCES 📚 Learn more about Google Cloud Run and MongoDB Atlas serverless instances - https://bit.ly/serverless-atlas-cloud-run ⏱️ Timestamps ⏱️ 0:00 Introduction 0:14 Autoscaling 1:18 Improved developer productivity 1:50 Better billing model 2:16 Serverless considerations 3:03 Google Cloud Run 3:47 MongoDB Atlas serverless instances 5:18 Serverless MEAN stack 6:11 Deploying to Cloud Run 8:42 Node.js API service configuration 10:14 Angular client service configuration 11:21 Angular Firebase deployment 11:32 Cloud Run command-line deployment --- Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #google-cloud #serverless
MongoDB thumbnail image
Play Button

Sep 06, 2022