springboot-aws-lambda
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
- Create an Amazon Web Services account
- Install and set-up Serverless Framework CLI
- Install Java 8
Build and Deploy
- To build, run
./gradlew clean build - To deploy, run
serverless deploy