# Serverless Development with Kotlin, AWS Lambda, and MongoDB Atlas

DevFeed: [Serverless Development with Kotlin, AWS Lambda, and MongoDB Atlas](<https://devfeed.tech/articles/serverless-development-with-kotlin-aws-lambda-and-mongodb-atlas-21828.md>)

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

Author: Nic Raboy

Published: 2023-08-08T14:00:00Z

Content type: tutorial

Language: en

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

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [development](<https://devfeed.tech/tags/development.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [intellij](<https://devfeed.tech/tags/intellij.md>), [kotlin](<https://devfeed.tech/tags/kotlin.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 AWS Lambda function in Kotlin that interacts with MongoDB using the MongoDB Kotlin driver. It covers prerequisites, project configuration with Gradle Kotlin DSL, and packaging the application for Lambda.

## Source excerpt

As seen in a previous tutorial, creating a serverless function for AWS Lambda with Java and MongoDB isn't too complicated of a task. In fact, you can get it done with around 35 lines of code! However,... The post Serverless Development with Kotlin, AWS Lambda, and MongoDB Atlas appeared first on MongoDB.