Platform Engineering: Building Internal Developer Platforms (Backstage + Crossplane)
Build IDPs that abstract Kubernetes with Backstage portals and Crossplane APIs.
In plain words
Backstage is the front desk catalog, and Crossplane is the back-office fulfillment API that turns a developer's approved form into infrastructure. The simple Kubernetes rule is: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
Think of it like…
Backstage is the front desk catalog, and Crossplane is the back-office fulfillment API that turns a developer's approved form into infrastructure.
Where you’ve seen it
During a controlled maintenance window, the platform operator runs kubectl get xrd,composition,claim -A; backstage-catalog list | head. Expected evidence: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure. If the run instead shows this symptom, stop and restore the last known state: Publishing a portal entry without RBAC, quotas, or lifecycle ownership creates a button that can provision unsafe resources, and Crossplane deletion policy can erase cloud state unexpectedly.
Words you’ll hear
- Backstage
- For this lesson, Backstage is the controlling idea: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
- Crossplane
- Crossplane is the checkpoint; run
kubectl get xrd,composition,claim -A; backstage-catalog list | headand inspect the owner chain. Publishing a portal entry without RBAC, quotas, or lifecycle ownership creates a button that can provision unsafe resources, and Crossplane deletion policy can erase cloud state unexpectedly. - IDP
- IDP is the outcome to preserve; the cost is explicit: Internal platforms shorten delivery through golden paths, but abstractions hide dependencies and become critical software products needing SLOs and support.
- Verification evidence
- The evidence command is
kubectl get xrd,composition,claim -A; backstage-catalog list | head. It connects the declaration to this behavior: Build IDPs that abstract Kubernetes with Backstage portals and Crossplane APIs.
Visual diagram
Theory & deep dive
How Backstage reaches the intended state
Build IDPs that abstract Kubernetes with Backstage portals and Crossplane APIs. Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
The concrete checkpoint is kubectl get xrd,composition,claim -A; backstage-catalog list | head; compare the Backstage owner, Crossplane state, and IDP outcome instead of treating YAML acceptance as proof.
Run kubectl get xrd,composition,claim -A; backstage-catalog list | head after the change and correlate the result with Events and the owning object. Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
Crossplane: failure boundary and production cost
Publishing a portal entry without RBAC, quotas, or lifecycle ownership creates a button that can provision unsafe resources, and Crossplane deletion policy can erase cloud state unexpectedly. The prerequisite contract is concrete: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
Internal platforms shorten delivery through golden paths, but abstractions hide dependencies and become critical software products needing SLOs and support. A safe design limits blast radius, records the last good configuration, and uses kubectl get xrd,composition,claim -A; backstage-catalog list | head as a deterministic rollback checkpoint.
Capture the current state with kubectl get xrd,composition,claim -A; backstage-catalog list | head, then correct the controlling manifest rather than patching a child object; the relevant divergence signal is specific: Publishing a portal entry without RBAC, quotas, or lifecycle ownership creates a button that can provision unsafe resources, and Crossplane deletion policy can erase cloud state unexpectedly.
How it works, step by step
Step 1 of 41. Plan the lifecycle boundary
Inventory versions, capacity, state, backups, and ownership in a reversible plan: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
- Goal
- Build IDPs that abstract Kubernetes with Backstage portals and Crossplane APIs.
- Owner
- Backstage
When to use it & trade-offs
What it is
Build IDPs that abstract Kubernetes with Backstage portals and Crossplane APIs. Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
Why it matters: Publishing a portal entry without RBAC, quotas, or lifecycle ownership creates a button that can provision unsafe resources, and Crossplane deletion policy can erase cloud state unexpectedly. The invariant at risk is specific: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure. The quickest fact check before changing the design is kubectl get xrd,composition,claim -A; backstage-catalog list | head.
When to reach for it
- Use Backstage to enforce this invariant: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
- Use Crossplane evidence from
kubectl get xrd,composition,claim -A; backstage-catalog list | headin reviews and incident timelines. Build IDPs that abstract Kubernetes with Backstage portals and Crossplane APIs. - Choose the managed cloud or platform service route only when this cost is justified by governance or scale: Internal platforms shorten delivery through golden paths, but abstractions hide dependencies and become critical software products needing SLOs and support.
When to avoid or be careful
- Avoid assuming Backstage is complete after YAML submission; the required behavior is concrete: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
- Avoid treating the next symptom as random; check the owner and state with
kubectl get xrd,composition,claim -A; backstage-catalog list | headfirst: Publishing a portal entry without RBAC, quotas, or lifecycle ownership creates a button that can provision unsafe resources, and Crossplane deletion policy can erase cloud state unexpectedly. - Avoid adopting a heavier platform wrapper before measuring its cost: Internal platforms shorten delivery through golden paths, but abstractions hide dependencies and become critical software products needing SLOs and support.
Native, manual, and managed paths for Backstage
kubectl get xrd,composition,claim -A; backstage-catalog list | head.Strengths: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
Watch out: Internal platforms shorten delivery through golden paths, but abstractions hide dependencies and become critical software products needing SLOs and support. Recovery must also recognize this signal: Publishing a portal entry without RBAC, quotas, or lifecycle ownership creates a button that can provision unsafe resources, and Crossplane deletion policy can erase cloud state unexpectedly.
kubectl get xrd,composition,claim -A; backstage-catalog list | head; the expected invariant is: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.Strengths: kubectl get xrd,composition,claim -A; backstage-catalog list | head gives immediate feedback without first building a platform layer.
Watch out: A manual change can hide drift, and unlike Backstage, it does not make this symptom self-documenting: Publishing a portal entry without RBAC, quotas, or lifecycle ownership creates a button that can provision unsafe resources, and Crossplane deletion policy can erase cloud state unexpectedly.
kubectl get xrd,composition,claim -A; backstage-catalog list | head.Strengths: Platform controls can wrap this exact behavior in policy or dashboards: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
Watch out: The added platform ownership buys value at this cost: Internal platforms shorten delivery through golden paths, but abstractions hide dependencies and become critical software products needing SLOs and support.
Interview signals & numbers to know
When this topic comes up
- Interview anchor: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
- Trace Backstage to IDP through Crossplane; the invariant is: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
- Recognize the symptom: Publishing a portal entry without RBAC, quotas, or lifecycle ownership creates a button that can provision unsafe resources, and Crossplane deletion policy can erase cloud state unexpectedly.
- Justify the cost: Internal platforms shorten delivery through golden paths, but abstractions hide dependencies and become critical software products needing SLOs and support.
- Verify with kubectl get xrd,composition,claim -A; backstage-catalog list | head instead of only inspecting YAML.
Benchmarks & rules of thumb
- 2
- platform halves: portal experience and provisioned control
- 1
- composed claim needs ownership and deletion policy
- 0
- developer self-service should bypass policy or cost limits
Common mistakes & follow-ups
Common interview mistakes
- Debugging only the child object misses the Backstage owner contract: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure.
- Ignoring this telltale condition leads to unrelated changes: Publishing a portal entry without RBAC, quotas, or lifecycle ownership creates a button that can provision unsafe resources, and Crossplane deletion policy can erase cloud state unexpectedly.
- Repeating
kubectl get xrd,composition,claim -A; backstage-catalog list | headwithout an owner for remediation wastes retry cost. Internal platforms shorten delivery through golden paths, but abstractions hide dependencies and become critical software products needing SLOs and support.
Likely interviewer follow-ups
- How would API output and runtime evidence prove this behavior: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure?
- Which owner object, logs, and Events would you inspect for this symptom-Publishing a portal entry without RBAC, quotas, or lifecycle ownership creates a button that can provision unsafe resources, and Crossplane deletion policy can erase cloud state unexpectedly-?
- At what threshold would this cost become unacceptable: Internal platforms shorten delivery through golden paths, but abstractions hide dependencies and become critical software products needing SLOs and support?
kubectl get xrd,composition,claim -A; backstage-catalog list | head, name the failure, then justify the cost. Invariant: Backstage presents a developer portal and catalog, while Crossplane exposes platform APIs as Composite Resources whose compositions create Kubernetes or cloud infrastructure. Failure: Publishing a portal entry without RBAC, quotas, or lifecycle ownership creates a button that can provision unsafe resources, and Crossplane deletion policy can erase cloud state unexpectedly. Cost: Internal platforms shorten delivery through golden paths, but abstractions hide dependencies and become critical software products needing SLOs and support.Knowledge check
Put it into practice
Practice related interview Q&A
Apply Platform Engineering: Building Internal Developer Platforms (Backstage + Crossplane) with generative AI interview Q&A and hands-on practice.