DevOps Architecture

DevOps Architecture: One Pipeline for Build and Ship

DevOps Architecture: One Pipeline for Build and Ship

About this article

This article is the first article in the “DevOps Architecture” category of the Architecture Crash Course for the Generative-AI Era series. It covers the big picture of DevOps and operations architecture.

The “build machinery (VCS, CI/CD, test, review, dev environment)” and the “keep-it-running machinery (monitoring, logs, SLO, incident, SRE)” are treated as a single connected lifecycle. With DevOps and SRE adoption, the line between dev and ops has dissolved; designing them as separate jobs is obsolete as of 2026. This article works as the map for all 15 articles in the category.

A full list of all articles in this category, with summaries and learning points, is available at the following page.

DevOps Architecture (DevOps / SRE) — Article Indexen.senkohome.com/arch-intro-index-devops/

Before you read this

This article is mostly about the flow of building, testing, releasing and monitoring a service. If IT vocabulary is unfamiliar, reading the primer "From Development to Operations" first makes it far easier to follow. You can also look anything up in the glossary as you read.

What is DevOps architecture in the first place

Picture a factory production line. If the product-design department and the line-operations department were completely separated, problems like “can’t build to spec” and “the line is down but design doesn’t know” would happen constantly. Unifying both into a single line is modern factory management.

DevOps architecture is the same idea. It is the discipline of designing the code-writing machinery (VCS, CI/CD, test, review) and the keep-it-running machinery (monitoring, logs, SLO, incident response) as a single connected lifecycle.

If dev and ops are separate, every release triggers a tug-of-war between “dev wants to ship” and “ops wants to stop”, and incidents devolve into blame games.

Why development and operations are designed as one

First, because the same code runs in a straight line from development to production. Configuration management, CI, deployment and monitoring are joined into a single pipeline, and modern software is integrated enough that optimising one side alone is meaningless wherever you cut it.

Second, because the era of measuring both on the same metrics has arrived. The four DORA metrics — deployment frequency, lead time, MTTR, change failure rate — assume that development speed and operational stability are measured by the same formula. Improving only one of them does not move the numbers.

Third, because the AI era assumes “operations as code.” IaC and GitOps are the main battlefield, and operations runs on the same skill set as development. Operations by hand over SSH, editing configuration files, is debt in the AI era.

The dichotomy of “development” and “operations” is an afterimage of the organisation chart; in practice it is one river.

The full lifecycle covered in this chapter

DevOps/SRE Lifecycle Overview Like a factory production line. Design → Production → QA → Shipping → Operations connected in one line Development Phase Configuration (Git, branches) Dev Environment & Local Execution Code Review (PR Operations) Test Design & CI Write code and ensure quality Release CD Pipeline Deployment Strategy Feature Flag Deliver safely to production Operations Phase Monitoring & Observability Log Design (Structured Logs) SLO / SLI (Reliability Targets) Incident Response Systems that keep running Continuous Improvement SRE Practices Toil Reduction Post-mortem Feed ops insight back to dev Feedback Loop (Operations → Development Cycle) Cross-cutting Themes: Documentation / Ticket Management DORA 4 Metrics: Deployment Frequency / Lead Time / MTTR / Change Failure Rate The dichotomy of "Development" and "Operations" is a thing of the past. In practice, they flow as one river

Read this chapter left to right and you have the full path from “becomes code” to “is delivered” to “keeps running” for one application. Each article stands alone, but starting with DevOps & SRE: The Big Picture makes the ordering click.

The reason for that order is as follows.

All 15 articles are organized into 4 phases + 2 cross-cutting themes.

  • Development phase (VCS -> dev environment -> review -> test -> CI): the flow from writing code to ensuring quality.
  • Release phase (deploy strategy): delivering quality-assured code to production.
  • Operations phase (monitoring -> logs -> SLO -> incident response): the machinery that keeps production running.
  • Continuous-improvement phase (SRE practices): feeding ops insights back to dev, closing the cycle.
  • Cross-cutting themes (documentation, ticket management): the process foundation spanning all phases.

These 4 phases are not one-directional — they cycle. Problems found in operations flow back to development; SRE practices improve the dev process. The DORA 4 metrics measure the speed and quality of this cycle with a single formula.

Article ordering

#ArticleStage
01DevOps & SRE: The Big PictureMap of the chapter
02VCSGit, branching strategy
03Dev environment & local executionDeveloper experience
04Code reviewPR operation
05Test designAutomated test strategy
06CI/CDPipeline design
07Deploy strategyCanary, Blue-Green
08Monitoring & observabilityMetrics, traces
09Logging designStructured logs
10SLOs and SLIsReliability targets
11Incident responseOn-call, postmortems
12SRE practicesContinuous improvement, toil reduction
13DocumentationCross-cutting, long-lived
14Tickets and project managementCross-cutting, decisions

What this chapter decides

Each article covers its own subject in detail; listing the decisions up front works as a map.

  • Development process: Git hosting (GitHub and the like), branching strategy (GitHub Flow, trunk-based), CI/CD (GitHub Actions and the like), the ratios in the test pyramid, review policy (approvals, CODEOWNERS), development environment (Docker Compose, dev containers), where documents live
  • Operations: monitoring tools (Prometheus, Datadog), the logging platform, distributed tracing (OpenTelemetry), SLO and SLI definitions, alert conditions (static thresholds or SLO burn rate), notification targets and the on-call rota, error-budget operation
  • Release and cross-cutting: deployment strategy (blue-green, canary), feature flags, rollback policy, backups and restore rehearsals, capacity planning, ticket operation (Jira, Linear, GitHub Projects)

Keeping decisions like these as ADRs is part of this chapter’s subject too.

Service-type × maturity ladder

Note: industry rates as of April 2026. Periodic refresh required.

DevOps investment levels vary heavily by service type. Both running finance-grade SRE on an MVP and leaving manual deploys on a payment system are sources of incidents.

Service typeSLODeployMonitoringOn-callAnnual ops cost
Internal tool99%Manual or light CDCloudWatch standardBusiness hours only~$1k
General B2C web99.9%CD + CanaryDatadog free / Grafana Cloud2-3 part-time + PagerDuty~$10k
B2B SaaS99.95%Multiple/day + feature flagsDatadog / New Relic2-3 dedicated SREs~$100k
Finance / payment99.99%Strict staged releaseSIEM + UEBA + APM24/7 SRE + SOC~$1M+
Telco / utilities99.999%Quarterly / annualEnterprise integratedFollow-the-Sun~$10M+

The construction cost between 99.9% and 99.99% differs by several multiples. Without a numeric agreement with the business, “as high as possible” is the road to bankruptcy. 100% is not a goal — that’s the ideology threading through the whole chapter.

SLO is a numeric agreement with the business. “Don’t go down” never converges as a sentence.

The three pillars of operations design, and the core of SRE

The core of operations is monitoring, logs, distributed tracing. The framing of treating them as one is observability (a design philosophy that lets you investigate unknown problems after the fact). Missing any one turns the system into a black box.

PillarRoleTools
MonitoringVisualize state in numbersPrometheus / Datadog / CloudWatch
LoggingRecord events as textLoki / Splunk / CloudWatch Logs
Distributed tracingTrace request pathsJaeger / Tempo / X-Ray

The current standard is to send unified data through OpenTelemetry (the standard spec for monitoring data) and view it across tools in Grafana or Datadog. The first decision is not the tool — it’s standardizing instrumentation.

The core of SRE comes down to two things: the SLO and the error budget.

The substance of SRE comes down to SLO and error budget (the “how much breakage is OK” within the SLO). With a 99.9% monthly availability SLO, ~43 minutes/month of downtime is allowed; that is the error budget.

Within budget, push releases. Past budget, freeze releases and focus on stabilization. That’s the SRE method of “running speed and reliability on the same metric.”

ConceptMeaning
SLIMeasured value (response time, success rate, …)
SLOInternally agreed target
SLACustomer contract (compensation if missed)
Error budget”How much breakage is OK” within the SLO

100% availability is impossible. Agree numerically, and trade off speed and reliability — the core of SRE.

DORA four metrics — team health check

Google’s DevOps Research & Assessment narrowed the gap between strong and weak teams to four numbers. The fact that DevOps and SRE are measured in the same formula is the foundation of this chapter’s framing.

MetricElite (top 10%)Low
Deploy frequencyMultiple per dayLess than monthly
Change lead time< 1 hour> 1 month
MTTR (Mean Time To Recovery)< 1 hour> 1 month
Change-failure rate0-15%46-60%

Detail and improvement priority are in DevOps & SRE: The Big Picture. Read each chapter article as a piece moving one of the DORA metrics.

AI decision axes — Produce machine-readable operational data

Machine-readable operational data is the precondition for AI utilization

To delegate operational tasks to AI, data must exist in a form AI can read. Specifically: structured logs (JSON), IaC code, Markdown runbooks, and OpenTelemetry metrics. When all of these are retrievable via Git or APIs, AI can automate the sequence from failure detection to root-cause analysis to recovery proposals to execution.

Conversely, when procedures exist only in Confluence pages with embedded images or in Slack history, AI cannot reference them. Deciding at the DevOps design stage that “all processes and knowledge are managed as code or structured text” is the shortest path to AI-era operations automation.

AI directly supports improving DORA metrics

The four metrics — deploy frequency, change lead time, change-failure rate, and MTTR — can be auto-measured from CI pipelines and Git logs. AI can analyze these metrics and surface patterns like “weeks with larger pull requests show lower deploy frequency” or “a specific service has a higher change-failure rate,” then propose improvements.

Pitfalls and forbidden moves

Of the forbidden moves covered across the individual articles, here are the six that matter at chapter level.

Forbidden moveWhy it is bad → what to do instead
Bolting monitoring and logging on afterwardsduring an incident you cannot identify the cause and spend days groping → design it at the very top of the stream, since retrofitting costs ten times as much
Making 100 percent availability the targetthe cost is unbounded → agree speed and reliability numerically through an SLO and an error budget
One veteran handling every incidentit collapses when they leave → codify the runbook and rotate on-call
Hunting for the culprit in a postmorteminformation gets hidden and the problem recurs → blameless as an absolute rule
Running CI without making it a gateif a red build can still be merged it is decoration → make it blocking
Standing up a dedicated DevOps team and handing everything overit only creates a new silo → the development team takes part in operations itself

Chasing perfection on the assumption that “incidents can be reduced to zero” is a mistake as well. Investing in MTTR — how fast you recover — improves both reliability and economics.

Author’s note — both “no monitoring” and “DevOps team” are landmines

Two canonical scenes you hear about:

First — no-monitoring operations. Inheriting a production environment with no monitoring or metrics, getting paged at midnight, SSH-ing in to stare at top and tail -f by intuition, three hours of guessing — not unusual. A problem a dashboard would catch in 5 minutes takes hours; that future is locked in the moment ops design is decided as “later.” The 2017 February AWS S3 outage (us-east-1) was a classic case where a debugging command typo took down a wide swath of SaaS — the industry’s poster child for the landmines of manual ops.

Second — DevOps team landmine. Orgs that stand up a dedicated “DevOps team” and declare “DevOps adoption” create a new silo within months, almost certainly. Dev says “the DevOps team has it”; the DevOps team says “dev won’t fix the CI”; one more wall. This is widely known as a canonical anti-pattern. DevOps is about tearing down walls, not redistributing roles. Misreading this halts the actual improvements.

Both fail by “relying on a person” or “trying to solve with the org chart.” The answer is design through code and process.

Summary

This article covered the big picture of DevOps and operations architecture — DevOps and SRE as one thing, the DORA four metrics, SLO + error budget, and AI-era machine-readable operational data.

Design dev and ops as one, decide monitoring/logs/SLOs upstream, agree on speed × reliability via the error budget, and produce machine-readable operational data. The realistic answer for 2026.

The next article covers DevOps & SRE: The Big Picture (the DORA four metrics and org strategy).

Back to series TOC -> ‘Architecture Crash Course for the Generative-AI Era’: How to Read This Book

I hope you’ll read the next article as well.

📚 Series: Architecture Crash Course for the Generative-AI Era (60/95)