Versioning and Aliases for Safe Releases
Learn how Lambda versions and aliases let you publish immutable releases, point traffic at them, and roll out changes gradually.
The Problem with $LATEST
Every function has a mutable $LATEST version. Deploying overwrites it instantly, leaving no easy rollback. Versions solve this.
Immutable Versions
Publishing creates a numbered, immutable snapshot of code and configuration. Version 3 will always be exactly what you published.
aws lambda publish-version \
--function-name ordersAll lessons in this course
- Understanding Lambda Runtime & Layers
- Environment Variables and Configuration
- IAM Roles for Lambda Security
- Versioning and Aliases for Safe Releases