Go Days Berlin workshop for building AWS Lambda using Golang and Serverless platform.
TBD
- Go
- Dep
- AWS account, AWS CLI, security credentials
- NodeJS
- Serverless platform
dep ensure - installs required packages
serverless - to view list of commands (btw endpoints can be invoked locally)
make build - builds binaries (check Makefile)
make deploy - deploy binaries to S3 and then create Lambda functions.
-
world - lambda execution with response and message;
-
hello - with query parameter and response as JSON;
-
short-url - single endpoint for POST URL aliases to Dynamo DB, and GET full URL by alias.