Scale Your @Controller to Zero with AWS Lambda or Azure Functions
summary
Claims that existing Spring Web @Controller apps run on AWS Lambda or Azure Functions with no code changes, deployed via Spring Cloud Function and Spring Serverless Java Container and packaged with SAM or zip. Demoed an uppercase function and a PetStore controller exposed through API Gateway; both invoke correctly but show cold starts. Mitigation uses AWS Lambda SnapStart (Java 11/17) and immutable versions to restore in milliseconds. Also shows Azure/KEDA options and a Spring Initializr template for AWS Lambda web.
AI-written summary · about
chapters (12)
- 0:00Introduction and speaker intro
- 1:05Spring Cloud Function overview
- 6:43Serverless concept explained
- 12:28Deploying to AWS Lambda demo
- 16:03Mark Sales on AWS Lambda basics
- 17:48Serverless Java Container project
- 20:19Lambda SnapStart and cold starts
- 26:47Controller to Lambda deployment demo
- 32:47SnapStart demo with versions
- 35:58Azure Functions and scaling
- 37:21Spring Initializr for AWS Lambda
- 40:11Q&A and closing remarks
related talks
47mScale your @Controller to zero with AWS Lambda or Azure Function
52mServerless Java with Spring
55mServerless Spring
51mServerless Spring
36mThe fast path to smart serverless with Spring Cloud Function & Azure Functions
34mThawing Java on AWS Lambda
36mRunning Spring in a Serverless Environment
44mHow to develop, run and optimize Spring Boot 3 application on AWS Lambda
