AWS CLI can be very useful for creating automation scripts to manage AWS Lambda functions.
Versions are immutable and cannot be changed once they’re published. On the other hand, aliases are dynamic and their binding can be changed at any time to implement code-promotion or rollback. Adopting Semantic Versioning for the Lambda function’s versions can make tracking changes easier.
In the next chapter, we will learn how to set up a CI/CD pipeline from scratch to automate the process of deploying Lambda functions to production. We will also cover how aliases and versions can be used in the Continuous Integration workflow.