Repository navigation
Description
Three deployment shapes, and only two are supported
Recorded from the project's own framing, because it is not written down anywhere
and it determines what #769 should actually be.
- Shared — anyone using spore.host relies on the reaper in spore.host's
infra account (966362334030), reaching their launching account cross-account.
This is the default and it works, unless their organization forbids trusting
an external principal. - In-account — for institutions and businesses that block exactly that: AWS
itself, universities, government.spawn reaper deploy(No supported way to run the TTL reaper in your own account, so governed orgs can't have reaper coverage at all #625) stands up a
reaper inside the account, andpkg/reaperdeployhas nosts:AssumeRole
grant at all — only a trust policy naminglambda.amazonaws.com. That
absence is the point: --fsx-lifecycle ephemeral did not reap the filesystem when the instance terminated (1.2 TiB left AVAILABLE and billing) #613's audit turned on being able to state it. - Own infra account — an institution deploys their own spore.host infra
account, where cross-account trust IS acceptable because both accounts are
theirs, inside their own organization.
Shape 3 is not supported today, and nothing tracks it. #625 covered shape 2;
#457 covers deprovisioning onboarded accounts; neither is this.
What is missing, concretely
A self-deployable cross-account hub. Measured against what exists:
| shape 1 (operated) | shape 2 (pkg/reaperdeploy) |
shape 3 needs | |
|---|---|---|---|
| deployment | spore.host's CFN stack, not third-party deployable | spawn reaper deploy |
self-deployable |
| mode | REAPER_SCAN_SELF=false, cross-account |
SCAN_SELF: "true" hardcoded |
cross-account, by choice |
sts:AssumeRole grant |
yes, in the template | none, by design | yes, as an explicit mode |
| env vars settable | 13, via 19 template parameters | 3 | the cross-account set |
| observability | 6 alarms, 4 metric filters | none | some of it |
So an institution wanting shape 3 has no path: the CFN template is spore.host's
own operational artifact (its parameters are not documented in the repo — #474),
and the Go path deliberately cannot do cross-account.
Why this reframes #769
#769 proposed moving the operated reaper onto pkg/reaperdeploy as a cleanup —
"one path instead of two". Assessed on its own terms that is a bad trade, and I
said so there: it would mean adding an AssumeRole grant to the shape whose
security story is the absence of one, or forking the policy and keeping two paths
anyway.
But as enabling work for shape 3 it is a different proposition. Shape 3
requires a self-deployable cross-account hub, which means pkg/reaperdeploy
needs a deliberate hub mode regardless of whether spore.host's own reaper
ever migrates onto it. The migration then becomes a consequence — spore.host
would be dogfooding the same path it ships to institutions — rather than the
goal.
That is a much better reason to build it, and it changes what gets built:
a mode, chosen explicitly, not a widening of the default.
The constraint that must hold
An in-account deploy must remain auditably free of sts:AssumeRole. That is
what made shape 2 acceptable in a governed org, and #613's audit is quotable
precisely because the answer was "zero". If hub mode is added, there needs to be
a test asserting that the in-account path emits no AssumeRole grant — otherwise
the property becomes a claim rather than a fact, and the next audit cannot repeat
it.
Related
- Move the operated ttl-reaper off CloudFormation onto pkg/reaperdeploy (split from #654) #769 — the migration this reframes; assess it as shape-3 enabling work, not cleanup
- No supported way to run the TTL reaper in your own account, so governed orgs can't have reaper coverage at all #625 — shape 2, shipped
- ttl-reaper: cross-account trust names a CFN-generated role ARN suffix — recreating the stack breaks EVERY account at once (#457 trap 1) #476 — the CFN-generated role ARN trap, which a Go hub path would avoid by using a stable role name
- ttl-reaper: production deploy parameters are recorded nowhere in the repo — a bare
make deploysilently regresses prod #474 — the operated stack's parameters are recorded nowhere, which is part of why shape 1's template is not a template anyone else can use - Design: forget stale accounts — deprovisioning lifecycle for onboarded BYOA accounts #457 — deprovisioning onboarded accounts (shape 1's lifecycle, not this)
Context from project notes rather than this repo: an enterprise deployment is
already in progress in account 812107987990 at
spore.research.wwps.aws.dev, which is an instance of shape 3 — worth
confirming whether that deployment currently has reaper coverage at all, since
by this analysis it cannot have it through either supported path.
Activity
[-]No supported way to deploy your own spore.host infra account (cross-account reaper hub)[/-][+]Future: deploy your own spore.host infra account (the whole control plane, not just the reaper)[/+]scttfrdmn commentedon Oct 10, 2026
Correction: I scoped this to the reaper. It is the whole control plane, and it is a future state.
Two things to fix in the framing above.
It is not just a reaper. I filed this from a reaper investigation (#769) and
inherited that narrowness. An institution standing up its own spore.host infra
account needs the control plane, of which the reaper is one function. Measured
with
spawn footprint(#771) against 966362334030/us-east-1 — 103control-plane resources:
The reaper is 1 of 18 functions. The others include the sweep orchestrator,
pipeline orchestrator, scheduler handler, autoscale orchestrators, dashboard
API/websocket pair, alert evaluator, cost-history collector, DNS updater, and the
portal phone-home. Plus 11 regional
spawn-binaries-*buckets that instancebootstrap and
upgrade-sporedread from — which a self-hosted deployment wouldneed its own copies of, in its own regions, or a documented way to point at
spore.host's.
So the real question this issue asks is: which of those 103 are load-bearing
for a self-hosted deployment, which are spore.host-operator-only, and which are
optional? That triage is the actual first deliverable, and
spawn footprint -o jsonnow produces the input for it.It is a future state. Not scheduled, not blocking anything. Retitled to say
so. The value of writing it down now is that it stops being rediscovered from a
reaper-shaped hole each time, and it gives #769 a correct reason to exist rather
than a cleanup-shaped one.
What this means for #769
Unchanged in direction, clearer in status: a cross-account hub mode in
pkg/reaperdeployis one component of a future shape-3 deployment, not thewhole of it, and not urgent. The constraint still holds — an in-account deploy
must remain auditably free of
sts:AssumeRole, with a test to keep that a factrather than a claim.
Also fixed while measuring this
spawn footprint -o jsonemitted snake_case at the top level and PascalCaseinside it (
control_plane[].Service), becauseControlPlaneResourcehad nojson tags. A machine contract should not require knowing which half of the struct
you are reading. Tagged now.
fix(footprint): consistent snake_case keys in -o json (#781)
remove: the spawn alerts path and the stranded self-hosted stack (#783)…