Implementing Traffic Shifting Using SAM and CodeDeploy
Lambda and CodeDeploy make it possible to automatically shift incoming traffic between two function versions based on a preconfigured rollout strategy. This feature allows you to gradually shift traffic to a new function. If there are any issues with the new code, you can quickly rollback and control the impact to your application. Traffic shifting is built right into the AWS Serverless Application Model (SAM), making it easy to define and deploy your traffic shifting capabilities.
In this hands-on lab, you will learn how to use SAM and CodeDeploy to accomplish an automated rollout strategy for safe Lambda deployments.
- Understand how to log in to and use the AWS Management Console.
- Understand how to use the AWS Command Line Interface (CLI).
- Understand how to use
sshfrom the command line.