Skip to content

Worked transcripts โ€‹

These terminal sessions show the shape of a spore.host session โ€” including a failure โ€” so you know what success and trouble look like before you run anything. They follow the same arc as Your First Instance; here the focus is the output.

Except where a section says otherwise, the transcripts are illustrative, not captured from a real run. Values (IDs, prices, IPs, versions) are made up, and the exact lines, check names, and their order differ from what your version of spawn prints. Read them for what each step tells you, then run the commands yourself to see the real output.

1. Preflight passes โ€‹

spawn doctor is read-only โ€” it never launches anything. When it passes, the Quick Start should work as written.

This one is a real run of spawn v0.135.0, with the account and VPC IDs replaced:

console
$ spawn doctor
โœ“ spawn version: 0.135.0
โœ“ truffle installed: truffle 0.59.0
Git Commit: c43db2a1a974fdd866857f58a5e923c5b195b27c
Build Date: 2026-10-15T22:04:44Z
โœ“ AWS CLI available: aws-cli/2.38.1 Python/3.15.0 Darwin/27.0.0 source/arm64
โœ“ SSH key: ~/.ssh/id_rsa
โœ“ AWS credentials: identity resolved
โœ“ account: 123456789012
โœ“ region: us-east-1
โœ“ EC2 describe permission
โœ“ EC2 launch permission
โœ“ IAM instance-profile permission
โœ“ spored role: spored-instance-profile
โœ“ VPC & subnet: vpc-0a1b2c3d4e5f67890 / 6 subnet(s)
โœ“ Session Manager: reachable
โœ“ TTL reaper backstop: cross-account role spawn-ttl-reaper-ec2
โœ“ Route 53 (DNS): 0 hosted zone(s) visible
โœ“ Nitro fleet: 154 Nitro families (v6:44 v5:12 v4:53 v3:19 v2:26)

16 passed, 0 warning(s), 0 failed

Ready to launch. If this passes, the Quick Start should work as written.

The Git Commit and Build Date lines are truffle's version output leaking into the report; they aren't checks. Since spawn v0.135.2, doctor keeps only the first line of truffle's and the AWS CLI's version, so every line before the summary starts with a status symbol or โ†’. This account has a TTL reaper covering it. Without one, that line is a โš  warning, not a failure: spored still enforces the TTL on the instance. See Checking your account for what each check means.

2. Preflight blocked by a missing IAM permission โ€‹

On an institution-managed account you may authenticate fine but lack permission to launch. spawn doctor shows what's missing and how to fix it. This transcript is illustrative: the format follows spawn v0.135.0's report, and the error text is abridged.

console
$ spawn doctor
โœ“ spawn version: 0.135.0
โœ“ truffle installed: truffle 0.61.0
โœ“ AWS CLI available: aws-cli/2.38.1
โœ“ SSH key: ~/.ssh/id_ed25519
โœ“ AWS credentials: identity resolved
โœ“ account: 123456789012
โœ“ region: us-east-1
โœ“ EC2 describe permission
โœ— EC2 launch permission
    โ†’ grant ec2:RunInstances (see the IAM baseline): UnauthorizedOperation: You are not authorized to perform this operation.
โœ— IAM instance-profile permission
    โ†’ grant iam:* on spored* + iam:PassRole (see the IAM baseline): AccessDenied: not authorized to perform iam:GetInstanceProfile
โš  spored role
    โ†’ spored instance profile not found yet; spawn will create it on first launch if IAM permits: not found (spawn creates it on first launch)
โœ“ VPC & subnet: vpc-0a1b2c3d4e5f67890 / 3 subnet(s)
โœ“ Session Manager: reachable
โš  TTL reaper backstop
    โ†’ no reaper runs in this account and no spawn-ttl-reaper-ec2 role grants one access โ€” TTL is enforced only from inside the instance by spored, โ€ฆ
โœ“ Route 53 (DNS): 0 hosted zone(s) visible
โœ“ Nitro fleet: 154 Nitro families (v6:44 v5:12 v4:53 v3:19 v2:26)

11 passed, 2 warning(s), 2 failed

Not ready โ€” resolve the โœ— items above before launching. If you're on an
institution-managed account, send the IAM baseline to your cloud administrator.

Nothing was launched. The fix is to grant the two permissions (or send the deployment packet and IAM baseline to your administrator) and re-run spawn doctor until it's clean. The warnings don't block a launch.

3. A protected launch โ€‹

With a clean preflight, launch with a hard lifetime. The instance provisions spored, which enforces the TTL and idle rules from inside:

console
$ spawn launch analysis --instance-type m8a.4xlarge --ttl 8h --idle-timeout 30m
โ†’ Resolving AMI (Amazon Linux 2023, x86_64)โ€ฆ ami-0b787142aa56d54db
โ†’ Launching m8a.4xlarge in us-east-1โ€ฆ i-0abc123def4567890
โ†’ Provisioning spored (TTL 8h, idle 30m)โ€ฆ
โœ“ Signature verified (spore.host)
โœ“ spored active โ€” instance manages its own lifecycle
โœ“ Instance ready: analysis (i-0abc123def4567890) at 54.80.0.1

Connect:   spawn connect analysis
Terminate: spawn terminate analysis

4. Verify the protection is live โ€‹

You don't have to take it on faith โ€” spawn status shows the countdown and the protection posture:

console
$ spawn status analysis
spored: v0.91.1
State:  running
TTL:    7h 52m remaining
Idle:   30m timeout (no activity yet)

Lifecycle protection:
  In-instance (spored):  enforces TTL + idle rules on the instance itself
  Out-of-band reaper:    backstop in the spore.host-infra account, if deployed for your account
  Termination deadline:  2026-07-22 18:00 PDT (in 7h 52m)
  Max compute cost:      ~$6.16 by deadline (on-demand rate, compute only; idle-stop usually ends it sooner)
  Idle timeout:          30m (stops the instance when idle; never terminates)

The Max compute cost is a ceiling โ€” the idle timeout usually stops the instance well before the deadline.

5. Terminate and confirm cleanup โ€‹

spawn terminate destroys the instance and its EBS volume (unlike spawn stop, which leaves storage billing). Verify nothing is left:

console
$ spawn terminate analysis
โ†’ Terminating analysis (i-0abc123def4567890)โ€ฆ
โœ“ Terminated. EBS volume vol-0a1b2c3d4e5f deleted.

$ spawn list
No spawn instances found

If spawn list still shows the instance as shutting-down, give it a few seconds and re-run โ€” termination is asynchronous. A terminated or empty result means you're no longer billed for compute or storage.

See also โ€‹