In this talk I will present and compare several options of how to run Spring Boot 3 application on AWS Lambda using: AWS Serverless Java Container AWS Lambda Web Adapter Spring Cloud Function and Custom Docker Image. I'll also discuss strategies how to optimize cold start of such Lambda function with AWS Custom Lambda Runtime based on GraalVM Native Image and AWS own offering SnapStart based on Firecracker microVM snapshot and restore and CRaC (Coordinated Restore at Checkpoint) runtime hooks. Moreover I'll present various (SnapStart) priming techniques to reduce the cold start even further. Is Spring Boot native support of CRaC also a potential optimization? I'll also discuss optimization strategies for the warm start/execution time of the Lambda function.
Get notified about new features and conference additions.