From the course: Serverless and Microservices for AWS

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Deployment strategies

Deployment strategies

- We'll wrap up this course with a chapter on operations. How can you best develop, deploy, and maintain serverless applications? We've been talking extensively about Lambda functions as the core compute unit for serverless applications. During initial development, the ease of use is awesome. Develop, deploy, run. But what happens when your introduction? If you make changes and deploy your Lambda function, it immediately replaces your previous version. There's no opportunity for testing or for rollback in the event of a problem. The solution to this is versioning. AWS Lambda supports versioning and aliases. When you deploy your Lambda function, its version is set to the special version latest. If you don't do anything else, this will be the running version of your function. Publishing a version makes an immutable copy of the latest version and number sit sequentially. Now, you need to think about aliases. A good first…

Contents