The Simplest Way to Make Backstage and Rook Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair backstage and rook to run storage from one developer portal. Backstage offers the web view, while Rook runs storage inside Kubernetes. This setup lets developers request buckets, disks, and file shares on demand. Platform teams keep control over cluster rules and disk limits. Developers do not need raw cluster admin keys to get storage. Instead, the portal triggers safe workflows that talk to the cluster API. Both tools run on open rules and fit cloud native stacks well. How backst

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams pair backstage and rook to run storage from one developer portal. Backstage offers the web view, while Rook runs storage inside Kubernetes.

This setup lets developers request buckets, disks, and file shares on demand. Platform teams keep control over cluster rules and disk limits. Developers do not need raw cluster admin keys to get storage. Instead, the portal triggers safe workflows that talk to the cluster API. Both tools run on open rules and fit cloud native stacks well.

How backstage and rook share identity and data

Backstage acts as the front door for developers on your team. A user logs into the portal through a central identity provider. The portal checks the user group and maps it to a role. When a user asks for storage, the portal sends an API call. That call goes to the Kubernetes cluster where the Rook operator runs.

Rook watches the cluster API for new storage claims and pool changes. When a valid request arrives, Rook talks to the Ceph storage layer. It builds the volume or object bucket and writes the status back. Backstage reads those status updates from the cluster API in real time. The portal then shows disk health and usage to the app owner. Data flows through standard Kubernetes custom objects at every single step. This design keeps storage tasks clear and easy to track across teams.

Common failure modes and how to scope roles

Many teams fail by giving the portal one huge cluster admin key. If that single token leaks, an attacker can wipe out all storage. Shared service accounts also hide who made a change in the logs. When a disk disappears, the audit log only shows the portal account. You lose track of which person clicked the delete button in production.

Unlogged queries also create blind spots during an incident or security check. If developers read bucket keys straight from cluster secrets, nobody logs it. Another common issue is broad network access between the portal and clusters. If the portal can reach every port, a bug can spread fast.

End-to-End Encryption + Backstage Security Plugins: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix this, bind portal actions to small, scoped Kubernetes roles. Create separate roles for reading status and for making new storage claims. Map each developer team to its own namespace inside the cluster. Never let the portal read raw storage secrets or admin keys directly. Limit network paths so the portal only reaches the cluster API port. Turn on cluster audit logs to record every storage call and user.

Safe patterns for self-service storage requests

Good self-service starts with strict templates inside your developer portal. Instead of open forms, give users a few safe storage sizes. A user picks a small, medium, or large disk from a list. The portal then writes a manifest into a Git repo for review. A GitOps tool reads that repo and applies the change to Kubernetes. This flow adds a clear paper trail before Rook creates any disk.

You should also set hard quotas on every namespace that holds storage. Quotas stop one bad request from eating up all free disk space. Pair those quotas with alerts that warn teams before disks fill up. Show those alerts right inside the portal view for each service. When teams see their own usage, they clean up old volumes faster. Keep read actions fast, and put strict checks on all write actions.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

Does Backstage talk to Ceph storage nodes directly?

No, the portal talks to the Kubernetes API or a Git repo. The Rook operator reads those cluster objects and talks to Ceph nodes.

How should teams handle object bucket keys in the portal?

Do not show raw bucket keys on the portal screen to users. Mount the secret straight into the app pod inside the cluster instead.

What permissions does the portal need to show Rook health?

Give the portal a read-only cluster role for storage custom objects. This role lets it read pool health without changing any cluster state.

The query runs. The emails stay hidden.