Create instance template
⚠️ This endpoint is in public preview.
Create a reusable instance template.
Authorizations
Create an API token using sf tokens create or at https://sfcompute.com/dashboard/tokens.
Body
InfiniBand partition for instances started with this template to join. Accepts an ibpart_ id or a resource path. When an instance is launched from this template, the partition must belong to the pool's workspace and sit on the selected SKU's InfiniBand fabric. GPU clusters and spot deployments don't accept templates with a partition. Available to accounts enrolled in the InfiniBand preview.
(ibpart_[0-9a-zA-Z_-]{1,21})|(sfc:infiniband_partition:[a-zA-Z0-9._-]+(:[a-zA-Z0-9._-]+){2,2})"ibpart_k3R-nX9vLm7Qp2Yw5Jd8F"
Base64-encoded cloud-init user data. Maximum 64KB. Instances created by a generic or spot deployment inherit this data from the referenced template, so bootstrap steps such as worker registration can be configured here.
"IyEvYmluL2Jhc2gKZWNobyBoZWxsbyB3b3JsZAo="
Response
Instance template created.