Backstage

Backstage developer portal implementation: catalog model, software templates, TechDocs, plugins, Postgres production deployment, authentication, permissions and a supported upgrade path.

On this page

What a Backstage developer portal implementation involves

A Backstage implementation turns the open-source framework into a developer portal your engineers use every day. It combines a software catalog, Software Templates, TechDocs and search, tied to your source control, identity provider and CI. DeployOpen designs the catalog model with your platform team, builds templates and plugins, and sets up the upgrade practice your team will run.

Backstage is described in its GitHub repository as an open framework for building developer portals. Spotify created it, and the repository is licensed under Apache 2.0. The CNCF project page lists it as Incubating, moved to that level on March 15, 2022. Its core features are the software catalog, Software Templates for creating new projects, TechDocs for documentation stored next to code, and search, with a large set of plugins for CI, Kubernetes, cloud and monitoring tools.

Backstage ships as a framework you assemble into your own TypeScript and React application. Per the architecture overview, the UI is a thin, client-side wrapper around plugins, and backend plugins operate independently, so each can be treated as its own microservice. The backend instance is the unit of deployment. You generate an app, choose and configure plugins, write the glue specific to your organization and deploy it like any other service. That makes the portal fit your platform closely. It also means someone has to own the codebase, its dependencies and monthly upgrades.

A useful portal depends on catalog data, templates that encode golden paths, and teams who keep both current. Catalog data and adoption work usually take longer than standing up the app. The plan therefore covers the catalog model, the template set, the integrations and the people who will maintain them.

How to design the Backstage software catalog

Catalog decisions are hard to change once hundreds of repositories carry catalog-info.yaml files.

DecisionWhat to settleWhy it matters
Entity kindsDecide how Component, API, Resource, System and Domain map to your services, libraries, databases, products and business areas. The descriptor format also defines Template, Group, User and Location.Consistent kinds make dependency views, ownership reports and scorecards meaningful.
Required fieldsEvery entity needs apiVersion, kind, metadata and metadata.name. A Component also needs spec.type, spec.lifecycle and spec.owner, so agree on the allowed values for type and lifecycle.Shared values keep filters and reports usable across many repositories.
OwnershipDecide which Group owns each entity, and where Group and User entities come from: GitHub or GitLab org data, Microsoft Entra ID or LDAP.Every entity needs an owner that maps to a team that exists in your identity source.
IngestionDecide whether entities are discovered from repositories, registered by templates or produced by custom entity providers from a CMDB or cloud inventory.Discovery scales, while custom providers fill gaps for systems without a repository.
Annotations and metadataDefine a short list of required annotations for CI, Kubernetes, on-call and documentation, plus lifecycle and tier values.Plugins find their data through annotations, so missing ones leave empty tabs.
Validation and reportingValidate catalog files in CI, and publish a report that lists entities with missing owners or annotations.Checks at pull request time keep bad data out, and the report shows teams what to fix.

Software templates, TechDocs and search: golden paths in practice

The features that usually justify a portal, and the design work each needs.

Software Templates

Templates collect parameters through forms, then run actions that fetch a skeleton, publish a repository, open pull requests and register the new component. Build a small number of templates that encode your supported stacks, CI, security checks and catalog registration. Give each template an owner, and retire templates for stacks you no longer support.

TechDocs

TechDocs renders Markdown stored in each repository. The recommended setup builds documentation in CI/CD and publishes it to cloud storage such as AWS S3, GCS or Azure Blob Storage, and techdocs-backend fetches it from there. The basic setup keeps generated files on the server's local file system. Choose the storage option early, because it shapes your CI pipelines and backend credentials.

Search

Search indexes the catalog, TechDocs and any other source that has a collator. The Lunr engine is enabled by default, and Backstage highly discourages it in production. The Postgres engine needs at least Postgres 12. Elasticsearch needs 8.19 or later, and OpenSearch 1.x and 2.x are supported. Pick the engine by document volume and the services you already run.

Operational views

Kubernetes, CI, on-call and monitoring plugins show the state of a component on its catalog page. Plugins find their data through annotations on the entity, so the annotation list from the catalog design decides what each tab shows. Start with a few plugins your teams already use, and add more when teams ask for them.

Backstage plugins, configuration and custom code

Much of Backstage is set in app-config.yaml files layered by environment. They hold integrations, auth providers, catalog locations, proxy routes and plugin options. Secrets come from environment variables, so keep them out of files you commit. The getting started guide asks for Node.js 24 or 26, Yarn 4.4.1 enabled through corepack, Docker and Git on a Unix-based OS, and the versioning policy supports the two most recent Node.js LTS releases. Use the same Node version in local development, CI and the container image. Review changes to auth, proxy routes and catalog locations like any other service change.

Integrations and migration into the portal

Typical integrations are source control (GitHub, GitLab, Bitbucket or Azure DevOps) for discovery, templates and TechDocs, your identity provider for sign-in and org data, Kubernetes clusters, CI systems, cloud accounts and on-call tooling. Plugins that call third-party APIs from the browser usually go through the Backstage proxy, so the proxy routes and the credentials behind them need the same review as any service integration.

Most organizations start from a wiki, a spreadsheet of services, a CMDB or a set of README files. Migration means generating catalog-info.yaml files from that inventory, opening pull requests so teams confirm ownership, and moving documentation into repositories for TechDocs. Generating files from the inventory gives teams something to correct instead of a blank file to write.

Roll out with one or two platform-friendly teams first, then a wider group once templates and catalog pages work for them. Enablement covers writing catalog files, using and contributing templates, writing TechDocs and requesting plugin changes, plus deeper training for the engineers who will maintain the app.

Backstage production deployment, authentication and upgrades

What does a Backstage production deployment with Postgres look like?

A container image built from your app, running identical backend instances behind a load balancer. The architecture overview names PostgreSQL as the preferred production database and sets up a separate logical database per plugin. Use a shared cache such as Redis, Valkey or Memcached, because the memory store is for local development. The scaling guide says all instances must share external resources such as the database. Splitting into several backends needs routing by plugin ID and a custom DiscoveryService.

How do we run a Backstage Kubernetes deployment?

The Kubernetes guide uses plain manifests applied with kubectl. The backend container listens on port 7007, and PostgreSQL runs as a separate deployment. Build the image as the Docker guide describes, and run host build commands with the same Node version as the image base, or native modules may fail at runtime. Kubernetes Secrets are base64-encoded but not encrypted, so enable encryption at rest and consider SealedSecrets if you store them in Git.

How does Backstage authentication setup work?

The auth overview lists 17 built-in providers, including GitHub, GitLab, Azure, Google, Okta and Keycloak (community-maintained). Sign-in resolvers map each login to a User entity in the catalog, so org data must be ingested first. Avoid guest access in production, and use ProxiedSignInPage for proxy providers such as Azure Easy Auth, Cloudflare Access or Google IAP. Signing keys do not persist across restarts by default, so configure the static key store. The frontend bundle is not protected by default.

What does the Backstage permissions framework do?

By default, Backstage endpoints are not protected and all actions are available to anyone who can reach them. The permissions framework delegates each decision to a permission policy that integrators write, configure or hand to an external provider. Policies can restrict catalog, scaffolder and plugin actions. Write the policy early. Start with who may run which templates and who may change catalog entries, and test it with users from different teams before launch.

What should we harden before launch?

Disable the guest provider in production, and use scoped tokens or GitHub App credentials for integrations. Restrict which templates can publish where. Limit proxy routes to the hosts plugins need. Review scaffolder actions that run shell commands or touch infrastructure. Encrypt Kubernetes Secrets at rest, and write permission policies instead of relying on the open default. Treat each item as a launch gate, and have your security team sign off on the list.

How often does Backstage release, and how do we use versions:bump?

Per the versioning policy, the main line ships monthly, the next line ships weekly, and patch releases are unscheduled. The main line version does not follow semver. Run yarn backstage-cli versions:bump to move to the latest main line, or add --release next to track the weekly line. Then review the create-app changelog and the Upgrade Helper. High and critical vulnerability fixes are backported to releases from the last 6 months when feasible, so falling far behind removes that safety net.

Who owns the Backstage portal after launch

A developer portal is a product with users, so it needs a team that treats it as one. These four groups share the work.

Portal team

  • Owns the app repository, plugins and monthly upgrades.
  • Reviews community plugins before adoption.
  • Runs the deployment, database and search backend.

Platform engineering

  • Maintains templates that encode supported stacks.
  • Keeps CI, security checks and infrastructure in templates current.
  • Retires templates for unsupported stacks.

Service teams

  • Keep catalog-info.yaml accurate for their components.
  • Write and update TechDocs in their repositories.
  • Request new plugins or template changes.

Security

  • Reviews permission policies and integration credentials.
  • Approves scaffolder actions that change infrastructure.
  • Tracks advisories for Backstage and its dependencies.

Backstage implementation and consulting questions

Do we need TypeScript skills in-house?

Yes, for the long term. Configuration and catalog work need little code, but upgrades, custom plugins and template actions are TypeScript and React work. Plan for at least part of an engineer's time on the portal after launch. The first upgrade is run with your team, and deeper training is available for the engineers who will maintain the app.

How does Backstage compare with Spotify Portal, and should we self-host?

Spotify Portal is a managed, no-code internal developer portal built on Backstage, and Spotify handles infrastructure, updates and security. Open source Backstage is self-hosted and maintained by your own team. Managed options reduce upgrade work in exchange for license costs and less control over the codebase. Self-hosting keeps full control and keeps data in your environment. We help you compare the options against your team capacity and plugin needs.

What do Backstage consulting services from DeployOpen cover?

DeployOpen designs the catalog model, builds the Backstage app, templates and custom plugins, and integrates source control, identity, Kubernetes and CI. We deploy and harden the portal in your environment and run the first upgrade with your team. Handover includes the app repository with documented customizations, catalog conventions and validation, a template catalog with owners, permission policies, an upgrade runbook and a backup and restore procedure.

How do we keep catalog data accurate?

Generate entities from authoritative sources where you can, validate catalog files in CI, and show missing owners and annotations in a report. Make the portal the place where teams already look for service information, so they have a reason to update it. Ownership matters most. An entity whose owner does not map to a real team in your identity source is the first sign of drift.

Can Backstage replace our CMDB?

It can hold the developer-facing view of services, APIs and ownership, and custom entity providers can sync with a CMDB. Asset, contract and IT service management data usually stay in the CMDB. Define which system is authoritative for each field before you build the sync, and write that decision into the catalog conventions so teams know where to edit each value.

How do we plan a Backstage new frontend system migration?

Apps on the legacy frontend system can keep running and migrate in steps, while newly created apps use the new system by default. Start by listing every plugin and checking whether it supports the new system. Plugins built for one system need adapters or updates for the other. Decide which plugins to update, replace or retire, then migrate in stages and run the app between stages.

Scope, effort and handover for a Backstage project

Effort depends on the number of repositories and teams, the state of existing service and ownership data, how many templates and custom plugins are needed, the integrations required, whether a legacy Backstage app needs migrating to the new frontend and backend systems, and your hosting standards. Catalog data and adoption work usually take longer than standing up the app.

The local starting point is smaller than production. The getting started guide lists at least 20 GB of disk space and 6 GB of memory, and it runs the app with in-memory SQLite. The guide calls that setup not production-ready. Moving to PostgreSQL, a shared cache, real authentication and permission policies is where most of the production work sits.

DeployOpen designs the catalog model, builds the Backstage app, templates and custom plugins, integrates source control, identity, Kubernetes and CI, deploys and hardens it in your environment, and runs the first upgrade with your team.

Handover includes the app repository with documented customizations, catalog conventions and validation, a template catalog with owners, permission policies, an upgrade runbook and a backup and restore procedure.

Sources and further reading

More on Backstage

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.