Skip to content
$ lynuxpro
← All system designs

SENIOR · 14 MIN · PLATFORM

Internal developer platform (IDP)

A portal, golden-path templates, self-service infrastructure, shared CI/CD and built-in guardrails, run as a product for developers.

Peak load
500 services, 300 devs
Availability target
99.9% (portal)
RTO: back up within
4 hours
RPO: data you can lose
24 hours

← Swipe sideways to see the whole diagram →

ClientServiceInfrastructureSecurityData storeasync / background

The question

"Developers wait days for infrastructure and every team builds pipelines differently. Design an internal developer platform."

Requirements

  • A new service goes from idea to running in production in under a day.
  • Self-service for common needs: new service, database, queue, preview environment.
  • Security, cost and reliability standards are built in, not added later.
  • Teams can still do special things when they really need to.

How it works

  1. Developers start in a developer portal (Backstage): a catalog of every service with its owner, docs, on-call, dashboards and scorecards.
  2. Golden-path templates create a new repository with code skeleton, Dockerfile, CI pipeline, Helm chart, alerts and catalog entry already set up.
  3. Shared, versioned CI/CD and GitOps build and deploy every service the same way.
  4. An infrastructure API (Crossplane compositions or Terraform modules behind a pull request) lets teams request a database or bucket with a few lines of YAML.
  5. Observability is automatic: logs, metrics, traces and a default dashboard for every new service.
  6. Guardrails (policy-as-code, secrets from a manager, least-privilege roles) are enforced by the platform, so being on the golden path means being compliant.

Think of it like: a well-run airport. Passengers (developers) follow clear signs and self-service kiosks; security checks are built into the path, not a separate trip.

Key decisions

DecisionChoiceWhy
Interfaceportal + Git (pull requests) + CLImeet developers where they work
Abstraction levelsimple choices (size, tier), hide cloud detailsfewer mistakes, easy to change later
Ownershipplatform team as a product teamroadmap, docs, support and feedback
Escape hatchallowed, but visible in scorecardsdon't block special cases; learn from them

Measuring success

  • Time from "new service" to first production deploy.
  • DORA metrics: deploy frequency, lead time, change failure rate, time to restore.
  • Golden-path adoption and developer satisfaction surveys.
  • Tickets to the platform team going down.

What breaks and how it heals

  • Nobody adopts it: start from the biggest developer pain, ship a thin version early, migrate friendly teams first.
  • Platform team becomes a bottleneck: automate the top ticket types, accept contributions from other teams.
  • Templates drift after creation: move shared parts into versioned libraries/components and update them with Renovate.

Load and capacity

ItemAssumptionResult
Users300 developersportal peaks ~50 requests/s
Catalog500 services, 2,000 componentssmall; refreshed from Git every few minutes
Goalstime to first production deployfrom ~2 weeks to under 1 day
Self-servicea new database through the portalready in under 30 minutes instead of a ticket queue

High availability and disaster recovery

TargetNumberHow it is met
Portal availability99.9% (internal tool)2+ replicas, managed Postgres
Golden rulethe platform being down must not take apps downapps run on Kubernetes and cloud services directly; the portal is only the front door
Portal lostRTO 4 hours, RPO 24 hoursthe catalog is rebuilt from catalog-info.yaml files in Git; daily database backups for the rest
Infra statenever lostTerraform state in versioned S3; Crossplane objects in Git (GitOps)

What interviewers listen for

  • Product thinking: users, adoption and metrics, not just tools.
  • Self-service with guardrails.
  • A realistic rollout and migration plan.