/idp-skills:complete-idp-deployment-on-prem-from-scratchfrom idp-skills
Sequences a complete on-prem IDP deployment from bare metal/vSphere through kubeadm, private registry, Backstage with PostgreSQL, golden-path templates, LDAP/AD self-service, multi-tenancy, and scorecards. For air-gapped environments.
Ships in idp-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
An on-prem Internal Developer Platform inverts almost every assumption the four cloud-specific skills in this repo make: there is no landing zone with account-vending guardrails, no managed Kubernetes control plane, no managed database, and — if the environment is air-gapped or network-restricted — no assumption of reachable public registries or SaaS identity providers. What replaces those is self-managed infrastructure the platform team is fully responsible for at every layer, and a self-service model built around internal identity (LDAP/AD) and internal-only approval rather than cloud IAM and cloud budget policy. Multi-tenancy is treated as a first-class design phase here, not a later add-on, because a shared on-prem cluster has none of the cheap "just vend another account/ subscription/project" isolation the cloud variants can lean on.
kubectl, helm ≥ 3.8, etcdctl matching the cluster's etcd version,
and (if adopting Cluster API) clusterctl, all available from an
internal tooling host or bastion — not assumed to be freely
downloadable at deploy time in an air-gapped site.Phase 1 — On-prem infrastructure baseline. Establish inventory-as-code before touching hardware, choose and standardize the virtualization platform (vSphere is the common baseline; bare-metal via PXE/MAAS/Redfish is the alternative), automate provisioning rather than hand-installing OSes, and decide the hybrid connectivity model back to any cloud dependency that remains (even an air-gapped site sometimes needs a one-way path for patches). See on-prem-infrastructure-patterns. This phase's capacity-planning step matters more here than in any other variant — under-provisioning discovered mid-build costs weeks of procurement lead time, not a changed instance type.
Phase 2 — Self-managed Kubernetes cluster via kubeadm/Cluster API, with
etcd health as an explicit ongoing concern. Bootstrap the control plane
with kubeadm init, decide stacked vs. external etcd for the control-plane
HA model, and put a load balancer/VIP in front of the API server before
joining additional control-plane nodes. If lifecycle management
declaratively across many clusters/sites matters, layer Cluster API on
top. See
kubernetes-cluster-provisioning-with-kubeadm-and-cluster-api.
Because this cluster's control plane has no managed-service SLA behind
it, treat etcd snapshot backups and quorum/health monitoring as a
standing operational phase from day one, not an incident-response
afterthought — see
etcd-backup-restore-and-cluster-health.
This phase has no equivalent in the managed-cluster cloud variants, where
the cloud provider owns etcd entirely.
Phase 3 — Private registry and image/chart mirroring. Stand up (or
confirm) a private registry reachable from every node, expose it internally
via ingress-nginx with a TLS certificate issued from an internal CA rather
than public ACME — see
ingress-nginx-configuration
and
cert-manager-tls-automation
for the private-CA issuance path specifically — and mirror every image and
chart this build depends on (Backstage's own image, Postgres, any CNCF
add-on) before assuming Phase 4 can simply helm install against a public
chart repository. If this site is genuinely air-gapped, treat any step
below that references a public registry, chart repo, or package index as
requiring its mirrored internal equivalent instead — this is the single
biggest source of "works everywhere else, fails here" surprises in an
on-prem build.
Phase 4 — Backstage on the cluster, backed by self-hosted PostgreSQL on in-cluster block storage. Package Backstage as a Helm chart, deploy it against a Postgres instance running in-cluster on Rook-Ceph or Longhorn block storage (Rook-Ceph if object/shared-filesystem storage is also needed elsewhere on this cluster; Longhorn if only replicated block storage is required — see rook-ceph-storage-operations and longhorn-storage-configuration for the tradeoff), and bind Backstage's own authentication to the site's existing LDAP/AD rather than a cloud identity provider. Chart packaging follows helm-chart-authoring; custom backend/frontend logic (very likely needed here for an LDAP/AD auth provider plugin) follows backstage-plugin-development.
Phase 5 — Golden-path template built for internal-only tooling. Author a golden-path template whose CI pipeline targets internal, self-hosted runners (not a SaaS CI service assuming outbound internet) and whose Dockerfile's base images resolve against the Phase 3 private registry by default. Tier by complexity, same as the cloud variants, but document explicitly that every external dependency in the template must resolve internally. See golden-path-template-design-for-developer-platforms.
Phase 6 — Validate the golden path end-to-end, on internal infrastructure only. Run the scaffold-build-deploy-smoke-test-teardown pipeline against an ephemeral namespace on this same on-prem cluster (there is no separate cloud preview environment to spin up on demand), and confirm the pipeline itself has no accidental outbound dependency that would fail in the air-gapped case even if it passes in a connected test run. See golden-path-template-validation-and-testing.
Phase 7 — Internal-only self-service, gated by LDAP/AD identity rather than cloud IAM. Build Scaffolder actions that provision by calling internal APIs — a vSphere API call to clone a VM template, an internal IPAM/DCIM system for address allocation, or a Crossplane provider targeting on-prem infrastructure if one is available — with approval routed to a named internal approver reachable through whatever notification channel this site actually guarantees. There is no cloud budget-policy layer to lean on, so cost/capacity guardrails here are about physical capacity headroom (see Phase 1) rather than a per-instance-class dollar estimate. Keep the same state-machine and server-side-gate pattern as the cloud variants. See platform-self-service-api-and-workflow-design.
Phase 8 — Multi-tenancy and team workspace design, front and center. Because this cluster has no cheap cloud-account-per-team escape hatch, decide the tenancy model deliberately before onboarding a second team: namespace-per-team with RBAC, ResourceQuotas, and default-deny NetworkPolicies is the realistic default; dedicated clusters per tenant are usually not affordable on-prem the way spinning up another cloud account is. Route any dedicated-infrastructure request through an explicit exception process rather than ad hoc. Treat this as a phase to get right before Phase 7's self-service goes live broadly, not after. See multi-tenancy-and-team-workspace-design-for-idp.
Phase 9 — Scorecards, rollout, and operating model. Define production-readiness checks appropriate to self-hosted infrastructure (is the service's image pulled from the internal registry rather than a public one directly, does it have a NetworkPolicy, is it registered with an on-call rotation reachable internally), sequence rollout from a real pilot team, and size the platform team per the thinnest-viable-platform discipline. See service-scorecards-and-maturity-model-design, idp-adoption-rollout-and-change-management-strategy, and platform-engineering-team-topology-and-operating-model.
Symptom: The golden-path template (Phase 5) works perfectly in the platform team's connected test environment but fails immediately at a real air-gapped site. Fix: Some step in the template's CI pipeline or Dockerfile has an unmirrored dependency (a base image tag not yet in the Phase 3 registry, an npm/yarn package resolving against the public registry). Audit the full dependency chain against the site's actual network policy, not just against what worked during development, and add any missing artifact to the mirror before re-publishing the template.
Symptom: The kubeadm-provisioned control plane (Phase 2) loses quorum after a single node failure, taking the whole cluster — including Backstage and the self-service layer — down with it. Fix: This usually means the etcd cluster was left at an even-numbered or too-small member count, or health/quorum monitoring from etcd-backup-restore-and-cluster-health was never actually wired up to alert before quorum was lost. Restore from the most recent verified snapshot, then correct the member count and monitoring gap before declaring the cluster production-ready again.
Symptom: A team requests self-service infrastructure (Phase 7) and the request sits unactioned for over a week because the named approver was on leave and no one else had visibility into the pending request. Fix: This is a consequence of routing approval through a single person and an unreliable notification channel rather than a role-based, monitored queue. Route approval to an internal role/group reachable through a channel the site actually guarantees (an internal ticketing system, not a single person's inbox), and set an explicit escalation SLA even without a cloud-based paging tool to automate it.
Symptom: Two teams sharing the on-prem cluster (no Phase 8 tenancy boundaries yet defined) discover one team's workload has been silently reading traffic destined for the other's service. Fix: This is what happens when Phase 8 is treated as a later hardening pass instead of a prerequisite to onboarding a second tenant. Retrofit namespace-scoped RBAC and a default-deny NetworkPolicy immediately, and audit every self-service request made before the fix for improperly-scoped access.
Symptom: A platform engineer runs kubectl delete namespace against
what's believed to be a decommissioned team's workspace to reclaim
capacity, and it turns out another team's shared resources (a
Crossplane-provisioned internal resource, a shared cache) were
provisioned into the same namespace.
Fix: This is destructive and, on self-hosted infrastructure with no
managed-service undo path, often unrecoverable without a very recent
backup. Never delete a tenant namespace without first confirming (via
Phase 8's ownership model) that nothing shared or still in use lives in
it, and prefer scaling a workload to zero over deleting its namespace
when reclaiming capacity is the actual goal.
Scenario: "Anchorage Defense Systems" runs a regulated, network- segmented on-prem environment with no reliable outbound internet access and must self-host its entire IDP.
platform-onprem-01 bootstraps with a
3-node stacked-etcd control plane behind a keepalived VIP; etcd
snapshots are taken every 6 hours and a restore drill is run once
before go-live.registry.internal.anchorage
mirrors the Backstage image, Postgres image, and every Helm chart the
build needs; it's exposed via ingress-nginx with a cert issued from the
internal CA.charts/backstage-anchorage,
deployed against an in-cluster Postgres instance on Rook-Ceph block
storage, authenticating developers via the site's existing Active
Directory.registry.internal.anchorage.ephemeral-validation namespace and confirms zero
outbound network calls occur during the build.platform-approvers AD group and tracked in the site's internal
ticketing system with a 2-business-day escalation SLA.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
20 skills in this plugin
/backstage-plugin-developmentGuides authoring a custom Backstage plugin — scaffolding a frontend or backend plugin package with `yarn new`, wiring a frontend API client via `createApiRef`, building a backend plugin on the new backend system (`createBackendPlugin`), and registering either into the app's routes or an entity page tab. Use when a user asks to "write a custom Backstage plugin," "add a backend plugin to Backstage," "build a Backstage frontend component that talks to a new API," or "create a Backstage plugin that surfaces X" — this goes beyond catalog/TechDocs/template configuration.
/complete-idp-deployment-on-aws-from-scratchSequences a complete, from-scratch Internal Developer Platform deployment on AWS: landing zone → EKS cluster → Helm-deployed Backstage backed by RDS PostgreSQL → golden-path scaffolding template → self-service API wired to AWS provisioning (IRSA roles, RDS instances) → scorecards. This is the integration runbook that orders the individual AWS/EKS/Backstage skills correctly and flags the handoffs between them. Use when a user asks to "deploy an IDP on AWS from scratch," "stand up Backstage on EKS end-to-end," "build our internal developer platform on AWS," "wire self-service database/IAM provisioning into Backstage on AWS," or "sequence an AWS platform rollout from account creation to golden-path templates."
/complete-idp-deployment-on-azure-from-scratchSequences a complete, from-scratch Internal Developer Platform deployment on Azure: landing zone → AKS cluster → Helm-deployed Backstage backed by Azure Database for PostgreSQL Flexible Server → golden-path scaffolding template → self-service API wired to Azure provisioning (Azure AD Workload Identity federated credentials, Flexible Server instances) → scorecards. This is the integration runbook that orders the individual Azure/AKS/Backstage skills correctly and flags the handoffs between them. Use when a user asks to "deploy an IDP on Azure from scratch," "stand up Backstage on AKS end-to-end," "build our internal developer platform on Azure," "wire self-service database/identity provisioning into Backstage on AKS," or "sequence an Azure platform rollout from subscription vending to golden-path templates."
/complete-idp-deployment-on-gcp-from-scratchSequences a complete, from-scratch Internal Developer Platform deployment on GCP: landing zone → GKE cluster → Helm-deployed Backstage backed by Cloud SQL for PostgreSQL → golden-path scaffolding template → self-service API wired to GCP provisioning (Workload Identity Federation bindings, Cloud SQL instances) → scorecards. This is the integration runbook that orders the individual GCP/GKE/Backstage skills correctly and flags the handoffs between them. Use when a user asks to "deploy an IDP on GCP from scratch," "stand up Backstage on GKE end-to-end," "build our internal developer platform on Google Cloud," "wire self-service database/identity provisioning into Backstage on GKE," or "sequence a GCP platform rollout from project vending to golden-path templates."
/complete-idp-deployment-on-k3s-from-scratchSequences a lightweight Internal Developer Platform deployment on K3s for edge, on-prem, and development contexts where a full Backstage footprint isn't justified: K3s install → a resource-right-sized IDP choice (slimmed single-replica Backstage vs. a hosted no-code catalog tool) → a thin golden-path template → minimal-governance self-service → lightweight scorecards, all explicitly scoped to small teams and constrained hardware rather than restating the full cloud/enterprise build. Use when a user asks to "set up a lightweight internal developer platform," "run Backstage or a service catalog on K3s," "build a dev-team-sized IDP without enterprise overhead," "stand up a platform for an edge or small on-prem deployment," or "decide whether a full Backstage is overkill for our team size."
/complete-idp-deployment-on-kubernetes-from-scratchSequences a complete, cloud-agnostic Internal Developer Platform deployment on any CNCF-conformant Kubernetes cluster: cluster conformance validation → cluster add-ons (ingress, TLS, in-cluster storage) → Helm-deployed Backstage backed by an in-cluster PostgreSQL instance → golden-path scaffolding template → self-service scaffolder actions calling generic Kubernetes/Crossplane APIs, deliberately not tied to one cloud's IAM or managed-database provisioning APIs → scorecards. Use when a user asks to "deploy an IDP on Kubernetes without tying it to one cloud," "build a portable/cloud-agnostic internal developer platform," "stand up Backstage on any conformant cluster," "design self-service provisioning that doesn't assume AWS/Azure/GCP," or "sequence a vendor-neutral platform rollout on Kubernetes."
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin idp-skillsOther plugins' skills for the same job