O'Reilly logo

DevOps for Serverless Applications by Shashikant Bangera

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required