Signature
Parameters
ID of the offer/contract to create the instance from (returned by search_offers).
(OPTIONAL) Per-machine bid price in $/hour for interruptible (spot) instances.
Disk space to allocate in GB.
Docker image name to use for the instance.
Docker login credentials for private registry authentication.
Label to attach to the instance.
Filename of an onstart script to run on instance start.
Shell command to run on instance start.
Override the Docker image entrypoint.
Enable SSH access to the instance.
Enable Jupyter notebook server.
Enable direct (peer-to-peer) connections.
Directory to serve Jupyter from.
Enable JupyterLab instead of classic Jupyter.
Set system language encoding to UTF-8.
Set Python I/O encoding to UTF-8.
Extra Docker run arguments passed verbatim.
Environment variables to set (formatted as Docker -e flags).
Additional positional arguments.
Skip sanity checks when creating from an existing instance.
Return an error if scheduling fails rather than creating a stopped instance.
Hash of an instance template to use for configuration.
Returns
str — Result from the API call.