Rana Maninder Singh
Lesson 12 of 12DevOps & Platform Engineering

Capstone: Enterprise DevOps — Internal Developer Platform

Lesson opener

In one line: The capstone assembles twenty-eight artefacts from business baseline through executive scorecard into one reviewable IDP design pack for the Northline scenario.

Why it matters: An Internal Developer Platform is not a CI/CD pipeline—it is an engineering product that changes how an organisation builds and operates software. Designing it poorly produces a tool teams avoid; designing it without governance produces a security liability; designing it without observability and reliability engineering produces a system that cannot defend its own SLO. Every artefact here connects to one you built in earlier lessons.

Before this lesson: All prior lessons in this course: Source Control & Collaboration, CI/CD Pipelines, Testing & Quality Gates, Containerisation & Docker, Kubernetes & Managed Runtimes, Infrastructure as Code, Deployment Strategies, Security in the Pipeline, Observability: Metrics, Logs, Traces & Alerts, Reliability Engineering & Incident Management, DevSecOps, Governance & Platform Operations.

Cross-domain references: Cybersecurity Foundations, Network & Cloud Security, Cloud Security for Data & AI, Security Architecture & Governance, Scalability, Reliability & Resilience, Security Architecture & Governance (SAD), Architecture Communication & Decision Making, Real-Time Data Engineering: Analytics & Monitoring, LLMOps: Observability, Tracing & Operational Dashboards, LLMOps: Production Deployment & Reliability, LLMOps: Governance, Operations & Incident Response, MLOps: Monitoring & Drift, Cloud Data & AI Engineering Capstone.

What you will be able to do

Deliverable: the 28-artefact IDP design pack for the Northline Internal Developer Platform, with a scoring rubric, a self-review checklist, and a teacher walkthrough of the assembly order.

Prerequisites

PrerequisiteWhy it matters here
DevSecOps, Governance & Platform OperationsPlatform ownership, service catalogue, policy-as-code, and DX metrics (Artefacts 20, 23, 24).
Reliability Engineering & Incident ManagementError budgets, incident playbook, PIR, and CAPA (Artefacts 16, 18, 19).
Observability: Metrics, Logs, Traces & AlertsSLIs/SLOs, alerting, and dashboards (Artefacts 15, 16, 17).
Deployment StrategiesDeployment and rollback (Artefacts 13, 14).
Infrastructure as CodeIaC approach (Artefact 11).
Kubernetes & Managed RuntimesOrchestration and runtime (Artefact 10).
Containerisation & DockerContainer architecture (Artefact 9).
Security in the PipelineSecurity scanning and SBOM (Artefacts 7, 8).
Testing & Quality GatesTesting and quality (Artefact 6).
CI/CD PipelinesCI pipeline (Artefact 5).
Source Control & CollaborationSource control and branching (Artefacts 3, 4).

Plain English

A DevOps design pack is the document a platform team delivers to an architecture review board and to engineering leadership. It is not a slide deck. It is a connected set of artefacts where every decision traces to its implication in cost, risk, security, reliability, and delivery. The review board's job is to challenge it; the platform team's job is to make every question answerable from the pack.

An Internal Developer Platform (IDP) is a product—built and operated by the platform team—that abstracts infrastructure complexity away from product teams and provides self-service, compliant, observable, and secure delivery capabilities. A successful IDP reduces cognitive load, accelerates delivery, and enforces governance without requiring teams to become infrastructure experts.

Component identifiers (Northline IDP)

All twenty-eight artefacts use these identifiers so a reviewer can trace any component from architecture through risk register to cost line.

IDComponent
C-01GitHub Enterprise (source control)
C-02GitHub Actions + EKS self-hosted runners (CI engine)
C-03Test automation framework (Jest, pytest, k6)
C-04Security scanning (Semgrep, Snyk/Grype, OWASP ZAP, Checkov)
C-05Artifact registry (AWS ECR for images; AWS CodeArtifact for packages)
C-06Kubernetes cluster (AWS EKS, multi-tenant, three namespaces per team)
C-07Infrastructure-as-Code engine (Terraform + Atlantis)
C-08Secrets manager (HashiCorp Vault, External Secrets Operator)
C-09Observability stack (Prometheus, Grafana, Jaeger, Loki)
C-10Incident management (PagerDuty on-call + Jira Service Management)
C-11Developer portal (Backstage)
C-12Cost and capacity dashboard (Kubecost + AWS Cost Explorer)

Assembly chain

Design and document artefacts in this order. Later artefacts depend on earlier ones.

Business Need (1) → Stakeholders (2) → Source Control (3) → Branching Policy (4) → CI Pipeline (5) → Testing Gates (6) → Security Scanning (7) → Artifact Management (8) → Container Architecture (9) → Orchestration (10) → IaC Approach (11) → Env/Config Strategy (12) → Deployment Strategy (13) → Rollback/Kill-Switch (14) → Observability (15) → SLIs/SLOs (16) → Alerting (17) → Incident Response (18) → Backup/DR (19) → Platform Security (20) → Cost/Capacity (21) → Risk Register (22) → Developer Self-Service Catalogue (23) → Adoption Metrics (24) → Roadmap (25) → Executive Scorecard (26) → Scoring Rubric (27) → Self-Review Checklist (28)

Teacher walkthrough: assembly order

  1. Business context first. Artefact 1 defines the problem in measurable terms. Every subsequent artefact serves it.
  2. Stakeholders before architecture. Artefact 2 names who owns what. Unowned decisions become incidents at 3 a.m.
  3. Source control and branching before pipelines. Artefacts 3 and 4 are the foundation. The pipeline (5) enforces what branching policy (4) defines.
  4. CI before testing gates. Artefact 5 is the runner; Artefact 6 is what it validates.
  5. Security scanning and artifact management together. Artefacts 7 and 8 are interdependent: the scan produces the signed artefact; the registry stores it with its SBOM.
  6. Container architecture before orchestration. Artefact 9 defines the image model; Artefact 10 defines how the cluster uses it.
  7. IaC and config strategy together. Artefact 11 provisions the infrastructure; Artefact 12 manages what runs on it.
  8. Deployment before rollback. Artefact 13 defines how to release; Artefact 14 defines how to undo it. They are designed simultaneously.
  9. Observability before SLIs/SLOs. Artefact 15 builds the instrumentation; Artefact 16 defines what is measured and at what target.
  10. Alerting after SLOs. Artefact 17 is derived from Artefact 16; alerts without SLOs are guesswork.
  11. Incident response after alerting. Artefact 18 is the response to an Artefact 17 alert; it cannot be designed without knowing what fires it.
  12. Backup/DR after incident response. Artefact 19 defines the recovery capability that incident response uses.
  13. Platform security after the rest. Artefact 20 controls the platform defined in Artefacts 3–19.
  14. Cost after architecture. Artefact 21 requires knowing which components exist (C-01 through C-12).
  15. Risk register after architecture and cost. Artefact 22 requires knowing the architecture and the cost to assess risk.
  16. Developer catalogue and adoption metrics after the platform is designed. Artefacts 23 and 24 describe and measure the platform.
  17. Roadmap after all design decisions. Artefact 25 sequences delivery within a cost and risk envelope.
  18. Executive scorecard last. Artefact 26 summarises the pack; it cannot be written before the pack.
  19. Rubric and self-review before presenting. Artefacts 27 and 28 are applied by the team before the review board meeting.

The 28 Artefacts — Northline IDP Design Pack


Artefact 1: Business Problem and Baseline

Scenario: Northline Retail Logistics

Northline operates retail distribution for 800 stores across the UK. Fifteen engineering teams (≈ 120 engineers) build and maintain 200+ microservices. Each team runs its own CI/CD pipeline with no consistency in security scanning, testing standards, or deployment practices.

Baseline measurements (Q3 2026 before IDP):

MetricBaselineIndustry benchmark (DORA Elite)
Mean time to deploy (commit to production)4 days< 1 hour
Deployment frequencyWeekly (some teams monthly)Multiple per day
Change failure rate22 %< 5 %
Mean time to restore (MTTR)6 hours< 1 hour
Critical/high CVE remediation time45 days< 7 days
Developer NPS28> 60
% of services with a runbook18 %> 90 %
% of services with an SLO6 %> 80 %
Security incidents traced to pipeline misconfiguration4 in 12 months0

Business problem statement: Northline cannot safely deliver features at market pace. The current state produces slow, inconsistent, insecure delivery across all 15 teams. The cost is measurable: four security incidents, 22 % change failure rate, and 6-hour mean time to restore. The opportunity: an IDP that standardises delivery, enforces policy automatically, and provides observability and reliability engineering for all teams.

Target outcomes (12 months):

MetricTarget
Mean time to deploy< 1 hour
Deployment frequencyDaily for Tier 2; multiple per day for Tier 1
Change failure rate< 5 %
MTTR< 1 hour
Critical/high CVE remediation timeCritical < 24 h; high < 7 days
Developer NPS> 60
% of services with a runbook100 % (enforced at onboarding)
% of services with an SLO100 % (enforced at onboarding)
Security incidents from pipeline0

Artefact 2: Stakeholders and Ownership

RoleName (illustrative)ResponsibilityRACI
Executive sponsorCTOBudget and strategic direction for IDPAccountable
Platform lead (product manager for IDP)Priya K.IDP roadmap, team onboarding, DX metricsResponsible
Platform engineering leadDev R.Technical design and delivery of IDP componentsResponsible
Security leadArjun M.Security policy, audit, and CVE programmeResponsible (for platform security); Consulted for all artefacts
Engineering managers (15 teams)—Team adoption, resource allocationConsulted
Finance / FinOps lead—Cost allocation, reserved-instance commitmentsConsulted
Compliance / audit—Policy review, audit log accessConsulted
Product engineering teams (15)—Users of the IDP; onboard servicesInformed

Platform team size: 6 engineers (2 platform SREs, 2 platform engineers, 1 security engineer, 1 developer experience engineer).

Escalation path: Platform engineer → Platform lead → Platform engineering lead → CTO. Security incidents escalate directly to Arjun M. (security lead) and the CTO.

Accountability principle: Automation does not transfer ownership. When a pipeline runs a security scan, the platform team owns the pipeline; the product team owns the service it scans. When an automated rollback fires, a named engineer must verify the system is healthy and own the decision to restore. No artefact in this pack is owned by "the system."


Artefact 3: Source-Control Workflow

Platform: GitHub Enterprise, hosted on-premises with AWS CodeConnector for Actions runners.

Repository model:

Workflow:

  1. All development work in a feature branch off main.
  2. PR raised → automated CI runs → required reviewers approve → merge.
  3. Merge to main triggers deployment pipeline to staging.
  4. Deployment to production requires a tagged release or a manual promotion gate for Tier 1 services.
  5. No direct pushes to main or production branches (protected via GitHub branch protection rules).
  6. All commits signed with a developer GPG key (enforced via branch protection).

Audit: every commit carries the author, the GPG signature, and the PR number that approved it. The GitHub audit log flows to the centralised audit log platform (C-09) with 1-year retention.


Artefact 4: Branching and Review Policy

BranchPurposeProtected?Required reviewsMerge strategy
mainIntegration branch; triggers staging deployYes1 (codeowner) + passing CISquash (preserves atomic unit per PR)
feature/*Development workNo——
release/v*Production release candidateYes2 (tech lead + platform SRE)Merge commit (preserves history)
hotfix/*Emergency production fixYes1 (tech lead) + expedited CIMerge commit

Review policy:


Artefact 5: CI Pipeline

Engine: GitHub Actions with EKS self-hosted runners (C-02). Runner isolation: each job runs in an ephemeral pod; pods are destroyed after the job completes. No state persists between runs except what is written to the artefact registry (C-05).

Pipeline stages:

StageToolGate (fail condition)
Secret scanDetect-Secrets, GitLeaksAny high-confidence secret pattern detected
SASTSemgrep (OWASP ruleset + custom rules)Any high-severity finding
Dependency scan (SCA)Snyk / Grype against lock filesAny CVSS ≥ 9 (critical) finding; ≥ 7 (high) flagged but does not block by default (see Artefact 22, Risk R-04)
BuildDocker multi-stage buildBuild failure
Container scanGrype against built imageAny CVSS ≥ 9 finding
SBOM generationSyft (SPDX format)Always runs; failure is a pipeline failure
Image signingCosign with Sigstore keyless (OIDC-bound)Signing failure
Unit + integration testspytest / Jest (see Artefact 6)Any test failure
IaC scanCheckov against Terraform plansAny HIGH-severity Checkov policy failure
Manifest policy checkOPA against Kubernetes manifestsAny violation of policies in platform/policy/
Push to registryAWS ECR (C-05)Push failure
Smoke test (staging)pytest smoke suite against staging endpointAny test failure

Pipeline as code: the pipeline is defined in .github/workflows/deploy.yml in each service repository, using a reusable workflow template from platform/pipeline-templates. Teams may extend the template but may not remove stages. Removing a required stage is a policy violation (POL-006) and blocks the PR.

Authentication: GitHub Actions uses OIDC federation to assume an AWS IAM role scoped to the specific repository and environment. No long-lived AWS credentials exist in GitHub secrets.


Artefact 6: Testing and Quality Gates

Test pyramid:

LayerScopeToolGate
UnitSingle class or functionpytest / Jest100 % of tests must pass; < 80 % line coverage fails the build
IntegrationTwo or more components with real dependencies (Docker Compose)pytest100 % must pass
ContractAPI contract between services (consumer-driven)PactAny contract broken between registered consumer and provider
Performance (staging only)p95 latency and throughput under synthetic loadk6p95 latency > 1.2 × SLO threshold or error rate > 0.5 %
Smoke (post-deploy)Critical user journey against deployed environmentpytest smoke suiteAny step failure blocks promotion

Quality gates (blocking):

Test data: integration and contract tests use synthetic data generated by a factory. No production data is used in any test environment. Test data containing simulated personal data is scrubbed after the test run completes. Test accounts are separate from production accounts.


Artefact 7: Security Scanning

Scan types and integration:

Scan typeToolStageFail thresholdOutput
Secret scanningDetect-Secrets + GitLeaksPre-commit + CIAny high-confidence secretBlock commit / PR
SASTSemgrep (OWASP Top 10, custom rules)CI (PR)HIGH severityPR blocked
SCA (dependency)Grype / SnykCI (PR) + nightlyCVSS ≥ 9Build blocked; CVSS 7–8 creates Jira ticket
Container scanGrype against imageCI (post-build)CVSS ≥ 9Build blocked
DASTOWASP ZAP (API scan mode)Post-deploy to stagingHIGH severity findingStaging promotion blocked
IaC scanCheckovCI (against Terraform plan)HIGH severityPipeline fails
Runtime anomalyFalcoProduction runtimeAnomaly rule matchAlert to PagerDuty (C-10)

SBOM programme:

Image signing:


Artefact 8: Artifact Management

Registry: AWS ECR (C-05) for container images; AWS CodeArtifact for internal Python packages and npm packages.

Tagging convention: {registry}/{service}:{semver}-{git-sha-short}. The latest tag is never used in staging or production manifests (enforced by POL-004 in the cluster's Gatekeeper policies).

Retention policy:

Artefact typeRetention
Production images (deployed)90 days after last deployment; pinned releases retained 1 year
Non-production images (feature branches)14 days
SBOMs (attached to images)Same retention as the image they describe
Internal packages1 year; deprecated packages marked in Backstage catalogue

Immutability: ECR image tags are immutable (the latest tag is not used; every tag is a specific version). CodeArtifact packages are version-pinned in all lock files; yanked versions are not automatically removed from existing lock files (teams must update explicitly).

Access: developers may pull images for local development. Push access to ECR is restricted to the CI pipeline IAM role. No developer has push access to production registries.


Artefact 9: Container Architecture

Base image strategy: all Northline services use one of three approved base images maintained by the platform team:

Base images are rebuilt weekly (automated pipeline in platform/iac). Critical CVEs trigger an immediate rebuild. When a base image is rebuilt, Dependabot (configured for container manifests) raises PRs to all service repositories that use it; teams must merge within the patching SLA.

Multi-stage builds: all Dockerfiles use multi-stage builds. The build stage installs build tools; the runtime stage copies only the compiled artefact. Build tools (compilers, test runners, pip, npm ci) do not appear in the production image.

Security defaults (all containers):

runAsNonRoot: true
runAsUser: 10001
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
  drop: ["ALL"]

These settings are enforced by Gatekeeper (Artefact 20). A pod that does not declare them is rejected at admission.

Image layers: layers are ordered from least-changed (OS packages) to most-changed (application code) to maximise build-cache reuse and minimise layer rebuild time.


Artefact 10: Orchestration and Runtime

Platform: AWS EKS (Kubernetes 1.31, managed node groups, Bottlerocket OS on nodes). Three clusters: development, staging, production.

Multi-tenancy model: each team gets three namespaces (one per environment on the cluster matching that environment). Namespace-level NetworkPolicies (Calico) enforce that pods in one team's namespace cannot communicate with pods in another team's namespace except via approved service-mesh routes (AWS App Mesh).

Resource management:

Kubernetes version policy: the platform team upgrades the EKS cluster within 30 days of a new minor release reaching general availability. Teams receive 14 days' notice; breaking changes are documented in the platform changelog.

Runtime security: Falco DaemonSet runs on every node. Rules alert on shell spawned in a container, write to sensitive paths, outbound connection to an unapproved IP range, and privilege escalation attempts.


Artefact 11: IaC Approach

Tool: Terraform (OpenTofu compatible) with Atlantis for PR-based plan and apply.

Module structure:

Plan/apply workflow:

  1. Developer raises a PR with a Terraform change.
  2. Atlantis automatically runs terraform plan and posts the plan as a PR comment.
  3. The plan is reviewed by a required reviewer (platform SRE for production changes; team lead for staging).
  4. On approval, Atlantis runs terraform apply. The apply log is posted to the PR.
  5. No one runs terraform apply locally against production. Local applies are blocked by a Sentinel policy on the production workspace.

Drift detection: a nightly job runs terraform plan -detailed-exitcode on all workspaces. Any detected drift creates a Jira ticket in the PLATFORM project.

Tagging policy: all resources must have team, service, environment, and cost-centre tags (enforced by Checkov POL-TF-001). Resources without required tags are flagged in the nightly drift report.


Artefact 12: Environment and Configuration Strategy

Environments: development → staging → production. Promotion from staging to production requires: all CI stages passing, DAST scan clean, smoke tests passing, and for Tier 1 services a manual approval gate with IC sign-off.

Configuration management:

Environment parity: the staging environment runs at 20–30 % of production scale but uses the same Kubernetes version, the same Vault configuration, and the same Terraform modules. Environment-specific differences are limited to instance sizes, replica counts, and external endpoints.


Artefact 13: Deployment Strategy

Default strategy by tier:

TierStrategyPromotion gate
Tier 1 (revenue-critical)Blue/green via Argo Rollouts; automated SLO check at 10 % traffic, 50 %, 100 %SLO error-budget burn rate < 1× at each step; IC approval for 100 % shift
Tier 2 (important)Canary via Argo Rollouts; 5 % → 25 % → 100 % with automated SLO gateSLO error-budget burn rate < 1× at each step
Tier 3 (internal)Rolling update (Kubernetes default)Smoke tests passing

Argo Rollouts analysis:

Deployment frequency target: Tier 1 and Tier 2 services: daily deployments achievable; no batch deployments.


Artefact 14: Rollback and Kill-Switch

Rollback mechanisms (in order of preference and speed):

MechanismActivates whenTime to effectAutomated?
Argo Rollouts automatic abortSLO gate fails during canary step< 30 sYes
Feature flag disableBug is in a feature-flagged code path< 5 s (SDK propagation)No (human decision)
Argo Rollouts manual rollbackIC calls rollback post-deployment1–3 minNo (human-initiated)
kubectl rollout undoNo Argo Rollouts available (Tier 3)2–5 minNo
IaC rollback (Terraform apply of previous state)Infrastructure-level failure10–20 minNo
DNS failover to DR environmentRegional failure5–15 min (TTL-dependent)Partially (Route 53 health checks)

Kill-switch policy:

Rollback testing: every new service goes through a rollback rehearsal in staging before its first production deployment. The rehearsal is documented in the PIR log.


Artefact 15: Observability

Stack: Prometheus (metrics) + Loki (logs) + Jaeger (traces) + Grafana (dashboards), deployed in the platform-observability namespace with dedicated node groups. All telemetry flows to this centralised stack; teams do not run their own observability infrastructure.

Instrumentation requirements (enforced at onboarding):

Privacy controls:

Dashboard tiers: executive (C-12 cost view + SLO compliance per service in Backstage), service health (four golden signals + burn-rate chart per service in Grafana), and debug (per-endpoint histograms + trace samples in Grafana + Jaeger).


Artefact 16: SLIs and SLOs

Platform-level SLOs (owned by platform team):

ServiceSLISLOWindowError budget
CI pipelineProportion of pipeline runs completing successfully within 15 min99 %30 days7.2 h
Secrets manager (C-08)Proportion of secret reads completing in < 100 ms99.9 %30 days43 min
Developer portal (C-11)Proportion of HTTP requests returning 2xx within 2 s99.5 %30 days3.6 h
Artifact registry (C-05)Proportion of image push/pull operations completing within 60 s99.9 %30 days43 min

Product-service SLOs (template; each team owns their own):

SLI typeMeasurement pointDefault SLO targetMinimum acceptable
AvailabilityAPI gateway (non-health-check HTTP 2xx or 4xx)99.5 % over 30 days99.0 %
Latencyp95 at API gateway99 % of minutes < service-defined thresholdp95 < 1 s
Error rate5xx rate at API gateway< 0.5 % of requests< 1 %

Error budget policy (all services):

Budget remainingMandatory action
> 50 %Normal release cadence
25–50 %Platform SRE notified; one reliability work item per sprint
< 25 %Engineering manager approval required for new Tier 1/2 deployments
ExhaustedFeature freeze; incident declared if not already open

SLO targets and error budget status for every service are visible in Backstage (C-11) and in the executive scorecard (Artefact 26).


Artefact 17: Alerting

Alert strategy: burn-rate alerting (Google SRE Workbook pattern) for all SLO-backed alerts. No raw-threshold alerts for user-facing behaviour.

Standard alert rules (platform-provided Prometheus recording rules and alert rules, in platform/policy/alerts/):

Alert nameConditionSeverityAction
SLOBurnRateHighBurn rate ≥ 14.4× over 1-hour windowSEV2PagerDuty page to primary on-call
SLOBurnRateWarnBurn rate ≥ 6× over 6-hour windowSEV3PagerDuty notification to secondary
PodRestartLoopPod restarts ≥ 5 in 10 minutesSEV3PagerDuty notification
NodeDiskPressureNode disk > 85 %SEV2PagerDuty page to platform SRE
CertificateExpiryImminentTLS cert expires in < 14 daysSEV2PagerDuty page to platform SRE
VaultSealDetectedVault health endpoint returning non-200SEV1Immediate PagerDuty page; IC activated
RegistryPushFailureECR push failure rate > 1 % over 5 minSEV2Platform SRE notified
FalcoSecurityAnomalyAny Falco HIGH rule matchSEV2Security lead notified + PagerDuty

Alert routing: PagerDuty escalation policy per team; primary → secondary → engineering manager at 5-minute steps for SEV1; 15-minute steps for SEV2. Platform SRE owns platform component alerts.

Runbook links: every alert rule carries a runbook_url annotation linking to the relevant runbook in Backstage (C-11). Runbooks are owned by the team responsible for the alerted service.

Synthetic monitoring: Grafana synthetic monitoring (or Prometheus Blackbox Exporter) runs external HTTP probes every 60 seconds against all Tier 1 and Tier 2 service health endpoints and against the Backstage developer portal. Probe failures fire SLOBurnRateHigh if sustained for > 3 minutes.


Artefact 18: Incident Response

Incident command model:

RoleOwnerResponsibility
Incident Commander (IC)Primary on-call engineerDeclares severity, assigns tasks, calls recovery, owns the timeline
Communications leadEngineering manager on rotationStatus page, stakeholder notifications, external communications
Technical leadSubject-matter expert (assigned by IC)Root cause diagnosis, fix design and execution

Incident channel protocol:

Incident lifecycle targets:

PhaseSEV1 targetSEV2 target
Detection to severity declaration< 5 min< 15 min
Severity to containment< 30 min< 60 min
Containment to recovery< 60 min< 4 h
Recovery to PIR meeting scheduled< 4 h< 24 h
PIR document completed< 5 working days< 5 working days

PIR policy: mandatory for SEV1 and SEV2. Optional (but encouraged) for SEV3. The PIR document uses the template from Artefact 10 of Reliability Engineering & Incident Management. All CAPA items are tracked in the RELIABILITY Jira project.

Automation and human accountability: PagerDuty automatically creates the incident, creates the Slack channel, and sends the status page notification. A named IC must acknowledge within 5 minutes (SEV1) or 15 minutes (SEV2) or the escalation policy escalates to the secondary. Every recovery decision requires IC sign-off. Automated rollback (Argo Rollouts abort) is a containment action, not a recovery; the IC must still verify the system state and declare recovery.


Artefact 19: Backup and Disaster Recovery

RTO / RPO targets by tier:

TierRTORPO
Tier 1 (revenue-critical)30 minutes5 minutes
Tier 2 (important)4 hours1 hour
Tier 3 (internal)24 hours24 hours

Backup strategy:

Data storeBackup typeFrequencyRetentionLocation
RDS PostgreSQL (Tier 1)Automated snapshot + WAL shipping to read replicaContinuous (WAL); daily snapshot30 days (snapshots); continuous (replica)Same region primary; cross-region snapshot to eu-west-1
RDS PostgreSQL (Tier 2)Automated snapshotHourly30 daysSame region; nightly cross-region export
ECR imagesRegistry replicationOn push90 days (production)eu-west-1 primary; eu-central-1 replica
Terraform state (S3)S3 versioning + cross-region replicationOn every apply1 yeareu-west-1 primary; eu-central-1 replica
Vault dataVault Raft snapshotHourly30 daysS3 with delete protection + cross-region replication
Kubernetes etcd (EKS)EKS managed backup (Velero + S3)Daily30 daysSeparate S3 account

Restore testing schedule:

DR runbook: the DR runbook is version-controlled in platform/iac/dr/ and linked from Backstage. It is reviewed and validated at each quarterly restore test. Any step that fails during a restore test is treated as a SEV3 finding and creates a CAPA item.


Artefact 20: Platform Security

IAM model:

PrincipalAccessCredentialsRotation
CI runner (GitHub Actions)Push to ECR; deploy to EKS staging/prod (separate roles); Vault read for pipeline secretsOIDC-federated; no long-lived keyN/A (time-limited tokens per job)
Application podRead from own Vault path; access to own RDS; publish to own SQS queueKubernetes service account (IRSA)Automatic (Vault leases, 1-hour TTL)
Platform SREAdmin on platform namespaces; read on team namespaces; break-glass on team namespaces with auditAWS SSO with MFA; short-lived credentials8-hour session; daily re-auth
DeveloperPull from ECR; read from dev namespace; no production access by defaultAWS SSO with MFA8-hour session
Break-glassTemporary production write accessSeparate role; requires approval in PagerDuty + audit log entryExpires after 4 hours; triggers security-team notification

Policy-as-code (OPA/Gatekeeper) policies in production:

Policy IDDescriptionEffect
POL-001No root containers (runAsNonRoot: true)Admission reject
POL-002No privileged containersAdmission reject
POL-003Resource limits required (CPU + memory)Admission reject
POL-004No :latest image tagAdmission reject
POL-005Images from approved ECR registry onlyAdmission reject
POL-006Valid Cosign signature from Northline CI identityAdmission reject
POL-007No host network or host PIDAdmission reject
POL-008NetworkPolicy must exist in namespaceAdmission reject (namespace-level)

Audit logging: all Kubernetes API server events, CloudTrail events, Vault audit events, and application-level payment/authentication events flow to OpenSearch with 1-year retention and delete protection. Anomaly rules: > 5 failed API server auth attempts per identity per 10 minutes; any access to a production secret from an unapproved IP.

Vulnerability programme KPI: % of critical CVEs resolved within 24 hours; % of high CVEs resolved within 7 days. Reported monthly to engineering leadership.


Artefact 21: Cost and Capacity

Cost allocation model: all AWS resources are tagged with team, service, environment, and cost-centre (enforced by Checkov, Artefact 11). Kubecost allocates Kubernetes resource cost by namespace (proxy for team). Monthly showback report is generated automatically and emailed to each team lead and engineering manager.

Current cost baseline (illustrative, Q3 2026 pre-IDP):

Rightsizing guardrails:

Capacity planning: Cluster Autoscaler min/max nodes are reviewed quarterly. A load test runs in staging each quarter using k6 to validate that the autoscaler can scale to peak-quarter traffic within 5 minutes.

FinOps guardrails:


Artefact 22: Risk Register

IDRiskLikelihoodImpactMitigationOwnerResidual risk
R-01Platform team becomes single point of failureMediumHighOn-call rotation; runbooks in Backstage; bus-factor review quarterlyPlatform leadMedium
R-02EKS version upgrade breaks a team's workloadLowHigh14 days' notice; staging validation required; platform changelog; Tier 1 rollback testedPlatform engineering leadLow
R-03Vault outage blocks all deploymentsLowCriticalHA Vault cluster (3 nodes); DR snapshot to S3; fallback secret injection procedure documentedPlatform SRELow
R-04High-severity CVE in a widely used dependencyHighHighSCA scan on every PR; nightly fleet scan; SBOM fleet query; patching SLA; CAPA for missed SLAsSecurity leadMedium
R-05Platform adoption remains low (teams use own pipelines)MediumMediumDX metrics tracking; platform NPS; mandatory adoption for Tier 1 services by Q1 2027Platform leadLow–Medium
R-06CI runner compromise (supply chain)LowCriticalEphemeral runner pods; OIDC (no static credentials); image signing; Falco runtime detectionSecurity leadLow
R-07FinOps: unexpected cost spikeMediumMediumBudget alerts in AWS; Infracost gate on PRs; monthly showbackFinOps leadLow
R-08GDPR: personal data in logs or tracesMediumHighScrubbing middleware in base images; trace attribute filter in OTel Collector; quarterly auditSecurity leadLow
R-09Chaos experiment causes unplanned production impactLowHighExperiments in staging only; IC approval + abort condition required; rehearsal protocolPlatform SRELow
R-10Key person dependency (platform lead)MediumMediumDocumentation in Backstage; quarterly knowledge-transfer sessions; succession planCTOMedium

Artefact 23: Developer Self-Service Catalogue

Platform: Backstage (C-11), deployed at https://platform.internal.northline.com.

Self-service capabilities:

CapabilityWhat it doesTime to complete
New service scaffoldingCreates repository from template, registers in Backstage, creates CI pipeline, creates dev namespace, creates Vault path< 10 minutes
Environment provisioning (dev)Provisions a new dev namespace with default policies and LimitRange< 5 minutes
Secret creationCreates a Vault path entry with appropriate IAM policy; approved by platform SRE via PR< 24 hours (approval)
SLO configurationRegisters an SLO in the Prometheus recording rules and creates a Grafana dashboard< 10 minutes (self-service form)
Runbook creationCreates a runbook page in Backstage from a template; links to the service's alert rules< 5 minutes
On-call rotation setupCreates a PagerDuty service and escalation policy for the team< 10 minutes
Cost showback viewShows the team's current-month AWS and Kubernetes spend by serviceAlways available
SBOM viewerShows the SBOM for any deployed image in ECR; highlights active CVEsAlways available

Service catalogue entry (required fields for all Tier 1 and Tier 2 services):

apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: order-processing
  description: Processes customer orders; validates inventory; charges payment gateway
  annotations:
    backstage.io/techdocs-ref: dir:.
    pagerduty.com/service-id: PD-ORDS-01
    prometheus.io/slo-dashboard: https://grafana.internal/d/order-slo
spec:
  type: service
  lifecycle: production
  owner: orders-team
  tier: tier-1
  system: order-management
  dependsOn:
    - component:payment-gateway-client
    - resource:orders-rds
  providesApis:
    - api:order-api-v2

Catalogue completeness KPI: % of Tier 1/2 services with a complete Backstage entry (all required fields, valid runbook link, valid SLO dashboard link). Target: 100 %.


Artefact 24: Adoption Metrics

Measurement baseline: Q3 2026 (pre-IDP). Measurement cadence: monthly.

MetricBaseline (Q3 2026)Target (Q3 2027)Source
Services using IDP pipeline0 %100 % (Tier 1/2)GitHub pipeline template usage
Deployment frequency (Tier 2)WeeklyDailyGitHub Actions deploy events
Change lead time4 days< 1 hourGitHub commit → PagerDuty deploy event
Change failure rate22 %< 5 %Argo Rollouts abort events / total deploys
MTTR6 hours< 1 hourPagerDuty incident resolved time
Critical CVE remediation45 days< 24 h (critical), < 7 d (high)Jira SECURITY project
Developer NPS28> 60Quarterly survey
Self-service adoption—> 80 % of onboardings self-servedBackstage + Jira (platform tickets)
Runbook coverage18 %100 %Backstage catalogue completeness check
SLO coverage6 %100 %Backstage + Prometheus recording rules

Reporting: adoption metrics are reviewed in the monthly platform operations review. The platform lead presents a trend dashboard to engineering leadership. Metrics that are off-track generate a platform CAPA.


Artefact 25: Roadmap

Phases:

PhaseTimelineDeliverablesSuccess criterion
Phase 0: FoundationOct – Nov 2026C-01 to C-05 (source control, CI, testing, security scanning, registry) configured; first 2 teams onboarded; Backstage deployed2 teams using IDP pipeline; 0 CVE findings blocked post-scan
Phase 1: Orchestration & DeploymentNov 2026 – Jan 2027C-06, C-07, C-08 (EKS, Terraform/Atlantis, Vault) deployed; deployment strategies (Artefact 13) implemented for all Tier 1 services; SLOs configured for all Tier 1All 5 Tier 1 services on IDP; rollback rehearsal completed for each
Phase 2: Observability & ReliabilityJan – Mar 2027C-09, C-10 (Prometheus/Grafana/Jaeger/Loki, PagerDuty) for all Tier 1/2 services; PIR template in use; DORA metrics visibleMTTR < 1 h for Tier 1; DORA dashboard live
Phase 3: Platform Security & GovernanceMar – May 2027OPA/Gatekeeper policies enforced; audit log centralised; SBOM fleet scan live; DX metrics reportedPolicy compliance rate ≥ 98 %; CVE remediation SLA met for all critical
Phase 4: Full Adoption & Self-ServiceMay – Sep 2027All 15 teams onboarded; self-service catalogue complete; FinOps showback live; chargeback planned100 % adoption Tier 1/2; developer NPS > 60; cost target met
Phase 5: Continuous ImprovementOct 2027 onwardsQuarterly DX survey; platform KPI review; chaos engineering programme; VPA / rightsizing cycleAll KPIs at or above target; platform NPS stable or improving

Dependencies and risks: Phase 1 depends on EKS cluster provisioned by Phase 0 end. Phase 3 depends on audit log pipeline standing up in Phase 2. R-05 (low adoption) is the most likely risk to delay Phase 4.


Artefact 26: Executive Scorecard

Presented monthly to the CTO and engineering managers.

DimensionMetricStatus (Oct 2026)TrendTarget (Sep 2027)
Delivery speedChange lead time4 daysBaseline< 1 hour
Delivery reliabilityChange failure rate22 %Baseline< 5 %
ReliabilityMTTR (Tier 1)6 hoursBaseline< 1 hour
SecurityCritical CVE remediation time45 daysBaseline< 24 hours
SecuritySecurity incidents from pipeline4 (last 12 months)Baseline0
Developer experienceDeveloper NPS28Baseline> 60
Platform adoption% Tier 1/2 on IDP pipeline0 %Baseline100 %
CostMonthly AWS spend£380,000Baseline£290,000
GovernancePolicy compliance rate—Not yet measured≥ 98 %
Observability% of services with SLO6 %Baseline100 %

Narrative (October 2026): Phase 0 begins this month. All metrics are at baseline. The first two teams are scheduled for IDP onboarding by end of October. No pipeline security incidents have occurred since the IDP programme was announced; this will be tracked monthly going forward.

Key risks to flag: R-03 (Vault HA not yet deployed); R-05 (adoption dependent on team bandwidth). Both are tracked in the risk register with owners.


Artefact 27: Scoring Rubric

Each section is assessed at three levels. A complete pack must score at least Satisfactory on all sections and Excellent on at least half to be ready for a production review board.

ArtefactExcellentSatisfactoryNeeds Work
1: Business problemMeasurable baseline and targets; business case in financial or operational termsBaseline described; targets statedVague problem statement; no measurement
2: StakeholdersNamed owners; RACI per key decision; accountability principle statedKey roles identified; escalation path present"Team" as owner; no escalation path
3: Source control workflowMono/poly repo decision justified; PR workflow; audit log routing documentedPR workflow described; audit mentionedNo workflow; ad hoc
4: Branching policyBranch model table; protection rules; emergency change path with human gateProtected branches describedNo protected branches; no review gate
5: CI pipelineAll required stages; OIDC auth; ephemeral runners; reusable templateCore stages present; no static keysAd hoc pipeline; static credentials
6: Testing gatesTest pyramid with gates; coverage threshold; no prod data in testsUnit + integration; gates describedNo coverage threshold; no gates
7: Security scanningAll scan types; SBOM generated and linked to artefact; image signingSAST + SCA; container scanSecret scanning only; no SBOM
8: Artifact managementTagging convention; immutable tags; retention policy; access restricted to CIRegistry used; retention statedManual pushes; no retention policy
9: Container architectureApproved base images; multi-stage; all security defaults; weekly rebuildMulti-stage; non-rootNo security defaults; latest base
10: OrchestrationMulti-tenancy; NetworkPolicy; resource limits; autoscaler; version policyNamespaces; resource limitsNo resource limits; no isolation
11: IaC approachModule structure; PR-based plan/apply; drift detection; tagging enforcedTerraform; PR review for prodAd hoc; manual apply; no state locking
12: Env/config strategySecrets in Vault; config in ConfigMap; feature flags; env parity describedSecrets in secrets manager; envs describedSecrets in env vars or source code
13: Deployment strategyTier-based strategy; Argo Rollouts; SLO gate; frequency targetCanary or blue/green for Tier 1; gate describedRolling update only; no gate
14: Rollback/kill-switchMultiple rollback mechanisms; kill-switch policy; human accountability; rollback testRollback described; < 5 min timeRollback is redeploy only; no time target
15: ObservabilityAll three pillars; correlation IDs; privacy scrubbing; three dashboard tiersMetrics + logs; two dashboard tiersNo traces; no correlation ID
16: SLIs/SLOsSLI/SLO table; error budget; budget policy; platform and service levelSLO per service; budget statedNo SLO; target chosen arbitrarily
17: AlertingBurn-rate alerting; runbook links; synthetic monitoring; routingSLO-based alerts; runbook linksRaw-threshold alerts; no routing
18: Incident responseIC/comms/tech lead roles; channel protocol; lifecycle targets; PIR policySeverity model; IC role; PIR requiredNo IC; no PIR policy
19: Backup/DRRTO/RPO by tier; 3-2-1 strategy; tested restore with documented resultRTO/RPO stated; backup scheduleRTO/RPO not tested; single copy
20: Platform securityIAM model; OIDC; Gatekeeper policies listed; audit log; vuln programmeLeast privilege; policy-as-codeStatic credentials; no audit log
21: Cost/capacityCost allocation model; rightsizing guardrails; FinOps guardrails; baseline vs targetCost tagging; showback plannedNo cost tracking; no tagging
22: Risk register≥ 8 risks; likelihood + impact + mitigation + owner + residual risk5+ risks; mitigation and owner< 5 risks; no owner
23: Self-service catalogueBackstage entry with all required fields; self-service capabilities listed with timeBackstage entry; key capabilitiesNo catalogue; wiki page only
24: Adoption metricsDORA + NPS + coverage; baseline and target; monthly cadenceDORA metrics; baseline and targetNo baseline; no measurement cadence
25: RoadmapPhases with timeline, deliverables, success criterion; dependencies and risksPhases with deliverables and timelineSingle list of tasks; no phases
26: Executive scorecardAll dimensions; trend column; narrative; risks to flagKey metrics; targets; narrativeMetrics without targets or narrative
27: Scoring rubricThree-level rubric for all 28 artefacts; applied before presentingThree-level rubric for most artefactsNot present; or present but not applied
28: Self-review checklistAll checklist items completed; findings recordedMost items completed; open items notedNot completed

Artefact 28: Self-Review Checklist

Complete this checklist before presenting the pack to a review board. Mark each item DONE, PARTIAL, or MISSING. Do not present if any critical item is MISSING.

Traceability

Security

Reliability

Privacy

Governance and accountability

Completeness


Worked example

The script below implements a self-review checker and a scoring summariser for the Northline IDP pack. It demonstrates how a team could automate the pre-presentation validation. All data is synthetic and deterministic.

# devops12_capstone_checker.py
# Automated self-review checker and rubric summariser for the Northline IDP pack.
# All data is illustrative.

CHECKLIST = [
    # (item, critical, status)  — status: True=DONE, False=MISSING, None=PARTIAL
    ("Every C-01..C-12 identifier present in Artefacts 1, 9-11, 21, 22", True,  True),
    ("Every risk in A22 maps to a specific artefact mitigation",           True,  True),
    ("Every SLO has a corresponding alert and runbook link",               True,  True),
    ("No static credentials in the pack",                                  True,  True),
    ("All IAM roles follow least privilege (no * permissions)",            True,  True),
    ("All secrets in secrets manager (not env vars or source code)",       True,  True),
    ("SBOM generation and image signing present in A7",                    True,  True),
    ("Audit log retention >= 90 days for security events",                 True,  True),
    ("RTO/RPO tested and test result recorded",                            True,  None),  # PARTIAL
    ("Rollback time-to-effect < 5 min for Tier 1 (measured)",             True,  True),
    ("PIR mandatory for SEV1/SEV2 with named owner",                       True,  True),
    ("Log scrubbing at emission (not downstream)",                         True,  True),
    ("No logging or tracing disabled for performance",                     True,  True),
    ("Test data excludes production personal data",                        True,  True),
    ("Every artefact has a named human owner",                             True,  True),
    ("Human accountability retained for automated actions",                True,  True),
    ("All 28 artefacts present and written (no TBD)",                      True,  True),
    ("Scoring rubric applied; results recorded",                           False, True),
    ("Platform NPS survey planned (quarterly)",                            False, True),
    ("FinOps showback report scheduled (monthly)",                         False, None),  # PARTIAL
]

RUBRIC_RESULTS = {
    "1-Business problem":       "Excellent",
    "2-Stakeholders":           "Excellent",
    "3-Source control":         "Excellent",
    "4-Branching policy":       "Excellent",
    "5-CI pipeline":            "Excellent",
    "6-Testing gates":          "Excellent",
    "7-Security scanning":      "Excellent",
    "8-Artifact management":    "Excellent",
    "9-Container architecture": "Excellent",
    "10-Orchestration":         "Satisfactory",
    "11-IaC approach":          "Excellent",
    "12-Env/config strategy":   "Excellent",
    "13-Deployment strategy":   "Excellent",
    "14-Rollback/kill-switch":  "Excellent",
    "15-Observability":         "Excellent",
    "16-SLIs/SLOs":             "Excellent",
    "17-Alerting":              "Excellent",
    "18-Incident response":     "Excellent",
    "19-Backup/DR":             "Satisfactory",
    "20-Platform security":     "Excellent",
    "21-Cost/capacity":         "Satisfactory",
    "22-Risk register":         "Excellent",
    "23-Self-service catalogue": "Excellent",
    "24-Adoption metrics":      "Excellent",
    "25-Roadmap":               "Satisfactory",
    "26-Executive scorecard":   "Excellent",
    "27-Scoring rubric":        "Excellent",
    "28-Self-review checklist": "Excellent",
}


def run_checklist(checklist):
    missing_critical = []
    partial = []
    for item, critical, status in checklist:
        if status is True:
            continue
        if status is None:
            partial.append((item, critical))
        else:
            if critical:
                missing_critical.append(item)

    return missing_critical, partial


def score_rubric(results):
    counts = {"Excellent": 0, "Satisfactory": 0, "Needs Work": 0}
    for v in results.values():
        counts[v] += 1
    all_pass = counts["Needs Work"] == 0
    ready = all_pass and counts["Excellent"] >= 14
    return counts, ready


# --- Run ---
missing, partial = run_checklist(CHECKLIST)

print("=== Northline IDP Design Pack — Pre-Presentation Self-Review ===")
print()
print(f"CHECKLIST RESULTS ({len(CHECKLIST)} items):")
if missing:
    print(f"  CRITICAL MISSING ({len(missing)} items) — do NOT present:")
    for m in missing:
        print(f"    ✗ {m}")
else:
    print("  All critical items: DONE")

if partial:
    print(f"  PARTIAL ({len(partial)} items) — resolve or accept with justification:")
    for p, crit in partial:
        tag = "[CRITICAL]" if crit else "[NON-CRITICAL]"
        print(f"    ~ {tag} {p}")

print()
counts, ready = score_rubric(RUBRIC_RESULTS)
print("RUBRIC SUMMARY:")
for level in ["Excellent", "Satisfactory", "Needs Work"]:
    print(f"  {level:15s}: {counts[level]:2d} artefacts")

print()
if ready:
    print("VERDICT: READY FOR REVIEW BOARD")
else:
    if counts["Needs Work"] > 0:
        print("VERDICT: NOT READY — address 'Needs Work' artefacts first")
    else:
        print("VERDICT: NOT READY — fewer than 14 'Excellent' scores; strengthen weak artefacts")

print()
print("NEXT ACTION:")
if missing:
    print("  Complete all CRITICAL MISSING checklist items before scheduling the review.")
elif partial:
    print("  Resolve or document partial items; then the pack is ready for a review board.")
else:
    print("  Pack is complete. Schedule the review board. Bring the risk register.")

Expected output (deterministic with synthetic data above):

=== Northline IDP Design Pack — Pre-Presentation Self-Review ===

CHECKLIST RESULTS (20 items):
  All critical items: DONE
  PARTIAL (2 items) — resolve or accept with justification:
    ~ [CRITICAL] RTO/RPO tested and test result recorded
    ~ [NON-CRITICAL] FinOps showback report scheduled (monthly)

RUBRIC SUMMARY:
  Excellent      : 24 artefacts
  Satisfactory   :  4 artefacts
  Needs Work     :  0 artefacts

VERDICT: READY FOR REVIEW BOARD

NEXT ACTION:
  Resolve or document partial items; then the pack is ready for a review board.

The CRITICAL PARTIAL item ("RTO/RPO tested") means the restore test exists in the plan (Artefact 19) but the test has not yet been run. The pack is ready for review but the reviewer will ask for the test result. The team's answer should be: "Scheduled for [date]; we accept this as an open risk item in the risk register (R-03) with a mitigation owner."

Check your understanding

  1. A reviewer reads Artefact 14 (rollback) and finds no mention of who authorises the rollback—only that "Argo Rollouts will abort automatically." Which principle does this violate, and what should the artefact add?
  2. The risk register (Artefact 22) lists "EKS upgrade might break things" with no likelihood, impact, mitigation, or owner. Which rubric score does this earn, and what must the team add?
  3. A team's self-review checklist has "All secrets in secrets manager: DONE" but Artefact 12 describes secrets as environment variables passed from CI. Which score is correct and why?
  4. The executive scorecard (Artefact 26) shows MTTR improving from 6 hours to 4 hours. The team marks this as "Excellent." A reviewer says the number is not credible. What evidence should be attached to make the claim credible?
  5. A team completes 27 of the 28 artefacts and omits the self-review checklist (Artefact 28), arguing "we reviewed everything informally." Should the review board accept this pack? What is the cost of skipping the formal checklist?
  6. Artefact 15 states that debug-level logging is disabled in production "to reduce costs." Which checklist item does this fail, and what is the correct design decision?

Summary

Artefact groupCoversKey principle
1–2: Context and ownershipBusiness problem, stakeholdersEvery artefact has a named human owner.
3–8: Delivery pipelineSource control, CI, testing, security, artifactsThe safe path and the fast path are the same path.
9–14: Infrastructure and deploymentContainers, orchestration, IaC, config, deploy, rollbackHuman authorisation is retained for every automated action that affects production.
15–18: Observability and incidentsMetrics/logs/traces, SLOs, alerting, incident responseSLOs drive prioritisation; incidents are managed by named roles, not heroics.
19–20: Resilience and securityBackup/DR, platform securityRPO and RTO are measured, not assumed; audit logging is never disabled.
21–22: Economics and riskCost/capacity, risk registerCost is visible to teams; every risk has a mitigation and an owner.
23–26: Platform operationsCatalogue, adoption, roadmap, scorecardThe IDP is a product; its success is measured by adoption and developer experience.
27–28: Quality assuranceRubric, self-reviewPresent only what you have verified; the checklist is the team's evidence of due diligence.

The Northline IDP design pack is not a project plan—it is a living document. Phase delivery updates Artefacts 24 (adoption metrics) and 26 (scorecard) monthly. Every incident updates Artefact 22 (risk register) and potentially Artefacts 15–18 (observability and response). Every quarterly restore test updates Artefact 19. The pack is the team's accountability record to the organisation.