Skip to content

Lesson 6 of 9 · 28m

Backstage-Style Portals, Catalogs, and Scorecards

Use a developer portal as a discovery and operations layer over the platform: accurate catalog metadata, scaffolding, docs, plugins, and meaningful scorecards.

A developer portal is not the platform. It is the storefront, directory, and operations desk. I have seen portals become expensive intranet graffiti because teams started with plugins before they had trustworthy ownership data. The ordering matters: first make platform capabilities real, then make them discoverable, then make their quality visible. Backstage is a useful implementation pattern, but the lesson is broader than one project.

The catalog is a data product

At the heart of a portal is a catalog of services, resources, owners, systems, and dependencies:

apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: payments-api
  annotations:
    backstage.io/techdocs-ref: dir:.
    github.com/project-slug: example-org/payments-api
spec:
  type: service
  lifecycle: production
  owner: payments-team
  system: payments
  dependsOn:
    - resource:default/payments-db

This YAML is small, but its operational value is enormous. Ownership routing, incident context, scorecards, documentation, and dependency analysis all depend on it. If catalog entries are stale, every downstream feature becomes decorative.

Ingest reality, then reconcile

Do not expect humans to hand-maintain truth in a vacuum. Ingest from source control, cloud inventories, deployment systems, incident tooling, and identity groups. Compare sources:

source of truth       use
catalog yaml          declared ownership and intent
deployment system     actual runtime existence
cloud inventory       resources and cost labels
identity provider     team membership validity
incident system       service severity and escalation history

A mismatch is signal. If the catalog says a service is production but nothing deploys it, either the entry is stale or the deployment system has a shadow path. Both are worth knowing.

Scaffolding should call the platform, not clone a folder

A portal scaffolder is strongest when it invokes the same productized platform APIs discussed in earlier lessons. A Backstage template skeleton often looks like this:

apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
metadata:
  name: stateless-http-service
spec:
  owner: platform-team
  type: service
  parameters:
    - title: Service details
      required: [name, owner]
      properties:
        name:
          type: string
        owner:
          type: string
  steps:
    - id: create
      name: Create service
      action: platform:create-service
      input:
        template: stateless-http
        name: ${{ parameters.name }}
        owner: ${{ parameters.owner }}

Even if the implementation uses built-in fetch and publish actions, keep the mental model straight: scaffolding is a workflow invocation, not a zip file with delusions of grandeur.

Scorecards measure operational maturity, not obedience

A good scorecard checks a few high-signal expectations:

ownership        team exists, has members, escalation path configured
observability    SLO defined, dashboard exists, alerts route to owner
security         dependencies scanned, images signed, secrets external
resilience       runbook linked, backups tested where stateful
cost             labels present, budget owner known

Avoid turning the scorecard into a compliance advent calendar. Every check should answer "what incident, cost, security, or maintenance pain does this reduce?" If nobody can answer, delete the check.

Plugins are integration, not product strategy

Portals accumulate plugins because demos are seductive. Each plugin is operational surface: authentication, permissions, caching, versioning, upstream API failures, and UI clutter. Prefer a smaller portal that reliably answers "who owns this, how is it running, how do I change it, and where are the docs" over a dashboard farm nobody trusts.

Field notes

  • Ownership must resolve to a team with people in it, not a distribution list created in 2019.
  • Catalog ingestion failures should be visible. Silent stale data is worse than missing data.
  • Scorecards create behavior. If you grade trivia, teams will optimize trivia.
  • TechDocs and API docs are platform features only when the build path is boring and automatic.

Was this lesson helpful?

Sign in to rate