December 2019
Intermediate to advanced
382 pages
9h 43m
English
The first and most basic method is to deploy everything at once. This includes the infrastructure (such as Lambda, API Gateway, and DynamoDB), the function code, and any configuration that's required. This is the pattern we have been using throughout all the examples in this book.
The good thing about the Serverless Framework is that, if you already have a whole stack deployed, the framework will update the deployed CloudFormation stack instead of deploying an entirely new environment, provided you are deploying to the same stage. CloudFormation can then make a decision about which parts of the template have changed and update the resources accordingly. It also knows how to handle updates for each service, for example, ...