Canary Deployment
Learn about canary deployment and its pros and cons.
In a blue-green deployment, we perform the testing locally in the green environment and, if successful, switch the entire traffic to it. What if we're required to test the new features against a small set of users who requested them before introducing them to all the customers? Another strategy that large enterprises follow is identifying a test group called beta testers to test these new features. It's often confused with the rolling deployment. Though we're releasing the new version gradually in both cases, the testing happens against a selected set of customers in a canary release.
Deployment steps
A canary deployment commonly involves the following steps:
The first and critical step is identifying the test group. They can be based on selected geography, IP address range, or user proximity. Depending on the size of the customer base, it' common to have 1% to 5% of customers performing the canary testing.
The next step is reconfiguring the load balancer and routing all the traffic from the test group to the green environment.
Once ...