June 2017
Intermediate to advanced
400 pages
10h 32m
English
AWS Lambda makes it easy to run functions on demand without maintaining a server. Apex provides facilities for deploying, versioning, and testing functions as you ship them to Lambda. It also provides a shim that allows us to execute arbitrary Go code. This is accomplished by defining a handler, processing incoming request payloads, and returning a response, which is a very similar flow to a standard web handler.
In this recipe, we initially took a name input and greeted that name. Later, we split the name into a first and last name, taking advantage of versioning. It would also be possible to deploy a separate function instead. It's possible to roll back with apex rollback greeter as well.
Read now
Unlock full access