Backstage on Kubernetes, Docker or VMs: which model fits your team
Kubernetes fits teams that already operate clusters, VMs fit teams standardized on virtualization and change control, and Docker fits small or single-host setups where the team accepts more manual recovery. Backstage is a framework your team builds and hosts itself, and the project offers no paid edition, so the license itself costs nothing. The runtime you pick mostly changes who carries upgrades, availability and recovery work for the portal, its PostgreSQL database and the plugins you add. Read the rest of this page with one question in mind: which of your engineers will patch, monitor and restore the Backstage app.
Choose Kubernetes when a platform team already runs clusters with GitOps, ingress, secrets handling and monitoring in place, because the Backstage app, its database and its plugins can follow the same deployment and recovery patterns as your other services. The condition that changes this answer is capacity: if the cluster team is thin or the clusters are shared with production workloads nobody wants to touch, the portal becomes one more thing to protect. Choose VMs when change advisory, patch windows and backup tooling already center on hosts, so the portal fits existing evidence and approval paths. Your team then owns the Node.js runtime, the PostgreSQL service and every upgrade step on each machine. Docker suits a proof of concept, a small internal catalog or one well-documented host, but recovery depends on that host and on a restore runbook someone has actually tested.
Before you choose, confirm five things in your own environment. Ask whether the cluster team will accept a Backstage workload and who is on call for it. Ask whether your change control requires host-level patch records, since that decides whether VMs reduce steps or add them. Confirm which Node.js releases your team will track, because the Backstage versioning policy named Node.js 22 and 24 as the supported pair as of Backstage 1.46.0, and upgrades run through yarn backstage-cli versions:bump. Decide where PostgreSQL runs, who restores it and how often you test that restore. Finally, plan your sign-in resolvers so every identity provider maps to one user identity, and keep guest access out of production.
Kubernetes or VMs: how sizing, availability and upgrades differ
This table compares how Kubernetes and virtual machines differ for running a self-hosted Backstage app on scheduling, rollouts, scaling, backup, monitoring, skills and ownership. Read each row for the condition that favors that option, and note that Docker is covered in the architecture section. Size the deployment from your own load tests and the requirements for your Backstage version.
| Area | Kubernetes | Virtual machines |
|---|---|---|
| Scheduling and restarts | Scheduler places pods on nodes and restarts failed containers. Wins when several replicas must survive node failures without manual steps. | Failover depends on your hypervisor and process manager settings. Wins when one stable instance is enough and fewer moving parts matter. |
| Rollout and rollback | Rolling updates and revision history make rollback a built-in command. Wins when you deploy often and want rollbacks without rebuilding hosts. | Rollouts are scripted package or image swaps that you test yourself. Wins when change control favors one host at a time with manual approval. |
| Scaling Backstage | Replicas scale out with rules you define, but only if the app and its shared cache and database are set up for it. Wins when load varies and you already run autoscaling. | Scaling means adding hosts by hand or through your infrastructure tooling. Wins when load is steady and capacity changes are planned in advance. |
| Backup approach | Back up PostgreSQL, configuration and secrets, plus exported cluster objects if you use them. Wins when your team already runs cluster backup tooling. | Snapshot or image the host and back up PostgreSQL separately. Wins when your backup platform already covers VM images and restore testing. |
| Monitoring | Cluster metrics, pod health and events come from the platform, plus Backstage app metrics. Wins when you already operate cluster monitoring. | Host metrics and logs need agents on each VM. Wins when host-level visibility is the main need and the fleet is small. |
| Skills needed | Kubernetes operations, manifests or Helm, and Backstage build skills. Wins when your platform team already runs Kubernetes in production. | Host administration, process management and Backstage build skills. Wins when the infrastructure team runs VMs well and has no cluster experience. |
| Who owns the base platform | Your platform or cluster team owns the cluster, and the app team owns Backstage. Wins when a shared cluster already has an owner. | Infrastructure owns the hosts, and the Backstage team owns the app. Wins when no shared cluster exists and hosts already have an owner. |
How the Backstage backend, database and cache map to each host model
Backstage has six parts that run on every host model: the app build, the database, the per-plugin databases, the cache, the Kubernetes and search plugins, and sign-in. Docker, Kubernetes and VMs change how each part is started, networked, backed up and reached, while the application code stays the same. Read each card as a checklist for the decisions your platform team makes before choosing a host model.
Backend and frontend build
The Backstage backend and frontend are built once from your app and then packaged for the host. On Docker and Kubernetes that means one container image, which Kubernetes runs as a deployment with replicas, while on VMs the same build runs under a service manager on the host. What stays the same is the TypeScript and React code you maintain and the @backstage packages you upgrade together. Confirm how your build serves the frontend, and which process handles the backend, before you write deployment files for any host model.
Architecture overviewPostgreSQL in production
Production Backstage uses PostgreSQL, and SQLite is for development only. Where the database lives changes with the host model: a separate container or a managed instance outside the app container on Docker, a connection supplied through a Kubernetes Secret on Kubernetes, and a database service on the VM itself. What stays the same is the database engine and the rule that SQLite never reaches production. Ask who owns backups, point-in-time recovery and version upgrades for PostgreSQL in your environment, because ownership is easy to leave unassigned between the app and platform teams.
Per-plugin logical databases
Each backend plugin gets its own logical database, created through Knex, so one PostgreSQL server holds several separate databases. The host model changes who runs the migrations and which account can create and alter them: a step in your release pipeline on Docker or Kubernetes, or a manual step on a VM. The separation stays the same on every host. Check that your backup job captures every plugin database together, and that a restore test brings all of them back to one consistent point, since a partial restore can leave plugins out of step with each other.
Cache backend choice
Backstage can cache with Redis, Memcache, Infinispan or an in-memory store, and the choice is set in configuration. The host model changes what the cache costs to run: on Docker or Kubernetes, Redis or Memcache is another service to deploy and monitor, and each replica holds its own in-memory cache, so replicas do not share entries. On a VM, the cache is a local service or a separate host you patch yourself. What stays the same is the configuration choice, so test how Backstage behaves when the cache is unavailable before you pick one.
Kubernetes and search plugins
The Kubernetes and search plugins ship in the built-in feature set and reach into other systems. The Kubernetes plugin reads cluster resources, so the service account, its read scope and the network path to each cluster API matter wherever Backstage runs. On Docker or a VM, you provide that route and credential yourself, while on Kubernetes you confirm which access option your plugin version supports. What stays the same is the plugin configuration. Review each credential's read scope before rollout, since the portal shows what those credentials can read.
Sign-in resolver and public URL
The identity provider sign-in resolver maps each provider identity to one Backstage user, so every sign-in path resolves to the same identity. The host model changes the public address, because the callback URL depends on the hostname the browser uses: the load balancer and ingress on Kubernetes, a reverse proxy on a VM, or the published port on Docker. What stays the same is the resolver logic. Confirm the callback URL in each environment, and disable guest access in production, as the authentication documentation advises.
Authentication docsWhere traffic enters and where state lives
Engineers' browsers send HTTPS requests to an ingress or load balancer inside the network the team controls. That edge terminates TLS and routes traffic to the Backstage frontend, which calls the backend API. The backend is the only component that talks to the database, cache, identity provider and source systems. PostgreSQL holds data for each plugin in its own logical database, and the cache is a separate choice among Redis, Memcache, Infinispan or in-memory options. Check where TLS ends, whether every sign-in provider resolves to one identity, and which egress paths the backend needs to reach each source system.
Traffic enters through one controlled edge; state sits in PostgreSQL and the cache.
Why high availability depends on the database and cache
The application layer is only one part of Backstage availability. The software catalog and plugin state live in PostgreSQL, which Backstage uses in production, and each backend plugin gets its own logical database through Knex. If that database has no replica or rehearsed failover, a healthy container or VM still returns errors. The host model decides how quickly a failed app process comes back. It does not decide whether the database is reachable or whether catalog data survives a failure. Treat PostgreSQL as its own availability target with a named owner, a backup schedule and a failover test. The Backstage architecture overview describes how the database and cache are used, which is a useful starting point for that review.
Kubernetes can restart failed Backstage pods and reschedule them onto healthy nodes, which covers process crashes and node loss for the app itself, provided the team runs more than one replica and configures health checks. It does not make PostgreSQL or the cache highly available by itself, so those need their own managed service or operator design. VMs depend on the team's own failover tooling: a standby host, a load balancer, a service supervisor and a runbook that someone has actually rehearsed. A single Docker host is usually a single point of failure unless the team adds a second host, a load balancer and a shared database. Decide who owns each of those pieces before choosing the host model.
Before you commit, confirm the details for your exact Backstage version in its deployment documentation, and confirm the failover and backup behavior in your database provider's high availability documentation. For Backstage, check which cache backend you will use (in-memory, Redis, Memcache or Infinispan), what each one loses on restart, and how multiple app replicas share state. For PostgreSQL, check replica promotion, failover duration, point-in-time recovery and connection limits when several app instances connect at once. Write the answers down, then test one app restart and one database failover in staging before go-live. That test result is the evidence your platform team can show during internal review.
Upgrades, backups, monitoring and skills for each model
This table compares the operating work for Backstage on Kubernetes and on virtual machines, and marks tasks that are identical in both models. Read each row for who owns the work, the platform team or the app team, and which release rules apply. The main takeaway is that the version bump, release cadence and sign-in rules are the same in both, so the real difference lies in host patching, monitoring and staffing.
| Task | Kubernetes | Virtual machines |
|---|---|---|
| Version bump of @backstage packages | Identical: run yarn backstage-cli versions:bump in the app repo, then rebuild the image | Identical: run yarn backstage-cli versions:bump in the app repo, then rebuild and redeploy the artifact |
| Release cadence to plan for | Main line ships monthly and the next line ships weekly. Schedule one upgrade path per month and test the next line in staging | Identical cadence. Align VM maintenance windows with the monthly main line so host changes do not collide with app upgrades |
| Node.js runtime | Confirm the two adjacent even-numbered Node.js releases your version supports (22 and 24 as of 1.46.0), then update the base image | Same Node.js check, then update the Node.js install on each VM before the app bump |
| Security patch backports | High and critical fixes are backported to releases from the last 6 months where feasible. Rebuild the image to pick them up | Same backport policy applies. Platform team applies patched base OS and Node.js packages to each VM on its own schedule |
| Backups | Platform team backs up PostgreSQL and any persistent volumes. App team keeps catalog and template repos in Git | Platform team backs up PostgreSQL and host configuration. App team keeps catalog and template repos in Git |
| Monitoring | Platform team watches cluster and pod health. App team owns plugin-level alerts and catalog ingestion checks | Platform team watches host, process and disk health. App team owns plugin-level alerts and catalog ingestion checks |
| Secrets and configuration | Secrets come from Kubernetes secrets or an external store. Per-environment app-config files live in Git | Secrets come from a host-level store or restricted files. Per-environment app-config files live in Git |
| Sign-in and access | Identical: configure sign-in resolvers so each provider maps to one identity, and disable guest access in production | Identical: configure sign-in resolvers so each provider maps to one identity, and disable guest access in production |
| Skills and staffing | Kubernetes and Helm skills for the platform team, plus TypeScript and React for the app team | Linux administration and reverse proxy skills for the platform team, plus TypeScript and React for the app team |
Which team fits Docker, Kubernetes or VMs
A small team running Backstage on one Docker host usually has one or two people who own the app, the container images and the host. This layout keeps the number of moving parts low, but every failure lands on one machine, so the team should accept that before committing. The team needs a working Backstage app built from its own TypeScript and React code, with PostgreSQL for production data, since SQLite is meant for development.
- Runtime and database: One Backstage container, a PostgreSQL instance with a separate logical database for each backend plugin, and a reverse proxy for TLS. Confirm which Node.js major version your app targets, because the versioning policy supports two adjacent even-numbered releases (22 and 24 as of Backstage 1.46.0).
- Skills: Node.js, TypeScript, React, Docker image builds, Linux host administration and PostgreSQL backup and restore.
- Sign-in: Guest access should stay off in production, so the team needs an identity provider and sign-in resolvers that map each provider to one identity.
- Partner scope: Building the app, configuring sign-in, writing a tested restore runbook and planning upgrades can all be handed to an outside partner under a written scope.
Before choosing this tab, confirm that your recovery expectations accept a single host and that a database restore has been rehearsed on a second machine.
A team that already runs clusters can deploy Backstage as an ordinary workload. The portal then depends on cluster services the team must already operate well, including ingress, certificates, secrets, storage and PostgreSQL. Backstage also ships a Kubernetes plugin, so the team must decide which clusters the portal may read and with which permissions. The platform team usually owns these decisions, and application teams usually own the catalog content.
- Workload layout: Backstage as a Deployment behind an Ingress, with PostgreSQL run by an existing database operator or a managed service. If you run more than one replica, confirm the cache backend your app configures, since the architecture overview lists Redis, Memcache, Infinispan and in-memory options.
- Skills: Kubernetes manifests or Helm charts, cluster RBAC, secret handling, ingress and certificate operations, plus the same Node.js and React skills any Backstage team needs.
- Read access: Scope the Kubernetes plugin's service account to the namespaces the portal needs, and confirm that your admission and image policies accept the portal's images.
- Partner scope: Manifest or chart design, RBAC scoping, a rehearsed upgrade on a non-production cluster and runbooks for the platform team can be handed to a partner under a written scope.
Before choosing this tab, confirm that someone on the platform team owns every dependency the portal uses, from the ingress controller to the database backups.
A team standardized on hypervisors and formal change control usually runs Backstage on Linux virtual machines, configured through automation and changed through tickets. The main constraint is release rhythm. The main Backstage release line ships monthly and the next line ships weekly, so the change process must absorb a steady stream of upgrades rather than occasional large ones. Plan the process around that cadence before the first deployment.
- Hosts and database: Application VMs behind a load balancer, with PostgreSQL on a dedicated VM or an approved database service. Confirm how hypervisor snapshots interact with database consistency, and keep logical database backups as a separate step.
- Skills: Linux administration, configuration management, Node.js runtime management, change ticket workflows and evidence collection.
- Security fixes: High and critical vulnerabilities are backported to releases from the last 6 months where feasible. Confirm how your change board handles a fix that arrives outside a scheduled window, and read the Backstage upgrade guide before writing the procedure.
- Partner scope: Change packages, runbooks, configuration code, a test environment that mirrors production and evidence documentation can be prepared with a partner. DeployOpen prepares evidence for assessments but does not issue audit reports or attestations.
Before choosing this tab, confirm your change board's lead times for standard and emergency changes, because they decide whether the release cadence can be followed.
How an upgrade moves through each environment
An upgrade follows the same sequence on Docker, Kubernetes and VMs, but where each step runs changes. Work through the steps in order, because each one produces the input the next step needs. The end result is a Backstage version that signs in, loads its plugins and can be reversed if the rollout fails.
Pick the main or next release line
Read the Backstage versioning policy and decide whether this upgrade follows the main release line, which ships monthly, or the next release line, which ships weekly. Platform engineering usually owns this decision, and the team records the chosen line and target version in the upgrade ticket. On Docker, Kubernetes and VMs the decision is identical, but the image tag or package version you pin later must match it. Done when the target version is written down and someone other than the author has reviewed it.
Bump all @backstage packages together
Run
yarn backstage-cli versions:bumpfrom the repository root so every @backstage package moves to the target release together. The command updates package.json files across the monorepo, and the lockfile changes with them. If your Docker or Kubernetes pipeline builds from this commit, the image is rebuilt from the bumped lockfile; on VMs, the same commit is pulled onto the host and rebuilt there. Done when yarn install succeeds, the app compiles locally, and the diff contains only the version changes you expected.Review template changes in the Upgrade Helper
Open the Backstage Upgrade Helper, select the current and target versions, and read the template changes it lists for your app and plugins. The helper shows what changed in the generated files, so a developer can decide which changes to merge into your customized code. Because this step concerns application code, it is identical on all three models. Done when every listed change is merged, deliberately skipped with a reason in the ticket, or marked for follow-up.
Confirm the supported Node.js pair
Check the Backstage versioning policy for the Node.js releases supported by your target version. The policy supports exactly two adjacent even-numbered releases, and as of Backstage 1.46.0 these are Node.js 22 and 24. Set the Node.js version in your build image or base image, and in the VM's runtime, to one of that pair. The team confirms the match on each host type: the Dockerfile base image, the Kubernetes build image, or the Node install on the VM. Done when the version string in the build and the runtime both match the supported pair.
Test sign-in and plugins in staging
Deploy the bumped build to a staging copy that uses the same deployment model as production, so a Docker staging stack, a Kubernetes namespace or a VM mirrors what production runs. Sign in through the production identity provider configuration, confirm the sign-in resolver maps each provider to one identity, and check that guest access is off. Exercise each installed plugin, the software catalog, templates and TechDocs. Done when sign-in, catalog reads and writes, template runs and plugin pages pass a written checklist.
Roll out with a documented rollback path
Roll out the tested build with the same method you use for production: an image swap on Docker, a Deployment update on Kubernetes, or an artifact deploy on VMs. Before cutover, write down how to return to the previous image or package and where the pre-upgrade PostgreSQL backup is stored. Confirm with the Backstage release notes whether database changes can be reversed, because a code rollback alone may not undo them. Done when the rollback has been rehearsed on staging and production health checks pass after cutover.
How much effort and cost does a Backstage deployment take?
What does a Backstage deployment cost beyond the free license?
Backstage has no license fee, because the project is Apache-2.0 licensed and offers no paid edition. The money goes to people and infrastructure. One-time costs are the initial build: the app, the catalog model, sign-in, templates and the plugins you need. Recurring costs are hosting, the PostgreSQL database, monitoring, on-call, upgrades and plugin maintenance. Who gets paid depends on your staffing model: your own engineers, an implementation partner under a written scope, or a managed service. Costs rise with the number of integrations, custom plugins, catalog sources and identity providers. DeployOpen does not publish a price list, and a quote follows from the written scope. Ask any quote to separate the one-time build from recurring operations and to name who performs each task.
Is Docker a sound choice for running Backstage in production?
Docker can be a sound production choice when your team already runs containers reliably, but the container is only the packaging. Production also needs a PostgreSQL database with backups, secrets handling, TLS, health checks, log and metric collection, and a controlled way to roll out new images. Backstage uses PostgreSQL in production according to its architecture overview, so plan that database from the start. Ask who restarts the app after a failure, who patches the base image and who checks the image after each Backstage upgrade. Compare these answers against the Kubernetes and virtual machine options in this guide. Your platform team should make the final call once the operating model is clear.
How long does it take to set up Backstage?
No fixed duration applies until someone writes the scope. Setup time depends on how many sources the catalog reads, how many templates and plugins you need, which identity provider you use, where the app will run, and how familiar your engineers are with TypeScript, React and Node.js. Each of those adds design, build and review work. DeployOpen plans most engagements as fixed-scope work, with scope, deliverables and timelines agreed in writing before work starts. Ask any partner for a dated plan tied to named integrations, a list of exclusions and the acceptance test for each deliverable. Treat any timeline quoted before those items exist on paper as a rough guess, and ask what would change it.
What does our internal team need to provide for Backstage?
Plan for a named owner who makes decisions and a small group who can read and change the code. The work typically needs:
- Engineers comfortable with TypeScript, React and Node.js, because each adopter builds and maintains its own app.
- An owner for the sign-in provider, with the admin access needed to configure it.
- Access to the systems the catalog reads from, plus the people who own those records.
- Operators for PostgreSQL, the hosting target and monitoring, or a managed database arrangement.
- Time for on-call and for reviewing plugin and dependency changes.
Check the Node.js versions too. Per the Backstage versioning policy, Backstage supports two adjacent even-numbered Node.js releases, which were Node.js 22 and 24 as of Backstage 1.46.0.
Can our team run Backstage without an implementation partner?
Yes, if your team already has the skills described above and the capacity to own the system over time. Backstage is open source with no paid edition, so the decision centers on staffing and hosting. Outside help makes sense when the first build needs skills you lack, when the deadline is tight, when a security review needs documented evidence, or when upgrade work competes with product work. A partner can also plan a handover so your team runs the system afterwards. Ask how the handover works, what documentation you receive and what stays with you after go-live. DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside the client's own infrastructure, and offers ongoing support as retainers.
Who handles Backstage upgrades after go-live?
Your team owns upgrades unless a written support agreement assigns that work to someone else. Backstage ships a main release line monthly and a next release line weekly, so you set the cadence. Backstage backports high and critical vulnerabilities to releases from the last 6 months where feasible, so staying within recent releases keeps you covered. Upgrades move all @backstage packages together with yarn backstage-cli versions:bump, and the Upgrade Helper shows template changes between versions, as described in Keeping Backstage updated. Ask who runs each upgrade, how often, who tests your plugins and how a failed upgrade rolls back. DeployOpen offers upgrades and continuous support as retainers.
What security settings should Backstage have before launch?
Confirm sign-in and access controls before launch. Backstage's authentication documentation advises configuring sign-in resolvers so every provider resolves to the same identity, and it advises against offering guest access in production. Check these items with your security team:
- One identity per person across all sign-in providers.
- Guest access turned off in production.
- Catalog and template permissions reviewed by the owners of those systems.
- Secrets kept in your secret store, not in configuration files.
- Logs and monitoring routed to the systems your security team reviews.
Confirm each setting against the documentation for the Backstage version you run, because configuration keys can change between releases.
How DeployOpen scopes and runs a Backstage deployment
DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Backstage, the scope starts with the hosting model you run, whether Docker, Kubernetes or VMs. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- The written scope names the hosting target (Docker, Kubernetes or VMs) and the infrastructure it runs in.
- Scope covers database, cache, authentication and the plugins you need, each listed as a deliverable.
- Engagements are fixed-scope, and ongoing support can follow as a retainer once the handover is complete.
How we build
- We set up PostgreSQL for production, since Backstage uses it there, and keep SQLite to local development.
- Authentication is configured with sign-in resolvers that map every provider to one identity, with guest access disabled in production.
- Node.js is pinned to one of the two even-numbered releases Backstage supports at build time.
How we hand over
- Written documentation covers the topology, the upgrade path and the backup and restore steps for your environment.
- The upgrade runbook uses
yarn backstage-cli versions:bumpto move @backstage packages together, reviewed against the Backstage Upgrade Helper. - Handover includes a walkthrough with your platform team of the running system and its runbooks.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped separately from the build.
- Security testing of the portal, its plugins and its integrations can be scoped alongside the deployment.
- High and critical fixes are backported to releases from the last 6 months where feasible, so keep upgrades current.

