Jul 17, 2018 by Alex Bello
Successful software delivery involves a combination of fast feedback from development through production, quick cycles that integrate production knowledge into the next release, and continuous improvements to the entire pipeline.
Each focus area tracks different data. Lead times capture time from idea to production. Telemetry data like response latency, error counts, and MTTR inform the team about production operations. Higher level metrics like change fail rates and deployment frequency provide the foundation for continuous improvement initiatives. Teams bend over backwards just to track this data—not to mention the effort that goes into acting upon said data.
Spinnaker powers the core of Armory’s Platform, which provides data and tooling to improve delivery performance. Armory acts as your team’s single pane of glass, enabling them to examine data in order to understand and control production operations, and automating many of the functions (like canary deployments) that were previously done manually — if at all.
Spinnaker is Armory’s foundation. Spinnaker was originally designed and developed by the continuous delivery pioneer, Netflix. Netflix built and refined their continuous delivery process with AWS using Spinnaker. The open-source community extended the same feature set to Google Cloud, Microsoft Azure and Kubernetes. Spinnaker provides safe and consistent deployments to all of these platforms, whether it’s deploying VMs, containers or both (and support for serverless is already being built). Beyond that, Spinnaker’s features make it easier to run and maintain applications once they have been deployed. Pairing contextual information with action items creates a single pane of glass for development and operations.
Spinnaker provides a “golden path, with guardrails” level of standardization across deployent targets and clouds, and visibility into all your cloud infrastructure.
The applications page is at Spinnaker’s core. The above image is from the official Spinnaker ebook. Box 1 shows the current application, box 2 shows the cluster and its health in the PROD account, box 3 shows a single server group with one healthy instance running version 001 from build number 189, and box 4 shows specific infrastructure details along with quick actions and logs. All of this information is provider-agnostic, so interactions are the same whether the applications run on Amazon AWS, Google GCP, Microsoft Azure or Kubernetes.
This beats working in each cloud provider’s admin console. Let’s assume for a moment that the “spindemo” application runs on AWS. The topology, such as autoscaling groups, EC2 instances, and ELBs, is available in one section of the console. Health may be in CloudWatch or EC2. Application logs likely live in a separate logging solution, so they are not even in the AWS console. These examples barely scratch the surface of how disjointed this information can be—and that does not even account for different cloud providers.
Information provides insight, which leads to action. Typically, users have to go elsewhere to act. The single pane of glass puts actions beside contextual information.
This screenshot from Armory’s demos shows what can be accomplished from the control panel: rollback, resize, destroy, and clone. Engineers (or even product owners) can initiate rollbacks if there is a problem. Is the application under-load or over-capacity? If so, you can adjust the capacity. Again, remember that these actions are infrastructure-agnostic. The screenshot shows an application running on Kubernetes. These actions would work the same way for non-containerized applications, as well.
Both rescaling and autoscaling are important to teams and end users. Autoscaling reduces cost while also adjusting to end users’ demands. Spinnaker bakes autoscaling into the platform. The following screen demonstrates creating a scaling policy that tracks average CPU utilization. Spinnaker contextualizes the target values with historical data so engineers can make more informed decisions.
Safety of software deployments affects the rate at which applications are delivered to customers. Unfortunately with the multitude of health metrics being emitted by each deployed application outside of the deployment process, it is not easy to visualize in context and take actions to improve your application’s general health.
Armory enhances Spinnaker with a turn-key SLA measurement service in order to ensure you are constantly measuring and improving the safety of your deployments. The SLAs are defined using existing application health metrics integrated into Spinnaker to provide a single pane of glass.
In order to increase deployment velocity and pace of innovation, Spinnaker provides several features aimed at mitigating the risk of deployments. One way, is to include canary stages as a part of the deployment pipeline. The canary stages send a percentage of production traffic to a new build of the application and analyze key metrics to determine whether the new build causes stability problems. Spinnaker integrates with underlying telemetry providers like Datadog and Google Stackdriver and performs automated canary analysis to determine whether to promote the new build to production.
Users may configure canary stages based on metrics like HTTP response latency and response counts without leaving Spinnaker. Spinnaker also provides history and reports. The screenshot below shows a canary report in action.
Automation aside, Spinnaker understands that manual sign-offs are sometimes needed to ensure stability and are a stepping stone to full software delivery automation. Sign-off may come from the QA team, a sales lead, or managers. Spinnaker bakes this directly into the pipeline management.
The manual judgement stage allows people to decide when it is appropriate to deploy to production. It is also customizable with questions so that it can be more than just a yes/no decision. The screenshot above shows a manual judgement before deploying to production. This stage, like any other stage, can split off into actions like triggering emails, paging the on-call person, or proceeding with the deployment.
Another example of the low-effort solution for mitigating risk and ensuring the safety of your deployments is to gate deployments to specific time windows. The image below shows a scheduled window overlayed with traffic data.
Everything we have covered so far applies to existing applications, but Armory also extends Spinnaker for quickly launching new applications and adapting to existing workflows.
Armory’s one-click apps turn Spinnaker into a platform for launching new applications in a quick and consistent way. One-click apps automates the entire new application bootstrapping process: creating the git repo, configuring CI with Jenkins, and building a deployment pipeline. All of the existing features apply after the application has been created. In other words, Armory users do not need to leave the single pane of glass.
Spinnaker also supports custom stages to adapt and integrate into existing deployment workflows. Custom stages can have their own UIs, data, and business processes. Some examples of this are running a load test, executing Terraform scripts, flipping feature flags for some users, and simply filling the gap between Spinnaker and existing technology. Providing custom stages keeps Spinnaker at the center of production operations and the release process.
Spinnaker’s single pane of glass design centralizes deployment pipelines while ensuring adherence to continuous delivery best practices. It can configure canary stages, manage auto-scaling policies, integrate manual decisions, and handle everything related to deploying and rolling back applications.
Features are agnostic to the underlying technology. Teams can shift between AWS, Google Cloud, Microsoft Azure, and deploying Kubernetes applications to either cloud provider. How many other deployment systems can do that?
These features make Armory the best choice for enterprise teams to adopt continuous delivery, deploy applications, and manage production operations. Not feeling sure yet? Take Armory for a test run and see just how much is at your fingertips.
Software deployment processes differ across organizations, teams, and applications. The most basic, and perhaps the riskiest, is the “big bang deployment.” This strategy updates all nodes within the target environment simultaneously with the new software version. This deployment strategy causes many issues, including potential downtime or other issues while the update is in progress. It […]
Read more →
Multi-target deployments can feel tedious as you deploy the same code over and over to multiple clouds and environments — and none of them in the same way. With an automatic multi-target deployment tool, on the other hand, you do the work once and deliver your code everywhere it needs to be. Armory provides an […]
Read more →
KubeCon+CloudNativeCon EU is one of the world’s largest tech conferences. Here, users, developers, and companies who have and intend to adopt the Cloud Native standard of running applications with Kubernetes in their organizations come together for 5 days. From May 16-20, 2022, tech enthusiasts will congregate both virtually and in person in Valencia, Spain to […]
Read more →