Get up and running with the Open Resource Broker in minutes.
- Python 3.10 or higher
- AWS credentials configured (
~/.aws/credentialsor an IAM instance profile) - IAM permissions for EC2, EC2Fleet, SpotFleet, and Auto Scaling — see the README for the full policy
pip install orb-pypip install -e ".[dev]"Run orb init to create the configuration directory and set up your first provider.
By default, orb init runs interactively and discovers your AWS VPCs, subnets, and security groups:
orb initFor CI/CD pipelines or scripted environments, skip AWS discovery with --non-interactive:
orb init --non-interactiveYou can also pass infrastructure details directly in non-interactive mode:
orb init --non-interactive \
--region us-east-1 \
--profile my-aws-profile \
--subnet-ids subnet-0abc1234,subnet-0def5678 \
--security-group-ids sg-0abc1234 \
--fleet-role arn:aws:iam::123456789012:role/MySpotFleetRoleGenerate example templates for your configured provider:
orb templates generateThis writes template files to your ORB work directory. Templates are scoped to a provider type (e.g., AWS EC2Fleet, SpotFleet) and reusable across provider instances.
Verify the templates loaded correctly:
orb templates listFor a more readable view:
orb templates list --format tableCopy a template ID from the output of orb templates list, then request machines:
orb machines request <template-id> 3Or using flags:
orb machines request --template-id <template-id> --count 3The command returns a request ID. Use --wait to block until machines are ready:
orb machines request aws-ec2fleet-basic 3 --wait --timeout 600orb requests status req-abc123Request status values: pending, in_progress, completed, failed, cancelled, partial, timeout.
Show what infrastructure ORB is configured to use:
orb infrastructure showTo scan your AWS account for available VPCs, subnets, and security groups:
orb infrastructure discoverorb config showWhen you're done with machines, return them:
orb machines return i-0abc1234def567890 i-0def5678abc123456AWS permissions error — verify your credentials are active:
aws sts get-caller-identityNo templates loaded — re-run generate and check your provider config:
orb templates generate
orb config showSystem health check:
orb system health --detailed- CLI Reference — full command and flag reference
- Configuration Guide — advanced provider and storage config
- Template Management — creating and customizing templates