Abstract SealedReadonlyhostThe host being provisioned. Its OTP authorises the provisioning, and RoboHost.activate consumes it.
Build an AWS CloudFormation quick-create console URL that provisions the machine on a new EC2 instance from Salt's launch template. Opening it in a browser signed in to AWS launches the stack, which runs the same provisioning as generateScript.
The stack name
The CloudFormation quick-create URL
ValidationError if the host record no longer carries an OTP, i.e. it was already activated
Build the script that provisions the machine. Run it as root on an Ubuntu/Debian host: it installs Docker, generates the guardians' seed, uploads its encrypted backup to Salt, and starts the robo container with an automatic updater, reporting progress to RoboHost.listenToSetup as it goes.
The script contents
ValidationError if the host record no longer carries an OTP, i.e. it was already activated
Provisioning for a robo host: producing what runs on the machine that hosts its guardians, as a setup script or an AWS CloudFormation quick-create URL.
RoboHostSetup is the one kind, returned by RoboHost.setup. Everything after provisioning lives on host: follow progress with RoboHost.listenToSetup, wait with RoboHost.waitUntilOnline, then RoboHost.activate with the owner's wallet.
Example: Provision and activate