Setting up canary deployment 

Once the initial setup is complete, we will tell the serverless canary deployment plugin to split the traffic between the last two versions and gradually shift more traffic to the new version until it receives all the load. 

The following are the three types of gradual deployment that we can implement using AWS's CodeDeploy: 

  • Canary: The traffic is shifted to a new version during a certain period of time, and when the time elapses, all the traffic will have moved to the newer version
  • Linear: The traffic is shifted to the new version incrementally at intervals until it gets all of the traffic
  • All at once: All the traffic is shifted to the new version at once

We need to be specific as to which parameter and type ...

Get DevOps for Serverless Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.