Skip to main content

Spinnaker Feature – Canary Deployments: Monitoring Test Deployments on a Small Percentage of Servers Before Scaling the Changes to the Rest

Canary Deployments: For monitoring test deployments on a small percentage of servers before scaling the changes to the rest.

  • When would I use it?

When testing a new batch of code or deployments that may or may not break your servers, it should be good practice for developers to push the code to a small subset of canary servers for monitoring. When satisfied with the code’s viability, developers can then deploy the code to the rest of the servers. In contrast, if the deployments break the canary servers only those servers are affected and we limit any downtime your users may experience.

This is best done with immutable infrastructure already deployed, as any issues can be effectively ripped out and replaced with new instances.

  • How does the testing work?

After you successfully deploy to canary servers, you can then run automated or manual tests as well as allow the server to be deployed live for users to interact with. We recommend multiple scaling tests: 1% to 10%, then to 25%, then to 50% and so on because minor issues may balloon out of control when scaled.

If the manual tests or users encounter errors you can take the servers down and review the audit logs. This type of testing allows your users to have continuous access to other live servers and experiencing minimum downtime.

  • How would this work within Spinnaker?

Spinnaker is currently able to utilize Canary Deployments when configured with a pipeline to do so. There will be an update in the future that ships Canary Deployments with Spinnaker itself.

This post is part of a series of posts that describe features in Spinnaker. You can find
all of the related posts here.

Learn More

May 4, 2021
|
by Nikema Prophet

What Does It Mean To Deliver Software At The #SpeedOfLife?

In this blog post, I’m excited to announce the #SpeedOfLife campaign that I will be leading for the month of May. I’m looking forward to getting to know more of the awesome people who make up our DevOps community. What is #SpeedOfLife? #SpeedOfLife is a social campaign meant to highlight users and experts in the […]

Read more

April 23, 2021
|
by Chad Tripod

Armory Enterprise install in 10 minutes

I was introduced to Armory and the open-source project Spinnaker a little over 18 months ago.  Up to that point, I’d worked with numerous open-source and proprietary software and was a specialist in application delivery and data analytics.  I immediately found out that Spinnaker was the continuous delivery platform of choice for many large scale […]

Read more

April 21, 2021
|
by Nikema Prophet

#NikemaLearns About AWS – #4 Officially AWS Certified

I’m an AWS Certified Cloud Practitioner! I took the exam and I passed. I fell behind on blog updates starting about a month ago but I studied up until the day before the test. I was somewhat disappointed in myself for not keeping my schedule but in the end, I passed and that was the […]

Read more