Skip to content

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."

sh
truffle find "amd genoa 64gb" --region us-east-1     # 1. find a fit
spawn launch analysis \                              # 2. launch with guards
  --instance-type m8a.4xlarge \
  --ttl 8h \
  --idle-timeout 30m
spawn connect analysis                               # 3. work on it
spawn terminate analysis                             # 4. done β€” tear it down
  • --ttl 8h is the hard deadline β€” the instance terminates then no matter what, so a forgotten session can't run all weekend.
  • --idle-timeout 30m stops 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.4xlarge before 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."

sh
spawn launch simulation \
  --instance-type c8a.12xlarge \
  --ttl 12h \
  --command "./run-model.sh && spored complete --status success" \
  --on-complete terminate

What happens in each case:

  • Succeeds β†’ the && reaches spored complete, the completion sentinel appears, and --on-complete terminate tears the instance down.
  • Fails β†’ run-model.sh exits non-zero, spored complete never runs, so the instance stays up (for you to debug) until the TTL terminates it at 12h.
  • Hangs β†’ idle detection won't fire (a running process is activity), but the TTL still terminates at 12h. TTL is the backstop that always wins.

The distinction that trips people up: it's the completion sentinel appearing that triggers on-complete, not your command merely exiting β€” which is why the script calls spored complete explicitly. 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."

  1. Truffle confirms the type exists and you have quota.
  2. Spawn tries to launch β€” and gets InsufficientInstanceCapacity.
  3. Lagotto watches three regions every five minutes.
  4. A notification arrives the moment capacity appears.
  5. 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 pricesFinding the right instance
Launch from a browser without learning the CLIPortal detail levels
Run Jupyter or RStudio in the browserInteractive workstation
Train a model on a GPUGPU training jobs
Save up to 90% with SpotSpot instances
Move data on and off instancesManaging instances & data
Run one job across many parametersParameter sweeps
Manage a group of related instancesJob arrays
Queue more work than fits at onceBatch queues
Run tightly-coupled multi-node jobsMPI clusters
Chain jobs so each stage launches the nextPipelines
Wait for a hard-to-find GPUWaiting for scarce capacity
Control instances from Slack/TeamsSlack Setup
Drive compute from an AI assistantAI Assistant (MCP)
Automate from PythonPython SDK
Run Nextflow / WDL / CWL / Snakemake / AirflowWorkflow engines