LOOP · The DevOps Codex
Ch 18 · Platform Engineering
Chapter 18 · The Product Inside the Company

Platform Engineering & Internal Developer Platforms — paving the golden path

DevOps told us to "shift left" — and developers ended up holding Kubernetes, Terraform, Vault, OPA, OTel, and a security questionnaire all at once. Platform engineering is the answer: a dedicated team that builds an Internal Developer Platform — a product whose users are your own engineers — so the right thing is the easy thing. This chapter covers Team Topologies, the IDP reference model, Backstage, Score, scorecards, and how to measure that the platform is actually helping.

18.1 · What platform engineering actually is

Definition. Platform engineering is the discipline of designing and building toolchains and workflows that enable self-service for software engineering teams. The deliverable is an Internal Developer Platform (IDP) — a curated, opinionated, well-supported set of APIs, UIs, and CLIs through which application teams ship software without needing to be experts in the underlying infrastructure. The term crystallised around 2022 and was named a Gartner Top 10 Strategic Technology Trend for 2023 and 2024.

One-line test
If a new engineer can clone a repo, push code, and see it live in staging within a day without DM-ing anyone, you have a platform. If they need to learn Terraform first, you do not.

18.2 · Platform engineering vs DevOps vs SRE

RoleWhat they ownPrimary measure
DevOps (culture)The principle that dev + ops collaborate end-to-end. Not a team.Flow (DORA).
SREProduction reliability, SLOs, error budgets, on-call.SLO adherence, MTTR.
Platform engineeringThe IDP — the product through which dev + ops happens.Developer experience (DevEx), platform adoption %.
Application teamThe product, the code, the business logic.Lead time, deploy freq.

18.3 · Team Topologies (Skelton & Pais, 2019)

The seminal book that gave platform engineering its organisational vocabulary. Four team types, three interaction modes — the language every modern platform team uses.

Stream-Aligned

The product / feature teams. Own a value stream end-to-end. Most of the org. Should be the only teams allowed to deliver to customers directly.

Platform

Build the IDP and offer it as an internal product. Reduce cognitive load for stream-aligned teams.

Enabling

Short-lived consultants — coach stream-aligned teams on a new technology (e.g. eBPF, AI eval), then leave.

Complicated-Subsystem

Specialists owning a piece that needs deep expertise (search engine, ML platform, video codec).

Interaction modeMeaningUsed by
CollaborationHigh-bandwidth, time-bounded co-working on a discovery problem.Stream + Enabling, early.
X-as-a-ServiceOne team consumes the other's API/product with minimal friction.Stream consumes Platform.
FacilitatingCoaching / unblocking, not building together.Enabling teams.

18.4 · Paved roads & golden paths

Coined by Netflix (and popularised by Spotify as "golden paths"), the paved road is an opinionated, well-supported default route for common tasks (new Java service, new front-end, new data pipeline). You can step off the paved road — but you give up tier-one support, SLO inheritance, and pre-built CI.

  • Paved — the platform provides templates, CI, libraries, dashboards, runbooks, on-call rotation hookup.
  • Gravel — supported by docs only; you're on your own for upgrades.
  • Off-road — you build it, you keep it. Security still reviews.
The 80/20 rule
Aim for 80% of new services on the paved road. The 20% that step off are how innovation happens; they will eventually pave new roads.

18.5 · The Internal Developer Platform — four planes

The widely cited reference model from Humanitec divides an IDP into four planes — orthogonal concerns that any complete platform addresses.

1 · Developer Control Plane Portal (Backstage / Port) · service catalog · scaffolders · CLI · IDE plugins 2 · Integration & Delivery Plane CI · GitOps (Argo / Flux) · Helm/Kustomize · feature flags · IaC orchestrator (TF / Pulumi / Crossplane) 3 · Resource Plane K8s clusters · cloud accounts · databases · queues · DNS · Vault · networking — the real things being provisioned 4 · Monitoring & Logging Plane Prometheus · Grafana · OpenTelemetry · Loki / Splunk · SLOs · alerting · cost dashboards (FinOps)

18.6 · The 2026 IDP tooling landscape

ToolVendor / originHostingSweet spot
BackstageSpotify (2020) → CNCF IncubatingSelf-hostThe OSS reference IDP portal; vast plugin ecosystem; you assemble it.
RoadieRoadieSaaS (managed Backstage)Backstage without the ops burden.
PortPort LabsSaaSNo-code internal portal with strong data-model UX; software catalog + scorecards out of the box.
CortexCortex.ioSaaSService catalog + service maturity scorecards; strong incident integrations.
OpsLevelOpsLevelSaaSCatalog + checks/campaigns; nudges teams to fix.
Configure8Configure8SaaSService intelligence + Backstage interop.
HumanitecHumanitecSaaSPlatform Orchestrator + Score-native; sells the "IDP reference architecture".
Mia-PlatformMia-PlatformSelf-host / SaaSEuropean IDP; strong microservice scaffolding focus.
Score (CNCF Sandbox)Humanitec → CNCFSpec, not a platformPortable workload spec; runs on Humanitec, KubeVela, native K8s.

18.7 · Backstage — anatomy

Backstage is a React/Node framework, not a finished product. You stand up the app, then assemble it from plugins. Donated by Spotify to CNCF in 2020; ~150 open-source plugins and a thriving ecosystem.

Software Catalog

Single source of truth for components, APIs, resources, systems, domains, groups — modelled in YAML catalog-info.yaml per repo.

Software Templates

Scaffolder — golden path "Create new Java service" → new repo, CI, Helm chart, dashboard, on-call rota, Vault path, all wired up.

TechDocs

Docs-as-code via mkdocs; rendered inline in the catalog so docs live with the component.

Tech Radar

The Thoughtworks-style adopt/trial/assess/hold visualisation for internal tech choices.

Plugins

K8s plugin (live pod views), ArgoCD, GitHub Actions, GitLab, Jira, PagerDuty, Sentry, AWS, GCP, Sonarqube, Snyk, Backstage Scorecards, RoadieHQ extras.

Permissions

Policy framework — who can view/scaffold/edit; usually backed by OPA or simple group rules.

18.8 · Score — portable workload specification

Score (CNCF Sandbox, donated by Humanitec) is a workload-spec format: developers describe what their service needs (containers, ports, resources like postgres or s3) in score.yaml. A platform-side translator turns that into Kubernetes manifests, Helm values, Terraform, or Compose — whatever the target environment uses.

apiVersion: score.dev/v1b1
metadata: { name: orders-api }
containers:
  app:
    image: ghcr.io/acme/orders:1.4.2
    variables:
      DATABASE_URL: ${resources.db.url}
resources:
  db:
    type: postgres
  • score-compose → Docker Compose (local dev).
  • score-k8s → Kubernetes manifests.
  • score-humanitec → Humanitec deployment.
  • The promise: developers write one spec; platform decides the runtime.

18.9 · Scorecards — production readiness as a metric

A scorecard evaluates each service against a checklist (has runbook? on-call set? logs going to Loki? SAST clean? SLO defined? has owner?) and grades it. The card is visible to engineers, leaders, and security; campaigns then push the lowest-scoring services to fix specific items.

ImplementationNotes
Backstage Scorecards (Roadie / Oriflame plugins)OSS; rules expressed as TypeScript / YAML.
Cortex ScorecardsThe product's flagship feature; rich rule DSL.
OpsLevel Checks & CampaignsTime-bounded fix-it pushes; integrates with chat for nudges.
Port ScorecardsTied to the Port data model.

18.10 · Self-service workflows — what good looks like

developer in Backstage
→
"Create service" template
→
GitHub repo + CI + Helm + dashboards + Vault path + on-call
→
200 OK in stg
  • Scaffold a service — Backstage Software Template fires GitHub repo creation, base Dockerfile, Helm chart, ArgoCD App, Prometheus alert rules, Grafana dashboard, PagerDuty service, Sentry project.
  • Request a database — form in portal → Crossplane / Terraform Cloud / Humanitec → RDS + secret in Vault + entry in catalog.
  • Get a vault path — auto-create namespaced Vault path bound to the service's K8s ServiceAccount.
  • Promote to prod — checklist gates (scorecard green, SLO defined, change ticket) before the GitOps PR can merge.

18.11 · Measuring platform success

SignalWhat it tells you
DORA (lead time, deploy freq, MTTR, CFR) — cross-ref Ch 1Whether the platform improves flow + stability.
DevEx survey (DX, GetDX) / DXR (Developer Experience Report)Sentiment: confidence, friction, focus time. The closest thing to NPS for the platform.
SPACE framework (Satisfaction, Performance, Activity, Communication, Efficiency)Broader productivity lens than DORA alone.
Platform adoption %What share of new services are born on the paved road? Trend up = winning.
"Time to first 200 OK"From a clean repo, how long until staging serves a request? The single most viral platform KPI.
Self-service rateShare of infra requests handled without a ticket / DM.
Cost per service (FinOps)Does the platform help teams see and reduce their spend? Ch 19.

18.12 · Anti-patterns

IDP as a wiki

A Confluence page titled "How to deploy" is not a platform. It's documentation for an absent product.

Empty Backstage

Stood up the portal, zero plugins, zero templates — developers go back to DMs.

Ivory tower

Platform team designs in isolation, ships a beautiful API no one uses. Embed with stream-aligned teams.

Too many golden paths

Twelve "official" service templates is no choice at all. Pick three.

Mandate without enabling

"All services must use the platform by Q3." Without migration help, you get malicious compliance.

Platform team owns prod

Platform should own the tools; product teams own the services. Otherwise you've just renamed the ops team.

Product mindset
Run the platform like a product: a roadmap, a backlog, releases, user research, an NPS, deprecation policies. If your platform team has no product manager, it has none of those things.

18.13 · Self-check

Q1 · In Team Topologies, the team that builds the IDP for everyone else is a…
Stream-aligned team
Platform team
Enabling team
Complicated-subsystem team
Q2 · Which spec lets developers describe a workload once and have the platform translate it to K8s, Compose, or Humanitec?
OpenAPI
Helm chart
Score
Kustomize
Q3 · The most useful single platform KPI is often…
Number of Backstage page views
Time to first 200 OK for a new repo
Number of plugins installed
Cost of the platform team