When I joined my last platform team, the average time from "I need a new service" to "service running in production" was eleven days. Not because provisioning was complex — a namespace, a Postgres instance, and a CI pipeline takes maybe an hour to wire up — but because every request had to travel through Jira, wait for platform on-call to triage it, then bounce back for missing details about CPU limits or VPC placement. The team was drowning in tickets, developers were frustrated, and nobody was happy with the outcome. Building an Internal Developer Platform changed that dynamic completely. An IDP isn't a single tool you install; it's a curated collection of platform capabilities, workflows, and interfaces that let product teams self-serve infrastructure without needing to understand the underlying complexity. In my experience, the platforms that stick are the ones that treat self-service as a product problem, not just an automation problem.
Why Ticket-Driven Provisioning Fails When Engineering Scales Past 50 Developers
Ticket-based workflows feel manageable until they aren't. At 20 engineers, a shared Slack channel and a Terraform repository with manual applies can work. At 80 or 150 engineers, that model creates three distinct failure modes I have seen repeat at almost every organization.
First, you get severe queueing. Platform engineers become human routers for YAML. Even with good runbooks, provisioning a standard environment involves 15-20 discrete steps: creating the Git repository from a template, setting up CI, provisioning cloud resources, configuring DNS, wiring secrets, registering the service in the catalog, and setting up dashboards and alerts. Each step is simple, but the handoffs kill you. I've measured lead times where 70% of the elapsed time was just waiting for the next human to pick up the ticket.
Second, you get configuration drift. When developers are blocked, they find workarounds. They copy a Terraform module they don't fully understand, hardcode credentials to unblock a demo, or reuse a staging database for a new feature. The platform team then spends its time auditing and fixing one-off environments instead of improving the platform.
Third, you lose context. The ticket rarely contains what the platform actually needs to make good decisions — team ownership, data classification, expected traffic profile, or lifecycle. So the platform team either makes conservative assumptions that over-provision resources, or it has to go back and ask clarifying questions that add another 24-hour delay.
The Self-Service Threshold
I've found that the tipping point is usually when platform requests exceed about 30 per week or when the platform team supports more than five product teams. Past that, you need to shift from doing the work for developers to enabling developers to do the work themselves within guardrails. That is the core promise of an IDP: paved roads, not gates. Developers can still go off-road if they have a valid reason, but the default path is fast, secure, and compliant without any ticket.
This shift requires more than automation. It requires product thinking. You need to understand what jobs developers are actually trying to get done — spin up a service, add a dependency, promote to production — and design workflows that complete those jobs in minutes with minimal cognitive load. If you are just putting a form in front of a ticket queue, you haven't built an IDP; you've built a prettier queue.
Dissecting the IDP Control Plane: Portal, Orchestrator, and Resource Layer
Every IDP I've built or operated has converged on roughly the same three-layer architecture, even when the tool choices differ. Thinking in these layers helps you make buy-vs-build decisions without coupling yourself to a single vendor.
The top layer is the interface layer, often called the developer portal. This is where developers discover capabilities and initiate workflows. Backstage Developer Portal: Software Catalog, Templates and TechDocs has become the de facto choice here for good reason — its software catalog gives you a single inventory of services, owners, and dependencies, and its scaffolder lets you expose templates as self-service actions. But the portal is not the platform. I've seen teams mistake installing Backstage for building an IDP. Backstage without a provisioning backend is just a catalog.
The middle layer is the orchestrator. This is the engine that takes a developer's intent — "create a Python microservice with a Postgres DB in eu-west-1" — and executes the workflow. This might be Backstage scaffolder actions executing Cookiecutter templates, a workflow engine like Temporal or Argo Workflows, or an infrastructure orchestrator like Humanitec or Kratix. What matters is that it is idempotent, auditable, and integrates with your existing systems: Git, CI, cloud APIs, and your GitOps controller. In my current stack, we use Backstage scaffolder to trigger a GitHub Actions workflow that renders templates, pushes to a new repository, and opens a pull request against our GitOps fleet repo. That separation keeps the portal stateless.
The bottom layer is the resource layer — the actual abstractions you provision. This is where Kubernetes, Terraform, and cloud provider APIs live. The key principle here is abstraction level. You don't want to expose raw Terraform modules with 40 variables to product teams. You want to expose opinionated resource claims. For example, instead of asking for db.t3.micro vs db.r6g.large, you ask for workload profile and let the platform decide the right class. The Kubernetes Documentation on Custom Resources is essential reading here if you go the operator route, because CRDs are the cleanest way to model these claims inside Kubernetes.
Decoupling Portal From Provisioning
A mistake I made early on was letting Backstage templates directly call Terraform Cloud and AWS APIs. It worked initially, but every template change required portal redeploys, error handling was inconsistent, and we had no central audit trail. We refactored to have Backstage publish an event to our orchestrator (a simple service listening on webhooks), which then executed the provisioning steps. That decoupling let us add CLI and API access later without duplicating logic, and it made retries and rollbacks far more reliable.
Converting Raw Terraform Modules Into Self-Service Workflows Developers Actually Adopt
Most platform teams already have a library of Terraform modules. The challenge is turning those modules into a self-service experience. In my experience, three practices determine whether developers adopt the workflow or route around it.
First, hide complexity behind a constrained interface. Your Terraform module might support 50 variables, but your self-service form should expose 5-7. Everything else gets a sane default that you as the platform team own and can evolve. We version our modules and map developer-facing inputs to module versions server-side, so developers never pin versions themselves.
Second, make outputs immediately useful. Provisioning a database is useless if the developer then has to hunt for connection strings and credentials. Your workflow should register outputs as secrets, inject them into the service's runtime, and surface them in the catalog. For secrets, we standardize on externalizing them through Secrets Management: HashiCorp Vault, External Secrets and SOPS patterns, so the secret never lands in Git but is still available via an ExternalSecret resource.
Third, integrate with GitOps from day one. Every provisioned resource should result in a declarative commit to a Git repository that becomes the source of truth. We don't let the scaffolder apply Terraform directly to cloud accounts; it generates a pull request against our infrastructure repository that is then applied by our delivery pipeline. That gives us review, drift detection, and rollback for free.
# platform/templates/service-template/values.yaml
# Developer-facing inputs - intentionally small
inputs:
serviceName:
title: Service Name
pattern: "^[a-z-]+$"
team:
title: Owning Team
enum: [payments, search, platform]
workloadProfile:
title: Workload Profile
enum: [api-low-traffic, api-high-traffic, worker]
dependencies:
title: Dependencies
type: array
items:
enum: [postgres, redis, s3]
# platform/modules/service-baseline/main.tf
module "service_baseline" {
source = "git::https://github.com/org/tf-modules//service-baseline?ref=v2.4.0"
name = var.service_name
team = var.team
workload_profile = var.workload_profile
# Platform-managed defaults
vpc_id = data.aws_vpc.platform.id
cluster_name = var.cluster_name
log_retention = 30
enable_tracing = true
tags = {
owner = var.team
platform = "idp-v2"
managed_by = "terraform"
}
}
Notice how the module reference is pinned server-side to v2.4.0. When we want to roll out a new version — say, moving from AWS ALB to Gateway API — we test it with a few early adopter teams and then update the mapping without any developer action. The Terraform Documentation on module sources is worth revisiting here to standardize how you version and test these modules before exposing them.
Wiring Golden Paths Into Backstage Scaffolder and GitOps Delivery
A Golden Path is an opinionated, end-to-end workflow for building and shipping a particular type of software. The IDP is what makes those paths executable as self-service. I've found that the best way to keep Golden Paths from becoming shelfware is to make them the fastest way to get work done, not just the "recommended" way.
Our Golden Path for a new microservice includes: a Backstage software template, a build pipeline with security scanning, a deployment pipeline with progressive delivery, and observability defaults. The scaffolder template is the entry point, but the real value is what it generates. A single scaffolder run creates a Git repository with application code, a Dockerfile, Kubernetes manifests, CI configuration, and a catalog-info.yaml that registers the component in Backstage.
We keep our templates thin. The template doesn't contain business logic; it composes baselines. For example, the Node.js service template pulls in our standard Dockerfile, our Helm chart for services, and our GitHub Actions workflows as submodules. That way, when we patch a base image for a CVE, we update it in one place and roll it out via Renovate to all services.
# backstage/templates/node-service/template.yaml
apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
metadata:
name: node-service
title: Node.js Microservice
description: Create a production-ready Node.js service with CI/CD and observability
spec:
owner: platform-team
parameters:
- title: Service Details
required: [name, team]
properties:
name:
title: Service Name
type: string
team:
title: Team
type: string
ui:field: OwnerPicker
tier:
title: Service Tier
type: string
enum: [tier-2, tier-3]
default: tier-3
steps:
- id: fetch-base
name: Fetch Service Baseline
action: fetch:template
input:
url: ./content
values:
name: ${{ parameters.name }}
team: ${{ parameters.team }}
tier: ${{ parameters.tier }}
- id: publish
name: Publish to GitHub
action: publish:github
input:
repoUrl: github.com?owner=myorg&repo=${{ parameters.name }}
description: ${{ parameters.name }} - owned by ${{ parameters.team }}
defaultBranch: main
protectDefaultBranch: true
- id: register
name: Register in Catalog
action: catalog:register
input:
repoContentsUrl: ${{ steps.publish.output.repoContentsUrl }}
catalogInfoPath: /catalog-info.yaml
- id: create-argocd-app
name: Create ArgoCD Application
action: trigger:github:workflow
input:
workflowId: provision-argocd-app.yaml
inputs:
serviceName: ${{ parameters.name }}
team: ${{ parameters.team }}
This template looks simple, but each action is backed by platform conventions. The protectDefaultBranch: true enforces branch protection, the catalog registration ensures ownership metadata is present for on-call routing, and triggering the ArgoCD workflow creates a GitOps Application that syncs the service's manifests from its config repository. For a deeper view on how we structure those conventions, I recommend reading Golden Paths: Reducing Cognitive Load for Development Teams — it covers the product thinking behind making the paved road the obvious choice.
Keeping Templates From Rotting
Templates rot when they generate code that immediately diverges from the platform. We combat this in two ways. First, we use versioned scaffolder templates and track adoption: if a service was generated from template v1.2 and we're now on v2.0, we know which services are behind. Second, we run a weekly job that opens pull requests to update generated repositories with new baseline changes, similar to how Dependabot works. Developers can accept or defer, but the platform never silently drifts.
Choosing Platform Interfaces: Portal UI, CLI, and API Tradeoffs in Practice
Developers interact with platforms differently depending on context. A portal UI is great for discovery and first-time provisioning — seeing what services exist, who owns them, and what dependencies I can add. But once a team is in the flow of daily work, they want to stay in the terminal or in their IDE. In my experience, an IDP that only offers a UI ends up feeling bureaucratic, no matter how polished it is.
We support three interfaces that all call the same orchestrator API. The Backstage UI is the primary discovery surface. For power users, we ship a CLI (platformctl) that can scaffold services, add dependencies, and check deployment status without leaving the terminal. And we expose a REST API that CI pipelines and higher-level automation can call — for example, our ephemeral environment controller calls the API to spin up preview databases for pull requests.
The key is parity. If you can provision Postgres from the UI but not from the CLI, developers will just use the UI and complain about context switching. We generate our CLI from the same OpenAPI spec as the API, so interfaces stay in sync. We also log every action regardless of interface, so audit and cost allocation work uniformly.
| Approach | Best For | Time to Value | Maintenance Cost |
|---|---|---|---|
| Build on Backstage + Custom Orchestrator | Teams with existing K8s/GitOps and strong platform headcount (4+ engineers) | 4-8 months | High - you own portal, templates, and orchestrator |
| Extend with IDP Framework (Humanitec, Kratix, Port) | Teams needing fast self-service with less custom code | 2-4 months | Medium - framework upgrades + custom resource definitions |
| Buy Managed Platform (Internal style SaaS) | Smaller orgs or teams without platform depth | 4-8 weeks | Low - but limited customization and potential lock-in |
| GitOps-Only (Argo + Crossplane / Terraform) | Infra-heavy teams comfortable with PR-based workflows | 3-6 months | Medium - strong GitOps, weak discovery/curated UX |
I've used both the first and second approaches in production. Building on Backstage gives you maximum control and fits well if you already have a service catalog initiative. Frameworks like Kratix — which models platform capabilities as promises — reduce boilerplate for provisioning but require you to buy into their abstraction model. For most teams between 50 and 500 engineers, extending Backstage with a lightweight orchestrator hits the sweet spot between flexibility and effort.
Quantifying IDP Impact With Signals That Actually Predict Delivery Performance
Platform teams often report vanity metrics: number of services in the catalog, number of scaffolder runs, or number of templates. Those numbers look good in quarterly reviews but don't tell you if the platform is helping engineering deliver faster and safer. I track a smaller set of signals that correlate with real delivery performance.
The first is self-service ratio: what percentage of provisioning requests are completed without platform team intervention. We instrument our orchestrator to tag every run as self-serve or assisted. When we started, that ratio was 22%. After six months of refining templates and documentation, we hit 84%. Anything above 80% means the platform is truly self-service.
The second is time-to-first-deploy for a new service. We measure from scaffolder run to first successful deployment in staging, and separately to production. Our baseline before the IDP was 11 days to production (median). With Golden Paths and automated pipelines, the median is now 47 minutes to staging and under 4 hours to production for a standard service. That improvement unlocked a lot of goodwill — even skeptics become advocates when they can demo a new idea the same afternoon.
The third is error budget burn from platform-related incidents. If self-service lets developers misconfigure infrastructure more often, you've failed. We tag incidents with whether the root cause was a platform abstraction leak or misuse. Early on, we had a spike where teams requested api-high-traffic for essentially cron jobs, wasting resources. We fixed it by adding a short questionnaire about request patterns and mapping that to resource sizing automatically instead of letting developers guess.
# platform/metrics/idp-dashboard.json excerpt
# Grafana + Prometheus queries we use to track platform health
{
"panels": [
{
"title": "Self-Service Ratio (7d)",
"expr": "sum(platform_orchestrator_runs{mode=\"self_serve\"}) / sum(platform_orchestrator_runs) * 100"
},
{
"title": "Median Time to First Deploy (staging)",
"expr": "histogram_quantile(0.5, sum(rate(platform_time_to_deploy_seconds_bucket{env=\"staging\"}[7d])) by (le))"
},
{
"title": "Platform-Caused Incidents (30d)",
"expr": "increase(incident_count{cause=\"platform_abstraction\"}[30d])"
}
]
}
Finally, we correlate these platform metrics with DORA metrics. If deployment frequency goes up and change failure rate stays flat or improves, the platform is doing its job. If lead time for changes drops but developers report higher toil in surveys, you've automated the wrong thing. I pull heavily from the framework described in Developer Productivity Metrics: DORA, SPACE and What Actually Matters when presenting platform ROI to leadership, because it grounds the conversation in business outcomes, not tool counts.
In my experience, the most successful IDPs are boring. They don't showcase every CNCF project. They do a small set of workflows exceptionally well, they are discoverable without tribal knowledge, and they make the right thing the easy thing. Start with one Golden Path, measure the self-service ratio and time-to-deploy, and iterate based on developer feedback. The platform is never done, but it should be measurably better each quarter.
Frequently Asked Questions
How is an Internal Developer Platform different from just using Backstage?
Backstage is a developer portal — a frontend for your software catalog, documentation, and scaffolding templates. An IDP is the full stack: portal plus orchestrator plus resource abstractions and the governance around them. You can run Backstage without an IDP, but you won't have self-service provisioning. Conversely, you can build an IDP with a different portal or even just a CLI and API. In practice, most effective IDPs use Backstage as the portal layer because its catalog and TechDocs solve real discovery problems, but the portal alone doesn't provision infrastructure.
Should we expose Terraform directly to developers through the IDP?
In my experience, exposing raw Terraform — even with good modules — creates too much cognitive load for most product teams. A better pattern is to wrap Terraform modules behind an orchestrator that exposes a constrained API. Developers request capabilities like "postgres with point-in-time recovery" and the platform decides instance classes, parameter groups, and network placement based on workload profiles. That keeps the Terraform versioning and state management as a platform concern, while developers get a simple, fast interface. You still get the benefits of Terraform's provider ecosystem without making every developer a Terraform expert.
What's the minimum viable IDP for a team of 60-80 engineers?
Start narrow. Pick one Golden Path — for example, "new HTTP service with Postgres and Redis" — and build a single Backstage template that scaffolds code, creates the Git repository, sets up CI, provisions staging resources, and registers the service in the catalog. Back it with one environment (staging) and require production promotion to go through GitOps pull request. Add self-service actions for the next two most common requests, typically "add a dependency" and "create an ephemeral preview environment." If you can cover 70-80% of requests with those three workflows, you have a credible MVP to expand from.
How do we prevent the IDP from becoming a bottleneck for advanced use cases?
Design for escape hatches. Document a clear path for teams that need to go beyond the paved road — for example, by allowing custom Kubernetes manifests in a designated directory that the platform still deploys but doesn't manage, or by supporting bring-your-own-Helm-chart behind a review gate. The goal is to make the Golden Path so much faster that most teams choose it voluntarily, while not blocking the 10% that genuinely need customization. In my experience, teams misuse escape hatches far less when the paved road is actually well-paved.