Skip to content

SkyPilot AWS automation — on-demand bare-metal benchmark runs for AntHill.Harness #362

Closed

Description

@nockawa

Retroactive record. This initiative was designed and delivered before this tracking issue existed. Created closed for project-board completeness.

Summary

Automate on-demand, ephemeral AWS bare-metal benchmark runs of AntHill.Harness. An operator launches a single SkyPilot command; SkyPilot provisions a bare-metal EC2 instance, formats and mounts its instance-store NVMe, builds the harness, runs the declarative benchmark scenario, copies the resulting .typhon-trace files to S3, and terminates the instance — billed per-second, no idle cost.

This is the infrastructure counterpart of #353 (the scriptable AntHill.Harness): #353 makes the run declarative and assertable; this initiative makes the environment it runs in reproducible, disposable, and a single command away.

Motivation

  • Local dev machines can't represent a 64/128-core server — the worker-count scaling curve is only meaningful on real bare-metal hardware.
  • Bare-metal instances bill ~$10/hr (m6idn.metal); a permanent box is wasteful for an intermittent benchmark. Ephemeral provisioning + --down teardown is the right cost model.
  • The benchmark must run whatever is checked out — SkyPilot's workdir rsyncs the working tree, so no separate publish/deploy step.

What was delivered

Design doc — claude/design/Infrastructure/skypilot-aws-automation.md:

  • Full Operator Setup Guide (one-time): WSL + Python + AWS CLI + SkyPilot install; AWS-side config — least-privilege skypilot-bot IAM user, the skypilot-min policy, typhon-traces S3 bucket in eu-west-1, default VPC, 128-vCPU service-quota increase, budget alarm.
  • Instance-type rationale (m6idn.metal production, c5d.metal dry run, c6gd.metal ARM).
  • "First Launch — Create the Task File & Dry-Run" procedure; S3 trace retrieval via aws s3 sync.

Task files — bench/aws/:

File Purpose
anthill-bench.sky.yaml Production — m6idn.metal, the 500K-ant scenario
anthill-dryrun.sky.yaml Dry run — c5d.metal, small trace-on scenario
run.sh Wrapper — launches the production task with --down
README.md Operator runbook

Harness scenarios — demo/AntHill/AntHill.Harness/scenarios/anthill-dryrun.yaml (the cheap pipeline-validation scenario).

Validation

  • ✅ Dry run on c5d.metal — provisioning, NVMe mount, build, harness run, trace→S3, teardown all green.
  • ✅ Production run on m6idn.metal — 500K-ant uniform-t0 scenario across the 16/32/64/128 worker sweep; all four runs passed, traces landed in s3://typhon-traces/.

Out of scope / open tail

  • c6gd.metal ARM run — untested matrix cell; also a weak-memory-model correctness probe for the hand-rolled concurrency primitives. Optional, tracked separately if pursued.
  • Trace analysis of the production sweep is benchmarking work, not infrastructure.

Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions