DevOps Automation

DevOps Automation

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#DevOps
 View Only

What’s New: Introducing the Instana Plugin for IBM UrbanCode Deploy

By Randall Langehennig posted Thu August 17, 2023 12:06 PM

  

What’s New: Introducing the Instana Plugin for IBM UrbanCode Deploy

Author: Randy Langehennig

Date: August 17, 2023

Overview

The purpose of this blog post is to highlight how IBM UrbanCode Deploy, a leading application release automation solution used by our clients across the globe, has a new plugin that allows you to integrate with IBM Instana.   You can leverage the new plugin to send a ‘release marker’ to Instana at a scope level you specify.   This benefits our clients in helping them to improve collaboration, reduce Mean Time to Repair (MTTR), and accelerate insight on release impact.

The Business Challenge

Customers expect the services they depend on to be available 100% of the time.   The last thing you have during an outage is time.   You need to be quick to identify or detect issues and you also must be quick in your remediation.    When a service, software offering or application is not available, customers have options and may explore alternative solutions.  The result could be a reduction in revenue for the business and negative impact to brand loyalty.

Imagine a scenario where you have deployed an update to an online store you provide as a hosted solution for a customer.   Imagine that you do not have solid DevOps practices in place as well as an observability solution.   Now imagine that this release of the updated application resulted in a two-week search for what brought down the entire system.   Have you ever experienced a scenario like this?   I have and stories like this one are more common than you might imagine.   The impact on your business can be significant.   You quickly realize that solid DevOps practices and Observability work together to ensure success.

The Solution

Applying a DevOps mindset can help reduce silos between development and operations.   Collaboration between developers, operations, and product owners is key to drive reliability and resiliency into your solutions.   IBM UrbanCode Deploy has been helping our clients adopt DevOps for years now which includes helping our clients to:

  • Create repeatable and reliable deployment processes from DEV all the way to PRODUCTION.
  • Develop quality gates in their pipelines to detect issues earlier in the software development lifecycle (shift-left).
  • Automate testing and validation as part of application deployments.

With the introduction of the Instana Plugin for IBM UrbanCode Deploy, we can now help take the concept of DevOps to the next level.   As a deployment is initiated in UrbanCode Deploy, we can now alert the SRE by sending a ‘Release Marker’ to Instana.  

A release marker will indicate the moment in time when a change is introduced to an environment.   In the Instana web console, you will see a notification of the release as shown below:

Instana will then decorate the telemetry (CPU, Memory, Disk, Calls, Erroneous Call Rate as examples) with a release icon so an operator can observe the impact of change at the time of the release.    Here is an example:

A release marker provides two pieces of information:

  • Name: the user-defined release name (example: AceCapital-Banking-QA-3.0.34).   The best practice is to include the name of the application you are deploying (AceCapital-Banking) followed by the target environment (QA) and the version label for what was deployed (3.0.34).  
  • Release time: the point in time when the release has happened (2023-08-15, 11:29:09).

An operator can observe changes in behavior from the point a release takes place.   They may observe a spike in erroneous calls, latency issues, or issues with resource consumption like CPU or Memory as an example.   This notification of the release helps operators in accelerating insights, reducing mean time to detection, and in ensuring the site is reliable for their clients.

Of course, if the issue observed is such that you need to quickly rollback to a working version of the application, you can do this easily using IBM UrbanCode Deploy.   UrbanCode Deploy allows you to select the previous snapshot or component version(s) and quickly rollback which will help avoid downtime for your clients.   This helps to improve Mean Time to Resolution (MTTR).

Instana Plugin for IBM UrbanCode Deploy

Interested in learning more?   You can download the Instana plugin for IBM UrbanCode Deploy from the following location:  https://urbancode.github.io/IBM-UCx-PLUGIN-DOCS/UCD/#ibm-instana

Once you have the plugin installed, you will find three steps available to you in the component process step palette as highlighted below:

Using the plugin step, you can add a release marker in Instana at three different scopes:

  • Global Perspective
  • Application Perspective
  • Service Perspective

In Instana, you can see the scope in the list of releases as shown below where "nginx-web" is a Service, "AceCapital-Banking" is a Application, and "Global" will decorate the telemetry with the release marker in every view within Instana's web console:

Here is an example of a component process step to create a release marker for an application called ‘AceCapital-Banking’:

NOTE: It is a best practice for the release marker title/name to include the application name, the target environment, and the version label of what was deployed.

You will provide the Instana Base URL as well as an API Token used for authentication.   When you create the API Token in Instana, be sure to enable ‘Configuration of releases’ as shown below:

Summary

Looking for a solution to improve your DevOps and Site Reliability Engineering practices?   The combination of IBM UrbanCode Deploy and Instana working together can help.  

IBM UrbanCode Deploy helps our clients by providing:

  • Reliable and Repeatable processes from DEV to PRODUCTION
  • Over 150 plugins to integrate with tools like Rational Test Automation Server (RTAS) and Instana
  • Quality Gates to ensure good quality code is progressing through your pipeline
  • Methods for rolling back or rolling forward which accelerates Mean Time to Recovery (MTTR)

Instana provides:

  • Ability to observe the full stack that makes up your applications with one second granularity and no sampling.   This greatly reduces Mean Time to Detection (MTTD).
  • Discover and address hidden issues that you may not know exist.
  • Integrate with IBM UrbanCode Deploy to notify operators of Releases with the use of Release Markers.   This enables better collaboration between Dev and Ops.

In the end, the solutions work together to:

  • Improve Collaboration
  • Accelerate Insight on Release Impact
  • Decrease Mean Time to Recovery (MTTR)
0 comments
18 views

Permalink