Function versioning and aliases

Now, let's look at how you can manage your Lambda functions for production use with the use of versioning and aliases.

With versioning support for your Lambda function, you have the capability of publishing one or more versions of your AWS Lambda function. As a result, you can have different versions/variations of your AWS Lambda function, such as one version for development, one for production, and one for beta in your development workflow. When you publish a version of your Lambda function, AWS creates an unique Amazon Resource Name (ARN) and once the ARN is created, it can't be changed and is immutable.

AWS Lambda also supports creating aliases for each of your Lambda function version. You can think of an ...

Get Hands-On 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.