spore.host is a suite of tools for launching and managing AWS EC2 instances (Linux and Windows) — with automatic lifecycle management so instances clean up after themselves.
This repository (spore-host/spore-host) holds the shared infrastructure behind spore.host: the hosted REST API, the dashboard, deployment automation, AMI builds, and the documentation site. The CLI tools and SDKs each live in their own repository (see below) — the Python SDK is published from spore-host/python-sdk.
Each tool is developed and released independently:
| Tool | Repo | What it does |
|---|---|---|
| 🔍 truffle | spore-host/truffle | Find capacity, compare spot prices, check quotas |
| 🚀 spawn | spore-host/spawn | Launch and manage Linux & Windows instances (build a Windows AMI from an ISO; connect via SSH, RDP, or SSM; includes the spored lifecycle daemon) |
| 👁️ lagotto | spore-host/lagotto | Watch for EC2 capacity and act when it appears |
| 🤖 spore-host-mcp | spore-host/spore-host-mcp | AI assistant integration (Claude, Cursor) |
| 🧩 spore-plugins | spore-host/spore-plugins | Official plugin registry for spawn |
| 🐍 python-sdk | spore-host/python-sdk | Python SDK (pip install spore-host) for notebooks and scripts |
| 🧬 nf-spawn | spore-host/nf-spawn | Nextflow executor plugin — run pipeline steps on ephemeral instances |
| 📚 libs | spore-host/libs | Shared Go libraries (i18n, catalog, pricing) |
macOS / Linux (Homebrew)
brew tap spore-host/tap && brew trust spore-host/tap
brew install spore-host/tap/truffle
brew install spore-host/tap/spawn
brew install spore-host/tap/lagottoWindows (Scoop)
scoop bucket add spore-host https://github.com/spore-host/scoop-bucket
scoop install truffle spawn lagottoSee each tool's repo for .deb/.rpm packages and direct downloads.
# Find the cheapest spot instance across regions
truffle spot c6a.xlarge c7g.xlarge --sort-by-price --active-only
# Launch with a name — gets DNS at my-job.<account>.spore.host automatically
spawn launch my-job --instance-type c6a.xlarge --ttl 4h --on-complete terminate
# Connect by name (auto-starts if stopped)
spawn connect my-job
# Watch for scarce GPU capacity and auto-launch when it appears
lagotto watch "p5.48xlarge" --action spawn --spawn-config training.yaml --ttl 7dWindows, too — turn a Windows 11 ISO into a fast-booting AMI, launch it, and connect by RDP or SSH:
spawn image import --iso Win11_Enterprise.iso --name win11 # ISO → AMI (auto-warmed)
spawn launch winbox --ami <ami-id> --os windows --ttl 4h
spawn connect winbox --rdp # graphical desktop (or --ssh, or a PowerShell-over-SSM shell)See the Windows beta guide for the full walkthrough.
Full usage at docs.spore.host.
spore-host/
├── lambda/
│ └── rest-api/ # Hosted REST API Lambda (instance management + SMS webhook)
├── web/ # Dashboard static assets (dashboard.html, library.html, …)
├── infra/ # AMI builds, TLS certs, infrastructure deployment guide
├── scripts/ # Deployment & setup automation (Cognito, API Gateway, DynamoDB, S3, IAM)
├── config/ # OAuth credentials (gitignored secrets)
├── examples/ # Multi-region example configs
└── docs/ # VitePress documentation site (docs.spore.host) — covers all tools
The hosted API (lambda/rest-api) imports the published tool modules
(github.com/spore-host/spawn, github.com/spore-host/truffle) as versioned
dependencies — it is the only Go module in this repository.
spore.host runs across separate AWS accounts:
- Infrastructure account — S3 buckets (
spawn-binaries-*, dashboard, website), thespawn-dns-updaterandrest-apiLambdas, Route53 (spore.hostzone), CloudFront, Cognito. - Compute account — all EC2 instance provisioning. Instances pull the
sporeddaemon from regional S3 buckets and register DNS via the infrastructure account's Lambda.
See infra/DEPLOY.md and DEPLOYMENT_GUIDE.md for the full deployment walkthrough.
Full documentation at docs.spore.host or in the docs/ directory.
- Quick Start
- Finding the Right Instance
- truffle reference
- spawn reference
- lagotto reference
- Batch Queues
- Nextflow (nf-spawn)
- Self-Hosting
- IAM Permissions
If you use spore.host in your research, please cite it. The concept DOI below
always resolves to the latest release; see CITATION.cff for
full metadata (GitHub's "Cite this repository" renders it for you).
Friedman, S. spore.host: ephemeral AWS compute for researchers. https://doi.org/10.5281/zenodo.21439339
Apache 2.0 — Copyright 2025-2026 Scott Friedman. See LICENSE.
