Lesson 11 of 11 · Run it as a product
Capstone: design a platform for 300 services
Design an internal developer platform for 300 services across two clouds: clarify requirements, choose the architecture layer by layer, plan a phased roll-out with pilot teams, and define the metrics that will prove it worked.
The brief
Company: ~300 services, ~40 teams, 600 engineers, growing 30% a year.
Clusters: Kubernetes on two public clouds (most on cloud A, a growing share on cloud B).
Today: New service = 2-3 weeks of tickets. Each team has its own pipeline style.
Databases and queues are requested by ticket. No catalog; ownership in a spreadsheet.
Regulated customers need some workloads in isolated clusters.
Goal: Self-service with safety. Leadership wants evidence within 6 months.
You are designing the kit cupboard for a whole school district: many schools, two suppliers, some special schools with extra safety rules. Decide what goes in first, how schools will find it, and how you'll know it helped.
Your task
Write a short design (two to three pages) covering:
- Requirements and constraints: users, top pain points, non-goals, compliance needs.
- Architecture by layer: interfaces, golden paths, orchestration, resources, guard-rails (lesson 1's layers).
- Multi-cloud approach: what is the same on both clouds, what differs, and where the difference is hidden.
- Roll-out plan: phases with pilot teams, exit criteria and what you won't do yet.
- Metrics: baselines and targets.
- Risks and trade-offs.
Try it before opening the reference.
Reference design (one good version)
Requirements. Users: application teams (primary), SREs, security. Pain: time to first deploy (2-3 weeks), inconsistent pipelines, ticket queues for databases and queues, unknown ownership. Non-goals for year 1: replacing CI tooling wholesale, a custom portal UI. Constraints: regulated workloads isolated; both clouds supported.
Architecture.
- Interfaces: Backstage as the portal (catalog, templates, docs), a thin CLI, Git as the source of truth. Portal logic kept in Git, pipelines and APIs.
- Catalog: discovery of
catalog-info.yamlfrom the Git host, org sync from the IdP, ownership used for on-call and cost. - Golden paths: "HTTP service" and "event consumer" templates; thin skeletons referencing versioned Kustomize bases (or a library chart) and versioned CI components; Renovate for updates.
- Delivery: Argo CD hub per environment, ApplicationSets discovering services by convention, clusters described by labels (cloud, region, ring, compliance), RollingSync by ring, Argo Rollouts canaries for tier-1 services, rollback by
git revert. - Infrastructure APIs: Crossplane XRDs for Database, Bucket and Queue; one Composition per cloud, selected by the cluster's cloud label; the same request works on both clouds.
- Guard-rails: namespace onboarding generated by policy (quota, limits, default-deny, RoleBinding from IdP group), admission policy (Pod Security restricted, signed images), workload identity per cloud, cost labels from the catalog.
- Regulated workloads: dedicated clusters labelled
compliance: regulated, deployed in the last ring, same code and paths.
Multi-cloud. Same: catalog, templates, building blocks, GitOps, policies, the platform APIs. Different and hidden: Compositions per cloud, cluster bootstrap modules, identity federation, load balancer classes.
Roll-out.
- Phase 1 (months 0-2): catalog for all existing services (generated PRs), one service template, GitOps to non-production, with three pilot teams. Exit: pilots' time to first deploy under one day.
- Phase 2 (months 2-4): production rings, onboarding kit, Database API on cloud A, ten more teams. Exit: 30% of new services via the template; database tickets down 50%.
- Phase 3 (months 4-6): cloud B Compositions, second template, scorecards, day-2 update flow proven with one base change across all adopters. Exit: 60% of new services via templates; a platform-wide change shipped in under a week.
- Not yet: custom portal plugins beyond essentials, migrating every legacy pipeline.
Metrics. Baseline and track: time to first deploy (target < 1 hour for templated services), DORA for pilot vs other teams, adoption, ticket volume, developer satisfaction, platform SLOs, cost per service.
Risks. Portal without adoption (mitigation: pilots, product management), template drift (thin templates + versioned blocks), Backstage upgrade burden (monthly cadence, plugin-only customisation), hub blast radius (per-environment hubs, least privilege, backups), policy webhook outages (HA, exclusions, runbooks).
Presenting it
- Open with the problem in numbers (weeks to first deploy, ticket queues) and the target.
- Show the layers on one diagram; the rest of the detail goes in an appendix.
- Present phases with exit criteria and pilot teams by name.
- Be explicit about what you are not doing yet, and why.
Recap
- Start from users and pain; design by layer; keep the portal thin.
- Hide cloud differences behind Compositions, cluster labels and building blocks.
- Roll out through pilots and phases with measurable exit criteria, and name the risks and trade-offs.
This site is a public version of my personal engineering knowledge hub. It intentionally excludes confidential company information and internal operational details.