Understanding the deployment

So, what actually happens when we run that super easy deploy command? Well, if we use the console output of the service we deployed previously, we can see that there are some log messages.

These log messages show the current deployment progress, which follows the automated steps in the following diagram:

Serverless deployment automated steps

First, the serverless deploy command takes looks at your serverless.yml file and figures out what it needs in order to assemble a CloudFormation template. Then, it checks if there is already a CloudFormation stack that has been deployed. If not, serverless will deploy a new ...

Get Learn AWS Serverless Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.