Supriya Ghosh (Editor)

DevOps

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
DevOps

DevOps (a clipped compound of "software DEVelopment" and "information technology OPerationS") is a term used to refer to a set of practices that emphasize the collaboration and communication of both software developers and information technology (IT) professionals while automating the process of software delivery and infrastructure changes. It aims at establishing a culture and environment where building, testing, and releasing software can happen rapidly, frequently, and more reliably.

Contents

Overview

In traditional, functionally-separated organizations, there is rarely a cross-departmental integration of these functions with IT operations. But DevOps promotes a set of processes and methods for thinking about communication and collaboration – between departments of development, QA (quality assurance), and IT operations. In some organisations, this collaboration involves embedding IT operations specialists within software development teams, thus forming a cross-functional team – this may also be combined with matrix management.

Etymology

At the Agile 2008 conference, Andrew Clay Shafer and Patrick Debois discussed "Agile Infrastructure". The term DevOps was popularized through a series of "devopsdays" starting in 2009 in Belgium. Since then, there have been devopsdays conferences, held in many countries, worldwide.

The popularity of DevOps has grown in recent years, inspiring many other tangential movements including OpsDev and WinOps. WinOps embodies the same set of practices and emphasis on culture as DevOps, but is specific for a Microsoft-centric view.

DevOps toolchain

Because DevOps is a cultural shift and collaboration (between development, operations and testing), there is no single "DevOps tool": it is rather a set (or "DevOps toolchain"), consisting of multiple tools. Generally, DevOps tools fit into one or more of these categories, which is reflective of key aspects of the software development and delivery process:

  1. Code — Code development and review, version control tools, code merging;
  2. Build — Continuous integration tools, build status;
  3. Test — Test and results determine performance;
  4. Package — Artifact repository, application pre-deployment staging;
  5. Release — Change management, release approvals, release automation;
  6. Configure — Infrastructure configuration and management, Infrastructure as Code tools;
  7. Monitor — Applications performance monitoring, end–user experience.

Though there are many tools available, certain categories of them are essential in the DevOps toolchain setup for use in an organization. Some attempts to identify those basic tools can be found in the existing literature.

Tools such as Docker (containerization), Jenkins (continuous integration), Puppet (Infrastructure as Code) and Vagrant (virtualization platform)—among many others—are often used and frequently referenced in DevOps tooling discussions.

Agile

Agile and DevOps are similar, but, while agile software development represents a change in thinking and practice (that should lead to organizational change), DevOps places more emphasis on implementing organizational change to achieve its goals.

The need for DevOps was born from the increasing popularity of agile software development, as that tends to lead to an increased number of releases.

One goal of DevOps is to establish an environment where releasing more reliable applications, faster and more frequently, can occur. Release managers are beginning to utilize tools (such as application release automation and continuous integration tools) to help advance this goal—doing so through the continuous delivery approach.

Continuous delivery

Continuous delivery and DevOps are similar in their meanings (and are, often, conflated), but they are two different concepts:

  • DevOps has a broader scope, and centers around:
  • Organizational change: specifically, to support greater collaboration between the various types of worker involved in software delivery:
  • Developers;
  • Operations;
  • Quality Assurance;
  • Management;
  • System Administration;
  • Database Administration;
  • Coordinators
  • Automating the processes in software delivery.
  • Continuous delivery, on the other hand, is an approach to automate the delivery aspect, and focuses on:
  • Bringing together different processes;
  • Executing them more quickly and more frequently.
  • They have common end goals and are often used in conjunction, to achieve them. DevOps and continuous delivery share a background in agile methods and lean thinking: small and quick changes with focused value to the end customer. They are well communicated and collaborated internally, thus helping achieve quick time to market, with reduced risks.

    Goals

    The specific goals of DevOps span the entire delivery pipeline. They include improved deployment frequency, which can lead to:

  • Faster time to market;
  • Lower failure rate of new releases;
  • Shortened lead time between fixes;
  • Faster mean time to recovery (in the event of a new release crashing or otherwise disabling the current system).
  • Simple processes become increasingly programmable and dynamic, using a DevOps approach. DevOps aims to maximize the predictability, efficiency, security, and maintainability of operational processes. Very often, automation supports this objective.

    DevOps integration targets product delivery, continuous testing, quality testing, feature development, and maintenance releases in order to improve reliability and security and provide faster development and deployment cycles. Many of the ideas (and people) involved in DevOps came from the enterprise systems management and agile software development movements.

    DevOps aids in software application release management for an organization, by standardizing development environments. Events can be more easily tracked, as well as resolving documented process control and granular reporting issues. The DevOps approach grants developers more control of the environment, giving infrastructure more application-centric understanding.

    Benefits of DevOps

    Companies that practice DevOps have reported significant benefits, including: significantly shorter time to market, improved customer satisfaction, better product quality, more reliable releases, improved productivity and efficiency, and the increased ability to build the right product by fast experimentation.

    However, a study released in January 2017 by F5 of almost 2,200 IT executives and industry professionals found that only one in five surveyed think DevOps had a strategic impact on their organization despite rise in usage. The same study found that only 17% identified DevOps as key, well below software as a service (42%), big data (41%) and public cloud infrastructure as a service (39%).

    Cultural change

    DevOps is more than just a tool or a process change; it inherently requires an organizational culture shift. This cultural change is especially difficult, because of the conflicting nature of departmental roles:

  • Operations — seeks organizational stability;
  • Developers — seek change;
  • Testers — seek risk reduction.
  • Getting these groups to work cohesively — is a critical challenge, in enterprise DevOps adoption.

    Building a DevOps culture

    DevOps principles demand strong interdepartmental communication—team-building and other employee engagement activities are often used—to create an environment that fosters this communication and cultural change, within an organization. Team–building activities can include board games, trust activities, and employee engagement seminars.

    Deployment

    Companies with very frequent releases may require a DevOps awareness or orientation program. For example, the company that operates the image hosting website Flickr developed a DevOps approach, to support a business requirement of ten deployments per day; this daily deployment cycle would be much higher at organizations producing multi-focus or multi-function applications. This is referred to as continuous deployment or continuous delivery and has been associated with the lean startup methodology. Working groups, professional associations and blogs have formed on the topic since 2009.

    DevOps and architecture

    To practice DevOps effectively, software applications have to meet a set of architecturally significant requirements (ASRs; such as: deployability, modifiability, testability, and monitorability). These ASRs require a high priority and cannot be traded off lightly.

    Although in principle it is possible to practice DevOps with any architectural style — the microservices architectural style is becoming the standard, for building continuously deployed systems. Because the size of each service is small, it allows the architecture of an individual service to emerge through continuous refactoring, hence reduces the need for a big up front design and allows for releasing the software early and continuously.

    Scope of adoption

    Some articles in the DevOps literature assume, or recommend, significant participation in DevOps initiatives from outside an organization's IT department, e.g.: "DevOps is just the agile principle, taken to the full enterprise."

    A survey published in January 2016 by the SaaS cloud-computing company RightScale, DevOps adoption increased from 66 percent in 2015 to 74 percent in 2016. And among larger enterprise organizations, DevOps adoption is even higher — 81 percent.

    Adoption of DevOps is being driven by many factors — including:

    1. Use of agile and other development processes and methods;
    2. Demand for an increased rate of production releases — from application and business unit stakeholders;
    3. Wide availability of virtualized and cloud infrastructure — from internal and external providers;
    4. Increased usage of data center automation and configuration management tools;
    5. Increased focus on test automation and continuous integration methods;
    6. A critical mass of publicly–available best practices.

    Incremental adoption

    The theory of constraints applies to the adaptation of DevOps: the limiting constraint is often the ingrained aversion to change from departments within the enterprise. Incremental adoption embodies the methodology the "Theory of Constraints" provides for combating any constraint, known as “The five focusing steps”.

    The incremental approach centers around the idea of minimizing risk and cost of a DevOps adoption whilst building the necessary in-house skillset and momentum needed to have widespread successful implementation across the enterprise. Gene Kim’s "Three Ways Principles" essentially establishes different ways of incremental DevOps adoption:

    The first way: systems thinking

    The emphasis is on the performance of the entire system, as opposed to the performance of a specific or single department or individual. Focus is also on all business value streams that are enabled by IT. A key aspect of this approach is ensuring that known defects are never passed along, e.g., from QA to operations.

    The second way: amplify feedback loops

    The emphasis is on increasing feedback and understanding of all teams involved. The outcomes of this will be: increased communication and responding to all customers (internal and external), shortening and amplifying all feedback loops, and embedding knowledge where and to whom it’s needed.

    The third way: culture of continual experimentation and learning

    Two things are equally important: experimentation and practice. Embedding this in the working culture—where learning from taking risks, and repetition and practice are encouraged—is key to mastery. Risk taking and experimentation—promoting improvement and mastery—provides the skills, required to revert any mistakes.

    References

    DevOps Wikipedia