June 5, 2017 By Christopher Gallo 4 min read

What is DevOps? Think, Code, Deploy, Run, Manage, Learn

Creating a DevOps workflow from scratch can be a daunting task. Luckily creating a DevOps solution is not too terribly difficult. This post will help guide you through all the new terms and functionality so that  you can answer the question:

“What is Devops?”

DevOps is an approach that promotes closer collaboration between lines of business, development and IT operations. It is an enterprise capability that enables the continuous delivery, continuous deployment and continuous monitoring of applications. It reduces the time needed to address customer feedback. Development and operations, and even testing, were often siloed in the past. DevOps brings them together to improve agility.  In this post to explore “What is DevOps?” we will be covering the following basics of a DevOps workflow: Think, Code, Deploy, Run, Manage, Learn

Getting started with Bluemix DevOps is the home for all DevOps needs in the Bluemix portal.

  • ToolchainsA collection of applications and custom integrations that support your application.

  • PipelineA series of scripts that run in sequence to build and deploy your application

  • Continuous Delivery: Changes are be deployed continuously, and automatically.

To get started, Create a toolchain, and select an appropriate template to your application.

Think

The Think stage is were a developer will take their idea and write it down.

  • Github Issues: Ideal for public facing projects already on github.com

  • Bluemix Github Issues: Bluemix has a hosted version of GitLab community Edition that integrates very strongly with toolchains, and is idea for private or new projects.

  • Jira: An integration is available for projects that already have a backlog tracked in Jira.

Code

Now that we can track changes to our project with issues, its time to actually write some code! As part of the toolchain Bluemix provides access to Eclipse Oriion IDE which is a great tool for editing code online, managing changes to git, and tracking its deployment to cloud foundry.

Deliver

Next is the Deliver step, which is where most of the “magic” of DevOps comes into play. The Delivery Pipelinestarts with a trigger. The trigger can be an API call, or more commonly a change to the git repository.

The first stage will check out the code and make the files available to the pipeline as an artifact. Next come the test stage, which ensures new changes didn’t break anything. Then comes the deploy stage, making the new changes available.

Each stage in the pipeline is broken down into Jobs. Which can be as simple as a bash script, to more full featured jobs like Ant or Maven builders. Most noteworthy is the inclusion of some advanced testing that brings in the power of Watson to analyze the codebase, like the DevOps Insights plugin. Included in the testing jobs are some advanced functionality like the AppScan Dynamic Analyzer and IBM Security Static Analyzer, all of which help you gather robust information about your project that might have gone unnoticed otherwise.

Run

At the end of a delivery pipeline, your application should be running, either in a development or production environment. Bluemix offers a variety of options on how to get your code out on the Internet.

  • Cloud Foundry: Uses a Diego Container to run an application in an isolated environment.

  • Docker / Kubernetes: Package your application into a container and deploy it as needed.

  • Bare metal / VMs: Bluemix handles the hardware management, but give you full control over the operating system to run your applications with as little overhead as possible. Deploying changes here can be a bit challenging, so software like UrbanCode Deploy can greatly reduce the manual steps involved in deploying changes to bare metal environments.

Manage

After an application is running, keeping it running is also very important. Bluemix has a variety of tools to help with monitoring and manageing applications. One of the most obvious to get setup first is the Availability Monitoring service, which not only allows you to test if your application is responding, but how well it is responding from around the world, along with being able to perform Selenium tests.

Selenium tests are probably the best way to simulate user actions by recording actual mouse clicks and button presses into a HTML document, which can then be used to create a scripted test. In addition to scripted tests, the monitoring service can poll specific pages.

Learn

Bluemix keeps some of its more distinct and interesting features in the Learn phase.Developer Insights is one such tool that not only can be used to find problem areas in a code base, and it can also be integrated into a tool chain with a Insight Gate to make sure any new commit is of sufficient quality before being released. Along with Developer Insights is the Delivery Insights which integrates with Urban Code Deploy to provide insights into how well your deployments go.

Repeat

Finally we have successfully completed one cycle of the Bluemix Garage Method! From here the cycle repeats, again and again. Hopefully you now understand the answer to the question “What is DevOps?” Want to see it live? Then register for “IBM Bluemix 101: How to Solve DevOps Dilemmas” on June 8th!

Join my webinar to see all of this in action!

Was this article helpful?
YesNo

More from Cloud

The history of the central processing unit (CPU)

10 min read - The central processing unit (CPU) is the computer’s brain. It handles the assignment and processing of tasks, in addition to functions that make a computer run. There’s no way to overstate the importance of the CPU to computing. Virtually all computer systems contain, at the least, some type of basic CPU. Regardless of whether they’re used in personal computers (PCs), laptops, tablets, smartphones or even in supercomputers whose output is so strong it must be measured in floating-point operations per…

A clear path to value: Overcome challenges on your FinOps journey 

3 min read - In recent years, cloud adoption services have accelerated, with companies increasingly moving from traditional on-premises hosting to public cloud solutions. However, the rise of hybrid and multi-cloud patterns has led to challenges in optimizing value and controlling cloud expenditure, resulting in a shift from capital to operational expenses.   According to a Gartner report, cloud operational expenses are expected to surpass traditional IT spending, reflecting the ongoing transformation in expenditure patterns by 2025. FinOps is an evolving cloud financial management discipline…

IBM Power8 end of service: What are my options?

3 min read - IBM Power8® generation of IBM Power Systems was introduced ten years ago and it is now time to retire that generation. The end-of-service (EoS) support for the entire IBM Power8 server line is scheduled for this year, commencing in March 2024 and concluding in October 2024. EoS dates vary by model: 31 March 2024: maintenance expires for Power Systems S812LC, S822, S822L, 822LC, 824 and 824L. 31 May 2024: maintenance expires for Power Systems S812L, S814 and 822LC. 31 October…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters