Appendix G. Serverless Framework and SAM
This appendix covers
- An overview of the Serverless Framework 1.x
- An overview of the Serverless Application Model
Automation and continuous delivery are important if you’re building anything on a cloud platform such as AWS. If you take a serverless approach, it becomes even more critical because you end up having more services, more functions, and more things to configure. You need to be able to script your entire application, run tests, and deploy it automatically. The only time you should deploy Lambda functions manually or self-configure API Gateway is while you learn. But once you begin working on real serverless applications, you need to be able to script everything and have a repeatable, automated, and robust way of provisioning your system. In this appendix, we introduce Serverless Framework and the Serverless Application Model (SAM) to help you organize and deploy serverless applications.
Serverless Framework is an all-encompassing tool that can help to define, test, and deploy serverless applications to AWS. It’s supported by a full-time team at Serverless, Inc., and a number of open source contributors from all over the world. It’s a tool that’s used with great success by many companies worldwide to manage their serverless applications.