Traffic Shifting using aliases
During the AWS re:Invent 2017 conference, AWS introduced the concept of Traffic Shifting AWS Lambda functions using aliases. By default, an alias of an AWS Lambda function points to a specific version of your Lambda function. When you update the alias to point to a different version of your Lambda function, then the incoming invocation or traffic turns instantly over to the updated version of your Lambda function. This setup can cause potential instabilities introduced by the updated version. To minimize the impact caused by this sudden change of traffic, you can configure the routing-config parameter on your AWS Lambda function, which allows us to point to two different versions of the same AWS Lambda function, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access