Common Workflows β
You usually arrive with a goal, not a tool in mind. Start with the story closest to what you're trying to do β each is a complete, end-to-end walkthrough β then branch into the deeper guides. New to spore.host? Do Your first instance first; it's the 15-minute backbone the stories below build on.
Running more than one thing?
spore.host has several ways to run work at scale β instance plugins, sweeps, arrays, instance queues, pipelines, MPI, and workflow-engine adapters. If you're not sure which fits, start with Which execution tool?.
Story A β Interactive research workstation β
"I need a big machine for a few hours to explore some data, then it should go away."
# 1. find a fit
truffle find "amd genoa 64gb" --region us-east-1
# 2. launch with guards
spawn launch analysis \
--instance-type m8a.4xlarge \
--ttl 8h \
--idle-timeout 30m
# 3. work on it
spawn connect analysis
# 4. done β tear it down
spawn terminate analysis--ttl 8his the hard deadline β the instance terminates then no matter what, so a forgotten session can't run all weekend.--idle-timeout 30mstops it early if you wander off; any activity resets the timer. Idle stops, TTL terminates β see Costs & safety guarantees.- Cost: capped at 8 Γ the hourly rate; usually far less because idle stops it. Check the rate with
truffle spot m8a.4xlargebefore you launch.
β Deeper: Finding the right instance Β· Jupyter/RStudio Β· Managing instances & data
Story B β Unattended batch computation β
"Run this script on a big box; when it finishes, terminate β I'm not watching."
spawn launch simulation \
--instance-type c8a.12xlarge \
--ttl 12h \
--command "./run-model.sh" \
--on-complete terminateWhat happens in each case:
- Succeeds β the command exits 0, spawn writes the completion sentinel, and
--on-complete terminatetears the instance down. - Fails β the command exits non-zero, and the same thing happens: the exit code goes to
/tmp/SPAWN_EXITCODE, the sentinel records the failure, and the instance terminates. The end of the command log is copied to the serial console first, sospawn logs simulationcan still show you why (Logs and debugging). To keep a failed instance for debugging, use--on-complete stopinstead. - Hangs β nothing signals completion. This launch has no idle timeout (one only applies by default when neither
--ttlnor--idle-timeoutis given), so the TTL terminates it at 12h. TTL is the backstop that always wins.
A --command signals completion when it exits, pass or fail (since v0.113.0). Work you start some other way, such as over spawn connect, has to signal it with spored complete. See Troubleshooting.
β Deeper: GPU training jobs Β· Parameter sweeps Β· Batch queues
Story C β Scarce GPU capacity β
"I need a p5.48xlarge, but there's never one available when I try."
- Truffle confirms the type exists and you have quota.
- Spawn tries to launch β and gets
InsufficientInstanceCapacity. - Lagotto watches three regions every five minutes.
- A notification arrives the moment capacity appears.
- Lagotto launches it automatically with a 6-hour TTL β no one awake required.
This is the one workflow the "find β launch" path can't do alone, because quota and capacity are different things. Full walkthrough: Waiting for scarce capacity.
Choose what to learn next β
| I want to⦠| Go to |
|---|---|
| Find the right instance type & compare prices | Finding the right instance |
| Launch from a browser without learning the CLI | Portal detail levels |
| Run Jupyter or RStudio in the browser | Interactive workstation |
| Train a model on a GPU | GPU training jobs |
| Save up to 90% with Spot | Spot instances |
| Move data on and off instances | Managing instances & data |
| Run one job across many parameters | Parameter sweeps |
| Manage a group of related instances | Job arrays |
| Queue more work than fits at once | Batch queues |
| Run tightly-coupled multi-node jobs | MPI clusters |
| Chain jobs so each stage launches the next | Pipelines |
| Wait for a hard-to-find GPU | Waiting for scarce capacity |
| Drive compute from an AI assistant | AI Assistant (MCP) |
| Automate from Python | Python SDK |
| Run Nextflow / WDL / CWL / Snakemake / Airflow | Workflow engines |