Blog
DevOps principles: the Three Ways, CALMS and how to apply them
The DevOps principles from the people who named them: Gene Kim's Three Ways and the CALMS model, the practices each leads to, and a check for your team.
DevOps principles are the few ideas that sit underneath DevOps practices such as continuous integration, automated deployment and monitoring. Two sets are quoted far more than any other. Gene Kim’s Three Ways, published in 2012, are flow, feedback, and a culture of continual experimentation and learning. CALMS grew out of the CAMS model John Willis described in 2010 and stands for culture, automation, lean, measurement and sharing. Below, each principle is given in its author’s own words, followed by the practices it leads to, the thresholds that DORA’s research puts on those practices, a worked example of a small team putting them to use, and a short check you can run on your own team.
Where the DevOps principles come from
The word took hold through devopsdays, a conference first held in Ghent, Belgium, in 2009, which its about page says Patrick Debois founded. No standards body owns the term, so there is no official list of principles. What exists instead are statements from the people who shaped the movement, and a long-running research program, DORA, that has tested which practices go together with better software delivery. Most lists of “7” or “11” DevOps principles you will find online are rearrangements of those sources, which is why this guide goes back to them.
Amazon Web Services gives a typical vendor definition on its What is DevOps page: cultural philosophies first, then practices, then tools, all aimed at delivering applications faster than traditional development and infrastructure processes allow. The order matters. Every source below puts people and the way work moves ahead of any product.
The Three Ways of DevOps
Gene Kim set out the Three Ways in an IT Revolution article from August 2012, The Three Ways: The Principles Underpinning DevOps, and they run through both The Phoenix Project and The DevOps Handbook, which he co-wrote. Each Way describes a direction in which work or information travels.
The First Way: flow, from an idea to the user
Kim’s First Way “emphasizes the performance of the entire system”, as opposed to how well any single department or silo performs. Picture work traveling left to right: a business need becomes code, the code becomes a release, and the release reaches the customer. The aim is to make that journey shorter and steadier. Among the outcomes Kim lists: a known defect is never passed downstream, a local improvement is never allowed to make the whole system worse, and flow is always being increased.
In day-to-day terms, flow comes from small pieces of work. DORA’s guide to working in small batches says that any batch of code taking longer than a week to complete and check is too big. Its guide to trunk-based development reports that teams deliver better when they keep three or fewer active branches, merge into the main line at least once a day, and have no code freezes or separate integration phases. Making work visible, and limiting how much is in progress at once, belong here too: you cannot speed up a queue nobody can see.
The Second Way: feedback, from the user back to the team
The Second Way “is about creating the right to left feedback loops”, in Kim’s words: information about how the software behaves travels back from production and from customers to the people who wrote it, as quickly and as loudly as possible. His outcomes are understanding and responding to every customer, internal and external, shortening and amplifying every feedback loop, and putting knowledge where it is needed.
Martin Fowler’s article on continuous integration, revised in January 2024, turns this into concrete habits. Every push to the main line triggers a build that tests itself. A broken build is fixed right away, and Fowler’s usual advice is to revert the faulty commit so everyone can keep working from the last good state. He calls a build of about ten minutes a reasonable target. After release, the loop continues through monitoring: an error or a slow page should reach the engineers who can fix it, not only the support desk that hears about it from customers.
The Third Way: experimentation and learning
The Third Way is a culture of “continual experimentation, taking risks and learning from failure”. Kim’s outcomes are setting aside time to improve daily work, rituals that reward the team for taking risks, and deliberately introducing faults into the system to make it more resilient.
DORA’s page on generative organizational culture uses Ron Westrum’s typology to describe the difference this makes. In a pathological culture messengers are punished and failure leads to scapegoating. In a generative one messengers are trained, risks are shared, and failure leads to inquiry. The practical sign is what happens the morning after an outage: whether the team writes down what let the problem through, or looks for a person to blame.

What are the five pillars of DevOps?
When people ask for the five pillars of DevOps, the answer they usually want is CALMS. Its starting point is a July 2010 post on the Chef blog, What DevOps Means to Me, in which John Willis described DevOps as CAMS: culture, automation, measurement and sharing. Lean was added later to make CALMS. A 2019 post on the UK Department for Work and Pensions’ digital blog, written by the DevOps lead at a service provider dedicated to the department, says his team borrows heavily from the methods of Damon Edwards, John Willis and Jez Humble, uses CALMS as its model for adopting DevOps, and reads the M as metrics.
| Pillar | What it asks for | What it looks like in practice | A sign it is missing |
|---|---|---|---|
| Culture | Development and operations own the running system together. Willis put "people and process first". | The people who wrote a change can see it in production and hear when it breaks. | Releases are handed to another group, who first learn about them on deploy night. |
| Automation | Repeatable steps run by machines: builds, checks, deployments and environment setup. | Anyone on the team can release with one command, and a server can be rebuilt from code. | The release depends on one person's notes, and only that person can follow them. |
| Lean | Small batches, limits on work in progress, and waiting time treated as waste. | Work is visible on a board, and finished changes reach users within days. | Finished work sits for weeks waiting for the next release window. |
| Measurement | Decisions based on numbers. Willis: "If you can't measure, you can't improve." | The team tracks how long a change takes to reach users and how often a release goes wrong. | Nobody can say whether releases are getting faster or safer. |
| Sharing | Knowledge, tools and lessons spread across teams. Willis called sharing "the loopback in the CAMS cycle". | Incident findings, scripts and runbooks sit where every team can read them. | The fix for last month's outage exists only in one engineer's memory. |
The Three Ways and CALMS describe the same thing from two directions. The Three Ways follow the work and the information about it; CALMS names the conditions a team needs for that to happen. Lean and automation serve the First Way, measurement and sharing serve the Second, and culture carries the Third.
What does DevOps include?
Principles turn into practices, and the practices are what you can actually check. AWS’s page lists continuous integration, continuous delivery, microservices, infrastructure as code (a heading that, on that page, also covers configuration management and policy as code), monitoring and logging, and communication and collaboration. DORA’s capability catalog is longer and more specific. The capabilities it marks as core include version control, continuous integration, continuous delivery, deployment automation, test automation, database change management, monitoring and observability, loosely coupled teams, streamlining change approval and pervasive security, and the catalog also covers trunk-based development.
Microservices appear on AWS’s list, but nothing in the principles requires them. A single, well-built application can be released in small batches through an automated pipeline and watched closely in production, and for many teams that is the better choice; our comparison of monolithic vs microservices sets out when splitting an application pays off.
Security belongs inside the same flow. DORA’s page on pervasive security states that “Security is everyone’s responsibility” and recommends building security testing and controls into the daily work of development, QA and operations: security review of major features from the design stage, preapproved libraries and toolchains, and security checks that run with the automated tests. This is the idea usually labeled DevSecOps.
To see whether the practices are working, DORA’s metrics guide names five software delivery measures. Three describe throughput: deployment frequency, change lead time, and the time taken to recover from a failed deployment. The other two, the change fail rate and the deployment rework rate, describe instability.
Applying the principles: an invented escape-room booking system
The following example is invented to show the principles at work. It describes no client. A company runs three escape rooms and sells every time slot through its own booking website. Two developers maintain the site, and a part-time contractor looks after the server.
Where they start. A release goes out every six weeks, late on a Sunday, by following a document only the contractor understands. Each feature lives on its own branch for about a month, and the week before a release is spent merging branches and fixing what the merges broke. Faults are usually reported by customers who call the front desk. Nobody knows how long a change takes to reach the site.
Flow. The team moves to one main branch and merges into it at least once a day. A planned gift-voucher feature is cut into pieces that each take a few days: a page to buy a voucher, hidden behind a switch until it is ready; redemption at checkout; then the email that delivers the voucher code. Each piece can be released on its own.
Automation. The contractor’s document becomes a deployment script that either developer can run, and the server’s setup is written down as code so it can be rebuilt. Releases stop being a Sunday event.
Feedback. Every push now builds the site and runs its automated checks, and the build is kept short so nobody waits on it. Failed payments and booking errors raise an alert in the developers’ own channel, so the people who made the last change hear about a problem before the front desk does.
Measurement. Once a month the team writes down two numbers: how long changes took from first commit to the live site, and how many releases needed a fix or a rollback. They compare each month only with their own earlier months.
Change approval. The owner used to look over each release before it went out. Each change now gets a peer review in the pull request, which leaves a written record of who approved what.
Learning. When two groups are booked into the same room on a busy Saturday, the developers write a one-page review the following Monday. It asks what allowed the double booking, not who caused it, and the fix includes a check that would have caught it. One afternoon every two weeks is kept for fixing whatever slowed the team down most.
None of these steps needs a new tool or a new hire. Each one is a principle above, applied to a team of three.
Misreadings of the DevOps principles
Hiring a DevOps engineer and calling it done. A specialist can build pipelines and environments, but the culture pillar is about who owns the running system. If developers still never see production, the title has changed and the work has not.
Starting with the tools. Willis put people and process ahead of the tools, and brought the tools in only once the culture is understood. A pipeline that automates a six-week release still delivers every six weeks.
Turning the metrics into targets. DORA’s metrics guide warns against making the measures goals in themselves, against relying on any single one, and against comparing very different applications or teams. A mandate to deploy several times a day invites the number to be gamed. The useful comparison is with your own team’s past.
Treating an approval board as the safety net. DORA’s page on streamlining change approval reports that heavyweight external approval had a negative effect on software delivery performance, and that the research found no evidence it went with lower change fail rates. What DORA recommends instead is peer review recorded in the development platform, plus automation that catches bad changes early.
Assuming speed costs stability. The First Way’s first outcome is never to pass a known defect downstream. Small batches are easier to check, easier to understand when they fail and easier to undo, which is why DORA tracks throughput and instability together.
DevOps principles and SRE
Google’s site reliability engineering workbook gives its own short list of DevOps ideas and presents SRE as one concrete way of carrying them out, with service level objectives, error budgets and a cap on manual operations work. If you are weighing the two approaches for software you already run, our post on SRE vs DevOps covers how they differ and which SRE habits a small team can borrow.
A ten-question check for your team
Answer yes or no for one application your team runs. Each question names the principle it tests.
- Can any one of the developers release to production without following one person’s notes? (Automation)
- Does every change reach the main line within a day of being started? (Flow)
- Is any piece of work that takes more than a week split before it starts? (Flow, lean)
- Does every push trigger a build that checks itself, and is a broken build fixed or reverted the same day? (Feedback)
- Do production errors reach the engineers who made the last change, without a customer reporting them first? (Feedback, culture)
- Can you say how long a change takes from first commit to production, and what share of releases end in a fix or a rollback? (Measurement)
- Are security checks part of the build, not a separate step at the end? (Pervasive security)
- Is a release approved by a reviewer who has read the change, rather than by a meeting? (Flow)
- After the last serious failure, was there a written review that asked what allowed it, and was something changed as a result? (Learning)
- Is time set aside, on a schedule, to remove the thing that slows the team down most? (Learning)
Each “no” marks where the next small change will pay back first.
What our maintenance retainers do with these principles
For systems under our software maintenance and support retainers, dependency scanning flags the security patches that need applying, and every change gets a code review before it goes out. Errors, availability and performance are monitored, and the alerts reach the retainer’s own engineers, the same people who work on the system. When an incident reaches the highest severity, a short written note follows, setting out its cause and the change we made.
If you have live software that needs looking after, tell us what the system does. We reply within one business day.
DevOps principles: common questions
How many DevOps principles are there?
There is no fixed number. The two best-known sets are Gene Kim’s Three Ways and the five letters of CALMS, and they overlap. Lists of seven or more usually split those same ideas into narrower items, such as continuous integration, infrastructure as code and monitoring, which are practices more than principles.
What is the difference between a DevOps principle and a DevOps practice?
A principle says what to aim for: steady flow, fast feedback, a team that learns from failure. A practice is something you do to get there, such as merging into the main line every day or alerting the engineer who made a change. Practices can be checked with a yes or a no; principles are how you decide which practices to adopt.
Do DevOps principles apply to a small team?
Yes, and a small team can often adopt them faster because there are fewer hand-offs to remove. Kim’s Ways and the CALMS pillars apply to any size of team. A team of two or three needs the same short path to production and the same quick feedback, only with fewer people to coordinate.
The full service behind this post: Software Maintenance Services & Support.
Ready to scope your project?
Send us two sentences about what you need. We reply within one business day with the next step and any questions we need answered first.