/idp-skills:complete-idp-deployment-on-aws-from-scratchfrom idp-skills
Sequences a complete from-scratch Internal Developer Platform deployment on AWS: landing zone → EKS → Backstage on RDS PostgreSQL → golden-path templates → self-service API with IRSA/RDS provisioning → scorecards. Orchestrates ordering and handoffs between individual AWS/EKS/Backstage skills.
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.
Standing up an Internal Developer Platform on AWS touches a landing zone, a Kubernetes cluster, a Backstage instance, a catalog database, a scaffolding template, a provisioning API, and a maturity model — each of which is already covered in depth elsewhere in this repo. What isn't covered elsewhere is the sequencing: which phase has to finish and be validated before the next one starts, which decisions made in an early phase (account structure, IRSA trust policy shape) quietly constrain every later phase, and where teams actually get stuck gluing these pieces together. This skill is that integration runbook — a phase-by-phase path from an empty AWS Organization to a Backstage instance developers self-service against, with each phase handing off to the deep skill that covers its mechanics. It does not restate EKS, Backstage, or Terraform mechanics; it tells you which skill to open next and what to carry forward from the previous phase.
kubectl, helm ≥ 3.8 (for OCI registry chart support), and either
eksctl or the Terraform EKS module for cluster provisioning.Phase 1 — AWS landing zone. Design the OU hierarchy (e.g., separate
Platform, Workloads, Security OUs), bootstrap Control Tower, vend
accounts through Account Factory, and attach the SCPs that will constrain
every later phase (a guardrail denying un-tagged resource creation now
saves a scorecard check in Phase 7 from ever failing). Vend at least two
accounts before continuing: one for the platform tooling itself (EKS
cluster, Backstage, RDS) and one as the first "tenant" workload account —
building the IDP against a single-account model here is the single most
common rework trigger later. See
aws-landing-zone-setup.
Do not proceed to Phase 2 until the landing zone's dry-run account
(step 8 of that skill) has been validated — an EKS cluster built inside
an account whose guardrails aren't finalized will need its IAM/network
config redone when the SCPs change.
Phase 2 — EKS cluster with IRSA. Provision the platform-tooling account's EKS cluster with a pinned Kubernetes version, node groups sized for Backstage's backend (steady CPU/memory, not bursty), and IRSA (IAM Roles for Service Accounts) configured on the cluster's OIDC provider before anything is deployed to it. Record the cluster's OIDC provider ARN — Phase 3 and Phase 6 both need it to construct IRSA trust policies. See managed-kubernetes-eks-aks-gke for cluster provisioning, node group design, and the IRSA trust-policy walkthrough specifically.
Phase 3 — Backstage on EKS, backed by RDS PostgreSQL. Package
Backstage as a Helm chart (Backstage's own scaffolded output is a Node
app; wrap its container image in a chart rather than hand-writing raw
manifests) and deploy it against an RDS PostgreSQL instance — Multi-AZ for
anything beyond a pilot — as the catalog database, with the Backstage pod
authenticating to RDS via IAM database authentication through the IRSA
role from Phase 2 rather than a static password baked into a Secret. Any
custom backend plugin logic (a custom auth provider, a proxy to an
internal system) is built per
backstage-plugin-development;
the chart packaging and values-schema design is per
helm-chart-authoring.
Wire the RDS credential lookup through Secrets Manager (an
IRSA-scoped secretsmanager:GetSecretValue call at pod startup, or the
Secrets Store CSI driver) rather than committing a connection string.
Phase 4 — Golden-path template design. With Backstage's Scaffolder
running, design the first golden-path template: an opinionated new-service
default that produces a Dockerfile, a CI pipeline (GitHub Actions or the
CodePipeline/CodeDeploy pattern), catalog registration, and — for AWS
specifically — a scaffolded IRSA-ready Kubernetes ServiceAccount
manifest with the trust-policy annotation pre-filled. Tier the template by
complexity (a minimal tier and a "batteries-included" tier) rather than
building one template that tries to fit every service shape. See
golden-path-template-design-for-developer-platforms.
Phase 5 — Validate the golden path end-to-end. Before publishing the Phase 4 template as the org default, run it through a CI pipeline that scaffolds a real instance, builds it, deploys it to an ephemeral namespace in the Phase 2 cluster (or a short-lived preview account), smoke-tests it, and tears every created resource down on both success and failure — an untested template that silently fails on its first real use burns the platform team's credibility before Phase 9's rollout even starts. See golden-path-template-validation-and-testing.
Phase 6 — Self-service API wired to AWS provisioning. Build the
Scaffolder custom actions (or a bespoke internal API) that let a developer
request an IRSA-scoped IAM role or an RDS instance through the catalog,
not through a ticket. Model the request as a state machine
(requested → policy_checked → pending_approval → approved → provisioning → completed), gate production-tier RDS instance classes and
any IAM role with broader-than-namespace-scoped trust policy behind human
approval, and keep the policy/budget rules external (OPA/Rego) so a
security or FinOps change doesn't require redeploying the action. The
AWS-specific provisioning call itself — assuming a role via STS to run
rds:CreateDBInstance or iam:CreateRole with a trust policy scoped to
the requesting namespace's service account subject — is the part unique to
this phase; the gating pattern around it is generic. See
platform-self-service-api-and-workflow-design.
Phase 7 — Scorecards. Define production-readiness and security-posture checks, including AWS-specific ones a generic scorecard wouldn't include: does the service's IAM role use IRSA rather than a static access key embedded anywhere, is the RDS instance backed by automated backups and (for production tier) Multi-AZ, are resources tagged per the Phase 1 tag policy. Weight by blast radius, not equally. See service-scorecards-and-maturity-model-design.
Phase 8 — Multi-tenancy, if more than one team shares the Phase 2
cluster. Decide namespace-per-team vs. dedicated clusters, bind RBAC and
IRSA trust policies per namespace (scope the trust policy's
sub condition to the specific namespace/ServiceAccount, not the whole
OIDC provider), and enforce ResourceQuotas before onboarding the second
team — retrofitting tenancy boundaries after several teams are already on
a shared cluster is materially harder than designing it in up front. See
multi-tenancy-and-team-workspace-design-for-idp.
Phase 9 — Rollout, operating model, and measurement. Sequence the rollout starting from a pilot team with real, current pain (not the easiest team to please), run the platform team per Team Topologies' "thinnest viable platform" discipline, and measure adoption with SPACE/DX Core 4 metrics rather than catalog entity counts. See idp-adoption-rollout-and-change-management-strategy, platform-engineering-team-topology-and-operating-model, and developer-experience-measurement-and-platform-adoption.
deletion_protection = true and a
final snapshot requirement from day one — the catalog database is easy
to treat as "just infrastructure" until it holds the only record of
which team owns which service.Symptom: The self-service API (Phase 6) works fine in testing but
every real request from a developer fails with an IRSA
AssumeRoleWithWebIdentity AccessDenied.
Fix: This is almost always a Phase 2/Phase 6 sequencing gap — the
IRSA trust policy's sub condition was written against a namespace/
ServiceAccount name that Phase 4's golden-path template scaffolds
differently (e.g., the template appends an environment suffix the trust
policy didn't anticipate). Re-derive the trust policy condition from the
actual scaffolded manifest, not from a hand-typed example.
Symptom: Backstage's catalog intermittently shows stale or missing entities after the RDS instance in Phase 3 fails over during a Multi-AZ maintenance event. Fix: The Backstage backend's database connection pool wasn't configured with retry/reconnect logic tolerant of an RDS failover's brief unavailability window; this is a Phase 3 gap that surfaces only under real AWS maintenance, not in initial testing. Add connection retry with backoff in the Backstage backend config, and confirm the failover behavior once against a non-production RDS instance before relying on it.
Symptom: Phase 7's scorecard shows most services failing the "no static AWS credentials" check, even though the platform mandated IRSA from day one. Fix: Phase 4's golden-path template was published before Phase 2's IRSA setup was finished, so early-adopting services scaffolded from an older template revision with a static-credential fallback baked in. Re-run Phase 5's validation against the current template to confirm the fallback is gone, then batch-remediate the already-scaffolded services rather than treating each one as an isolated scorecard failure.
Symptom: A platform engineer runs terraform destroy against the
Phase 1 landing zone module to "start clean" after a mistake, and it
also tears down the OU structure accounts in Phase 2 through 8 were
built inside.
Fix: This is destructive and often irreversible for account-level
resources (a closed AWS account has a 90-day reactivation window at
best, and Control Tower re-enrollment is not instantaneous). Never run a
blanket destroy against the landing zone module once downstream
phases depend on it; scope any correction to the specific resource via
terraform destroy -target after confirming no later phase references
it, and prefer terraform plan review over destroy-and-reapply as the
default fix for a landing zone misconfiguration.
Symptom: The Phase 6 self-service action's "approve" endpoint is
discovered to have been called directly, bypassing the Scaffolder UI
entirely, and a production-tier RDS instance appears with no approval
record.
Fix: The policy/approval gate was implemented only in the Scaffolder
action's client-facing form validation, not enforced server-side on the
approval endpoint itself. Require the same policy check and
requestedBy != approver guard on every code path that can reach
provisioning, per the self-service skill's server-side-gate guidance —
not just the one a developer is expected to use.
Scenario: "Acme Retail" has an AWS Organization with three existing OUs but no platform tooling. The platform team builds an IDP from scratch over one quarter.
Platform OU is added alongside existing Workloads
and Security OUs; Control Tower vends acme-platform-tools (hosts
EKS + Backstage + RDS) and acme-checkout-dev (first tenant) through
Account Factory, with an SCP denying resource creation without an
owner tag.acme-platform-tools gets an EKS cluster
platform-eks-use1, IRSA enabled against its OIDC provider
oidc.eks.us-east-1.amazonaws.com/id/<OIDC_ID>.charts/backstage-acme, deployed against RDS instance
acme-backstage-catalog (Multi-AZ, db.r6g.large), with the backend
pod's ServiceAccount backstage-backend annotated with an IRSA role
scoped to secretsmanager:GetSecretValue on exactly the RDS credential
secret.ServiceAccount manifest annotated
eks.amazonaws.com/role-arn: arn:aws:iam::<ACCOUNT_ID>:role/${service-name}-irsa.test-svc-001 from the
template, builds it, deploys it to an ephemeral-validation namespace,
curls its /healthz, and tears the namespace down — wired as a
required check before the template can be marked default.custom:aws:provisionRds checks an
OPA policy (auto-approve db.t3.micro/dev, require approval for
anything larger or production-tagged), and on approval calls
rds:CreateDBInstance via an STS-assumed role scoped to the requesting
team's namespace.ServiceAccount lacks the
eks.amazonaws.com/role-arn annotation) weighted highly under Security.acme-checkout is recruited as the pilot team (they'd
filed the most infra tickets last quarter); after two sprints, their
RDS provisioning turnaround drops from a 3-day ticket to a same-day
auto-approved or next-business-day approved request, and the platform
team publishes that result before opening the template org-wide.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-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."
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin idp-skillsOther plugins' skills for the same job