Hands-on, step-by-step guides that walk you through Scalable's features from first installation to advanced production workflows. Each tutorial builds on a realistic scenario, includes full code examples with expected output, and ends with suggested next steps.
.. toctree:: :maxdepth: 1 beginner/index
Tip
New to Scalable or distributed computing? Start with the beginner tutorials above. They cover the same 10 topics as the advanced tutorials below but explain every concept from first principles — no prior distributed systems, cloud, or container experience required. Once you're comfortable with the concepts, graduate to the advanced tutorials for production patterns.
.. toctree:: :maxdepth: 1 advanced/index demeter_setup
| # | Tutorial | You'll Learn |
|---|---|---|
| 1 | :ref:`tutorial_getting_started` | Install, configure, run your first workflow |
| 2 | :ref:`tutorial_manifest_system` | Manifest schema, targets, overlays, validation |
| 3 | :ref:`tutorial_scaling_strategies` | Providers, manual/adaptive/objective scaling |
| 4 | :ref:`tutorial_caching` | @cacheable, FileType/DirType, remote cache |
| 5 | :ref:`tutorial_cloud_integration` | AWS Fargate, GCP, cost estimation, artifacts |
| 6 | :ref:`tutorial_telemetry` | JSONL events, reports, historical analysis |
| 7 | :ref:`tutorial_error_handling` | Retry, partial success, diagnostics |
| 8 | :ref:`tutorial_kubernetes` | Dask Operator, namespaces, pod management |
| 9 | :ref:`tutorial_ml_advanced` | LearnedAdvisor, AdaptiveScaler, hyperparameter tuning |
| 10 | :ref:`tutorial_ai_composition` | init-component, diagnose, compose, migrate |
| Tutorial | Install Extra | External Requirements |
|---|---|---|
| 1–4 | pip install scalable |
None (local only) |
| 5 | pip install scalable[cloud] |
AWS/GCP credentials |
| 6–7 | pip install scalable |
None |
| 8 | pip install scalable[kubernetes] |
Kubernetes cluster + kubectl |
| 9 | pip install scalable[ml] |
5+ telemetry runs |
| 10 | pip install scalable[ai] |
None (optional: LLM API key) |
Throughout these tutorials:
All code examples use Python 3.11+ syntax.
Shell commands assume a Unix-like environment (macOS/Linux). Windows equivalents are noted where they differ.
Running example. Tutorials 2–10 use the Demeter land-use / land-cover disaggregation model (cloned into
capabilities/demeter) as the running example. The project name isdemeter-lulccand the components arepreprocess,demeter, andpostprocess. The canonical pipeline is:prepare_demeter_config -> run_demeter_scenario (×N) -> aggregate_demeter_outputs
Tutorial 1 keeps a deliberately trivial
hello-scalableproject so installation can be verified before the larger story begins. See :ref:`tutorial_demeter_setup` for the one-time setup that makes the examples actually executable (:download:`scalable.demeter.yaml </examples/scalable.demeter.yaml>` +docs/examples/workflow_demeter.py).Environment variables use the
${VAR:-default}pattern for portability.Expected output blocks show representative output — exact values (timestamps, hashes, run IDs) will differ on your machine.