# Serverless Development with AWS Lambda and MongoDB Atlas Using Java

DevFeed: [Serverless Development with AWS Lambda and MongoDB Atlas Using Java](<https://devfeed.tech/articles/serverless-development-with-aws-lambda-and-mongodb-atlas-using-java-21827.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2023/07/serverless-development-aws-lambda-mongodb-atlas-using-java/>)

Author: Nic Raboy

Published: 2023-07-23T14:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [Java](<https://devfeed.tech/topics/java.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Development](<https://devfeed.tech/topics/development.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [amazon-web-services](<https://devfeed.tech/tags/amazon-web-services.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [java](<https://devfeed.tech/tags/java.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [nosql](<https://devfeed.tech/tags/nosql.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

This tutorial explains how to build a serverless Java function with AWS Lambda and connect it to MongoDB Atlas. It covers prerequisites, Gradle or Maven dependency management, Lambda boilerplate, packaging, and the initial MongoDB driver setup.

## Source excerpt

So you need to build an application that will scale with demand and a database to scale with it? It might make sense to explore serverless functions, like those offered by AWS Lambda, and a cloud data... The post Serverless Development with AWS Lambda and MongoDB Atlas Using Java appeared first on MongoDB.