Internal developer platforms and golden paths
A platform team turns everything in this roadmap into self-service: a golden path that gives a new service CI, deploys, alerts and an owner in one step.
DevOps, SRE and platform engineeringTeam topologies and you build it, you run itGitOps with Argo CD and Flux
Internal developer platforms and golden paths
The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.
Not started
What you'll learn
- An internal developer platform is the set of self-service tools and defaults a platform team builds so product teams can ship and run services without becoming experts in every layer.
- A golden path is the supported, opinionated way to do a common task, such as creating a service. It is easy to follow but not mandatory, and teams that leave it take on the extra work.
- Encode the good practices from the rest of this roadmap into the path: CI, signing, deploy config, autoscaling, an SLO with alerts, secrets wiring and an owner in the catalog.
- Treat the platform as a product. Its users are developers, so measure adoption and time to first deploy, and build what removes their biggest waits.
- A portal such as Backstage is the front door, not the platform. The platform is the automation, templates and APIs behind it.
The problem: every team rebuilds the same plumbing
Look back over this roadmap: pipelines, artifact signing, deploy strategies, Kubernetes manifests, Terraform modules, IAM roles, subnets, dashboards, burn-rate alerts, secrets, backups. Now ask a product team of five to get all of that right for each new service, while also building the product.
What usually happens is that each team copies the last service it built, including its mistakes, and fills gaps by filing tickets with an ops team. The ops team becomes a queue. A new service takes three weeks to reach production, and no two services are set up quite the same way. You build it, you run it breaks down when “running it” requires expertise in twenty tools.
Platform engineering, introduced in DevOps, SRE and platform engineering, answers this by having one team build the plumbing once, as a product, for the others.
The platform and the path
An internal developer platform (IDP) is the set of self-service capabilities a platform team provides: creating a service, getting an environment, deploying, getting a database, getting secrets and seeing dashboards, without a ticket. In Team Topologies terms, the platform team is how stream-aligned teams keep their cognitive load down.
A golden path (also called a paved road) is the platform’s supported, opinionated way to do a common task. Think of a city’s cycle lanes. Nobody is forbidden from riding elsewhere, but the lane is faster, safer and maintained, so most people use it. Two properties matter:
- Easier than the alternative. If the golden path is slower than copying the last repository, people will copy the last repository.
- Optional. Teams with real special needs can leave it, accepting that they then own what the path would have handled. Mandating the path hides whether it is any good.
A developer portal such as Backstage (v1.57.3 when I checked), a CNCF project that came out of Spotify, is often the front door: a software catalog of who owns what, templates that start golden paths, and docs. The portal is not the platform. The platform is the automation behind it, and a portal over manual tickets is still manual tickets.
A worked example: a golden path for a new service
The smallest useful golden path is a template plus one command. I built one in Bash. The template holds what this roadmap says every service needs, each file with placeholders:
catalog-info.yaml: a Backstage catalog entry naming the owning team, so every service has an owner from day one..github/workflows/ci.yml: calls the platform’s shared, reusable build-sign-deploy workflow, so pipeline fixes land everywhere at once. It has least-privilegepermissionsandid-token: writefor keyless signing.deploy/values.yaml: deploy defaults of 2 to 10 replicas, a 60% CPU target, and resource requests.observability/slo.yaml: a 99.9% SLO that the platform turns into burn-rate alerts paging the team’s on-call.
The script validates the name, copies the template and fills in the placeholders. I ran it, checked that every generated YAML file parses and has no placeholders left, and tried a bad name:
$ ./new-service.sh basket-api checkout "Shopping basket API"
created out/basket-api for team checkout
$ find out/basket-api -type f | sort
out/basket-api/.github/workflows/ci.yml
out/basket-api/catalog-info.yaml
out/basket-api/deploy/values.yaml
out/basket-api/observability/slo.yaml
all YAML parses, no placeholders left
$ cat out/basket-api/catalog-info.yaml
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: basket-api
description: Shopping basket API
annotations:
github.com/project-slug: acme/basket-api
spec:
type: service
lifecycle: experimental
owner: checkout
$ ./new-service.sh Basket_API checkout x; echo "exit $?"
name must be lowercase, 3-31 chars
exit 2
The middle “all YAML parses” line came from a short Python check I ran after find. The reusable workflow acme/platform-workflows it points at is invented, so the generated CI file was parsed but never run. I also had no Backstage instance to register the catalog entry with. In a real platform this script would be a Backstage software template or a similar scaffolder. It would also create the repository, register the component, provision the environment through GitOps and open the first pull request.
The template file count is small, but each line stands for a decision a product team no longer has to research: how to sign artifacts, what CPU target to scale on, which alert style pages people. When the platform team improves one, every service on the path gets it.
Platform as a product
The common failure is a platform team that builds what it finds interesting and then mandates it. Run it like a product instead:
- Users are developers. Interview them. Find the longest waits, often environments, databases and access requests, and fix those first.
- Measure. Adoption, time from new repository to first production deploy, routine tickets avoided, and DORA metrics for teams on and off the path.
- Start thin. A good template and a documented path beat a half-built portal. Teams can tell the difference.
- Keep the path current. A golden path that pins last year’s base image and versions becomes a liability. Version it and upgrade the services that use it.
About the video
“What is an Internal Developer Platform (IDP)?” is a whiteboard session by HashiCorp co-founder Armon Dadgar, on the HashiCorp channel, published May 2024, 17 minutes 28 seconds. Its chapters run from what DevOps is and how organizational structures evolved, to what an IDP is and where it sits, how it helps application and platform teams, ways to build one (DIY, Backstage or HashiCorp’s own Waypoint), common capabilities, and the cloud adoption maturity curve. It is a vendor channel and names its own product, but the chapters list the alternatives too. It doesn’t use the term “golden path”, which is why the Platform Engineering video on golden paths is linked first below. English is judged from the title, description and channel. TechWorld with Nana’s longer overview of platform engineering is the second link.
Where this fits
This is the last lesson of the DevOps roadmap. You have followed a change from commit to production and kept it healthy there. A platform is the sum of those practices, packaged so each team doesn’t rediscover them. From here, go deeper in the parts you use most, starting from the beginning of the path if you want to see how it all connects.
Check yourself
What is the difference between an internal developer platform and an internal developer portal?
The platform is the capabilities: provisioning, CI/CD, environments, observability defaults. The portal is a user interface on top, such as a Backstage catalog and templates, which makes them discoverable.
Why should a golden path be optional rather than enforced?
Mandating it hides whether it is any good. If teams choose it because it is easier, adoption measures its value, and teams with unusual needs can still leave it, taking on the extra work.
A new service is created from the template. Which pieces should it come with on day one?
A build and test pipeline, artifact signing, deploy configuration with sensible resource and autoscaling defaults, a dashboard and SLO-based alerts, secret access wired through the store, and a catalog entry naming the owning team.
How do you know a platform is working?
Product teams use it without being forced to, the time from idea to first production deploy falls, and tickets to the platform team for routine requests go down.
Go deeper
Notes
Notes are saved to your account.
Everything else on this page works without one — progress and bookmarks keep themselves in this browser and come with you when you sign in. Notes are the one thing worth not trusting to a browser you might clear.
Your notes could not be loaded.