Lesson 7 of 9 · 25m
Operating the Platform: Reliability, Cost, and Security as Product Qualities
Run internal platform capabilities with SLOs, cost visibility, tenant isolation, upgrade discipline, and incident ownership worthy of production infrastructure.
Internal platforms fail quietly before they fail loudly. First upgrades become scary, then costs become opaque, then permissions sprawl, then one day the "internal tool" is the reason forty teams cannot deploy. The moment other teams build on your platform, it is production infrastructure. It deserves SLOs, incident reviews, cost accounting, security boundaries, and deprecation discipline.
Define service levels around developer outcomes
Availability of the Kubernetes API server is not the same as availability of the deployment workflow. Measure user-visible capabilities:
slo:
service: platform-deployments
objective: 99.5
window: 30d
indicator:
good_events: successful deployment completions
total_events: attempted deployment completions
latency:
threshold: 10m
percentile: p90For provisioning, measure time-to-ready and success rate. For the portal, measure catalog freshness and workflow completion. A platform that is technically up but unable to create a service is down in the only sense your users care about.
Multi-tenancy is a security boundary problem
Internal does not mean trusted. Different teams have different data sensitivity, production permissions, regulatory duties, and blast-radius tolerance. Isolate along meaningful boundaries:
identity workload identity per service or job
network default deny where practical, explicit service exposure
state separate Terraform state by blast radius
secrets scoped access, rotation, audit
compute namespace or cluster separation according to risk
control plane least privilege for controllers and automation rolesThe common failure is one powerful platform service account that can do everything because it was convenient during the first proof of concept. That account becomes the skeleton key nobody wants to touch.
Cost is a product feature
Developers make better infrastructure choices when cost feedback is near the decision. Label everything at creation and report back in the portal:
team: payments
service: payments-api
monthly_estimate: $1,280
largest_drivers: NAT egress, oversized database, idle preview environmentsDo not lead with shame. Lead with design feedback. Idle preview environments mean teardown automation is weak. Oversized databases mean size tiers are wrong. NAT egress means architecture defaults are expensive. Cost anomalies often reveal platform abstraction leakage before finance does.
Upgrades need a fleet strategy
Platform components accumulate version skew: templates, controllers, base images, Terraform modules, pipelines, and runtime clusters. Maintain an inventory and compatibility matrix:
component current versions in fleet supported window
service template v4, v5, v7 v6-v7
terraform module postgres v2, v3 v3 only after 2026-03
base image node20, node22 node20 until 2026-04Then automate migration waves. Start with low-risk services, observe failures, improve the migration tooling, and only then move critical workloads. Version policy is product communication, not just engineering hygiene.
Incidents should teach the platform
A platform incident review should ask two extra questions beyond a normal outage review: which abstraction failed, and which user pain was invisible before the incident? If users opened tickets because status was unclear, add conditions or notifications. If rollback was impossible, improve progressive delivery. If ownership confusion slowed response, fix catalog ingestion. Do not merely add a runbook entry and call it learning.
Field notes
- Platform SLOs must include dependencies. If SSO is down and nobody can deploy, saying "our service was healthy" is legally accurate and operationally useless.
- Security controls without migration funding create permanent exceptions.
- Cost optimization that breaks developer trust is expensive in ways finance does not model.
- Deprecate loudly, slowly, and with migration help. Silent removal is betrayal; eternal support is stagnation.
Was this lesson helpful?