Skip to main content

Provider capabilities

What each provider can do, as onctl declares it in pkg/cloud/matrix.go. The same table prints in your terminal with onctl capabilities, and onctl capabilities <provider> shows one provider in detail, including the statuses a paused VM has there.

Provideronctl pauseonctl imagesonctl sizesonctl restart
ac✅———
aws✅———
azure✅———
boxes✅✅✅—
ch————
fc✅✅—✅
gcp✅—✅—
hetzner✅✅✅—
openshell✅———
ovh✅—✅—
static————
ColumnMeaning
onctl pausePausing a VM to stop compute cost, and onctl resume to bring it back.
onctl images, onctl sizesListing the images and sizes onctl create takes.
onctl restartCold-booting a VM again from its own disk.

Implementation details​

onctl capabilities --all (or onctl capabilities <provider> for one) shows the rest of what pkg/cloud/matrix.go declares, for contributors:

ColumnMeaning
PAUSEWhat pause does: stop the VM (it keeps its disk), snapshot it with its memory, or snapshot its disk and delete the server (Hetzner, which bills stopped servers).
PAUSED INWhere a paused VM is listed: with the running ones (List), only among paused ones (ListPaused), or both.
PAUSED STATUSThe statuses that mean paused on a listed VM (per provider only).
SSH READYHow onctl knows ssh is up: a TCP probe, the VM's status, or never (it waits for ssh itself).
NO CONFIGWhether the provider works without an onctl.yaml.
--SIZE, --IMAGEWhether onctl create takes the flag, or through which config key it is set instead.
DEADWhether a VM can show as dead: a local microVM whose process died, which onctl create replaces.
SNAPSHOT RMDelete a paused VM that is only a snapshot.
TUNNELVMs are reached through the provider rather than at an IP.
ADD KEYThe provider can put your ssh key on a VM made elsewhere.

Each value is taken from the provider's code. A value marked ? isn't checked yet by the contract suite, which drives every provider's test fakes and fails when a declaration and the provider disagree:

go test -tags contract -run TestContract -v ./pkg/cloud/