In this article, we will discuss "How to Manage AWS Lambda Versioning and Aliases" . The use of AWS Lambda versioning and Aliases are the safest way to manage and deploy the Lambda functions. We can split our production and testing environment easily. No one can apply any kind of change in the published version, because of this our production published version is completely safe for an unwanted or accidental change. I will try to explain both ways such as GUI and Command-Line in this article. Basic Understanding on AWS Lambda Lambda Versions Each of the Lambda versions has a unique ARN. For more details, check the official documentation for Lambda Versions. The function ARN will have a format such as: arn:aws:lambda:us-east-1:xxxxxxxxxxxx:function:test_func:1 "xxxxxxxxxxxx" stands for the AWS account id, and test_func is a Lambda function name. The number 1 at the end of the ARN indicates the version. Also, possible to refer to a function's latest version: arn...
Share, Read & Learn