14 ms·
AWS has its own Serverless Application Model (SAM) https://github.com/awslabs/serverless-application-model https://github.com/awslabs/serverless-application-mod
by jaxondu 10y ago
AWS has its own Serverless Application Model (SAM) https://github.com/awslabs/serverless-application-model 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.
- zurn 10y agoServerless supports other providers besides AWS, so it's better if your aren't centered around AWS.
- throwaway2016a 10y agoPersonally 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)