springboot-aws-lambda icon indicating copy to clipboard operation
springboot-aws-lambda copied to clipboard

springboot-aws-lambda

Example bootstrap project for creating and deploying a Spring Boot application to AWS Lambda using the Serverless Framework.

Note: This example uses an in-memory H2 database that is created and initialized when the Lambda function is first invoked. You may notice delay in "cold starts".

Prerequisites

Build and Deploy

  • To build, run ./gradlew clean build
  • To deploy, run serverless deploy