Re:AWS Lambda – Best practices
by jaxondu on Thursday March 02, 2017 @07:14AM
(#13773496)
AWS has its own Serverless Application Model (SAM) https://github.com/awslabs/serverless-application-model released last Oct. Rather than learning another framework, you'd use the same CloudFormation yaml syntax to define your stack and apps. It simplifies calling Lambda functions by providing a higher level abstraction triggers called Events. This makes it simpler to create Lambda functions for Rest API, Cron schedule, IoT devices, create Alexa skills, response to S3 events etc. Then its just "aws cloudformation package" and "aws cloudformation deploy" to create and update your app. It appears AWS team is learning the best from Serverless Framework. If you not mind the vendor lockin, SAM is the way to go. Serverless Framework has the promise of using the same tool against AWS Lambda, Google/Azure Functions and IBM OpenWhisk.
[ Parent
| on HN ]
Re:AWS Lambda – Best practices
by throwaway2016a on Thursday March 02, 2017 @09:42AM
(#13774258)
Personally I use the Serverless framework which supports other cloud providers and is generally more on the cutting edge than SAM (and pre-dates SAM).
But SAM is certainly a valid option if you are OK with vendor lock in. (which many people are)