Serverless Framework
Table of Contents
Serverless Framework
TODO
- https://www.serverless.com/guides/what-is-serverless
- https://www.serverless.com/framework/docs/getting-started
- https://rieckpil.de/aws-lambda-with-serverless-java-and-maven-thumbnail-generator/
- https://rieckpil.de/java-aws-lambda-with-spring-cloud-function/
Advantages
The Serverless framework takes care to create all required AWS resources for our AWS applications. We don’t have to fiddle around with long CloudFormation YAML templates at all.
Installation
We install the Serverless CLI via npm:
npm install -g serverless
Configuration
Once we have an access key and secret for an AWS user, we can store these credentials in a dedicated profile:
Configuring the Serverless AWS credentialsShell
serverless config credentials --provider aws --key ABC --secret XYZ --profile my-aws-username