DevOps
DevOps is a way of working that brings software development and IT operations together. It uses shared ownership of a service, automation of build, test and release steps, and fast feedback, with the aim of releasing small changes frequently and reliably.
What it is
DevOps is an organisational model in which the people who build software and the people who run it work as one group with shared ownership of the service. Development (writing and changing the software) and operations (running it in production and keeping it available) stop handing work over a wall. Automation carries each change from the developer to production, and monitoring feeds results back to the people who built it.
The practices that make up the model are:
- Continuous integration (CI): developers merge changes into a shared code repository often, and each merge triggers an automated build and tests.
- Continuous delivery: every change that passes the tests is prepared for release to a test or staging environment. Continuous deployment goes one step further and releases to production automatically.
- Infrastructure as code: environments are defined in files that are versioned and applied by automation.
- Monitoring and feedback: the running service is observed, and incidents and metrics return to the team that owns it.
- Shared responsibility: one group is accountable for a change from its design to its operation.
A related term, DevSecOps, adds security checks to each stage of the same pipeline.
Why it matters
When development and operations are separate, each release is a large batch of changes with a long gap between writing and running the code. Faults are found late, and the person who fixes them did not write the change. DevOps shrinks the batch, so a fault points to a small change that can be reversed quickly.
In regulated finance, the same pipeline produces a record of who changed what and which tests passed, which supports change control and ICT risk management.
Worked example
Illustrative numbers. A team releases a payments reporting service.
- Before: one release every 4 weeks with 40 changes. A fault is found in production and the cause lies among 40 changes.
- After: releases of 2 changes each, made 20 times in the same 4 weeks (40 changes in total). A fault points to at most 2 changes.
- Each change runs through the pipeline: automated build, unit tests, regression tests, deployment to staging, then release after approval.
- If a fault is found, the team reverts the 2 changes and the service returns to the previous state.
Who uses it
- Software engineers and quantitative developers write the code and the automated tests that the pipeline runs.
- Product owners decide which small change goes next and accept the result in production.
- Service delivery managers set the operating expectations for the service and read incident and availability data.
- Release and platform engineers maintain the pipeline, the environments and the monitoring.
Common confusions
- DevOps is not a job title or a toolset. It is a way of dividing responsibility, supported by tools.
- Continuous delivery is not continuous deployment. Delivery keeps every change ready to release; deployment releases it without a manual step.
- Automation does not remove approval. Controls can sit in the pipeline as required checks and sign-offs.
- DevOps is not the same as agile. Agile governs how requirements are planned and built; DevOps governs how the result is released and run.