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