Skip to main content

Vladlen Gladissheet 01 / index

Deep dives on the JVM

notes from the runtime — native images, cold starts, and the parts of Spring nobody documents

Deep dive into AWS Lambda using Spring Boot 3 and GraalVM

Serverless computing has become increasingly popular in recent years, and AWS Lambda is one of the most widely used serverless platforms. Spring Boot, on the other hand, is a popular framework for building microservices and web applications in Java. By combining these two technologies, developers can create powerful and scalable serverless applications. In this comprehensive guide, we'll dive into the details of building an AWS Lambda function with Spring Boot 3 and GraalVM Native Image. We'll explore how to use GraalVM Native Image to create a custom runtime for our Lambda function, which can result in faster startup times and lower memory usage. Additionally, we'll cover how to use the AWS Serverless Application Model (SAM) to deploy our Lambda function to AWS, how to test our function locally, and how to automate the deployment process with GitHub Actions. By the end of this guide, you'll have a solid understanding of how to build and deploy efficient and scalable serverless applications with Spring Boot and AWS Lambda.

all posts