Skip to main content

harbor-aws

License

AWS EKS/Fargate execution backend for Harbor benchmarks. Run thousands of sandbox trials in parallel with per-second billing and VM-level isolation.

How it works

Orchestrator (laptop / CI)
    |  HTTPS via NLB
    v
harbor-control pod (in-cluster gateway)
    |  TCP via /dev/tcp
    v
Trial pods (one per task, Fargate)

Each trial pod runs a small bash runner (runner.sh) as PID 1 — no Python needed in the trial image. The runner dials the in-cluster harbor-control gateway over plain TCP. The orchestrator talks to harbor-control over an NLB. The K8s API server is only used for pod create/delete, never in the exec data path.

Install

pip install "harbor-aws[cdk]"

Quick start

1. Deploy (~15 min, one-time)

python -m harbor_aws deploy --region us-east-1

Creates everything: VPC, EKS, harbor-control, NLB, Load Balancer Controller.

2. Run benchmarks

harbor jobs start -p ./task -a nop -n 2500 \
  --environment-import-path harbor_aws.adapter:AWSEnvironment \
  --ek stack_name=harbor-aws --ek ecr_cache=true

The adapter auto-discovers the NLB endpoint and admin token from the stack. No env vars needed.

3. Clean up

python -m harbor_aws stop      # delete trial pods, keep infra
python -m harbor_aws destroy   # tear down everything

Cost

Component Cost
EKS control plane ~$73/mo (fixed)
Fargate trial pods per-second, only when running
harbor-control pod ~$5/mo (always-on)
NLB ~$16/mo

Development

pip install -e ".[dev,cdk]"
ruff check src/
mypy src/

License

Apache License 2.0 — see LICENSE.

Metadata

Release files for harbor-aws 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for harbor-aws 0.4.0
File Size Uploaded Provenance
harbor_aws-0.4.0.tar.gz 256.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for harbor-aws 0.4.0
File Interpreter ABI Platform
harbor_aws-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 302.2 kB

Release files / harbor_aws-0.4.0.tar.gz

Download URL harbor_aws-0.4.0.tar.gz
Size 256.6 kB
Tags Source
SHA-256 checksum
How to use checksums
09813c79545b30737b78d1891f9dac4c9efb8179e7ae3aa2d94d37cac7eac6ae
BLAKE2b-256 checksum
How to use checksums
db06e2925c2c8151e1c6b483cbbdc2bb28e9b1a24a5df8698362af3fde744b1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / harbor_aws-0.4.0-py3-none-any.whl

Download URL harbor_aws-0.4.0-py3-none-any.whl
Size 45.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d4bc8b4868f8447bd4904af1bb866f356b9c27a9384d6f1e04d1092bf0ff3b6
BLAKE2b-256 checksum
How to use checksums
e5017c8fd29b604d4ce87c68da3cabc0cd6734e9b6743ec955c7a562571eed3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for harbor-aws 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page