You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/aws/userdata.ts (buildLinuxBootstrap) can never install spored on a real instance, so the self-termination guarantee doesn't hold on real AWS.
Bugs
404 download URL. It fetches https://github.com/spore-host/spawn/releases/{latest/download|download/<v>}/spored_linux_amd64. That asset does not exist — verified 404. Releases ship versioned tarballs; the Go bootstrap (pkg/launcher/bootstrap.go) installs from S3: https://spawn-binaries-<region>.s3.amazonaws.com/spored-linux-<arch> (verified anonymously downloadable, HTTP 200).
Hardcoded amd64. Breaks every Graviton/arm64 instance. The Go bootstrap detects uname -m → amd64/arm64.
No checksum/signature verification. The Go bootstrap downloads .sha256 (and a .sig) and verifies before installing; spawn-ts installs the raw download.
Fix
Port the Go install block: detect arch, fetch region from IMDS, download spored-linux-<arch> from the regional S3 bucket (with us-east-1 fallback), verify the SHA256, install via atomic rename. Track alongside spawn-ts#2 (real-launch validation) — this blocks it.
Fixed in #18 — bootstrap now installs spored from the regional S3 bucket with arch detection + checksum verify, mirroring the Go tool. Verified end-to-end with a real t4g.nano launch.
Activity
fix: real-AWS bootstrap + IAM profile + AMI resolution (#2, #17) (#18)
scttfrdmn commentedon Jul 21, 2026
Fixed in #18 — bootstrap now installs spored from the regional S3 bucket with arch detection + checksum verify, mirroring the Go tool. Verified end-to-end with a real t4g.nano launch.
release: 0.3.0 (#21)