Skip to main content

AWS Lambda Versioning and Aliases from the CLI

Hands-On Lab


Photo of

Training Architect





In this AWS hands-on lab, we will learn to work with Lambda functions and create function versions and aliases from the command line interface (CLI). We will first use the CLI to create a Lambda function. After the function has been created, we can use the CLI to create versions and aliases for the function. The key thing to remember about versions is that any new version we create is immutable, but the $LATEST version can be changed and used to create new versions. Aliases can be pointed to the same function or to different functions, or be moved around as needed. In this lab, we will create multiple versions and aliases and point those aliases to the necessary version. We will also use the AWS Management Console to view the results of what we do from the CLI.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.