Preemptible Instances
Preemptible instances are available for a significantly reduced cost, but they may be stopped at any time by an on-demand customer.
Create a Preemptible Instance
- CLI
- API
Use the fluidctl instances create
command with the --preemptible
flag to create a preemptible instance. For example:
fluidctl instances create --name example --type cpu.8x --preemptible
--name
: The name of the instance.--type
: The instance type (e.g.,cpu.8x
,h100-hgx-80gb.8x
).--preemptible
: Indicates that the instance is preemptible.
To create a preemptible instance via the REST API, send a POST
request to the /instances
endpoint with the preemptible
field set to true
:
POST /instances HTTP/1.1
Host: <your-cluster-url>
Authorization: Bearer <your-auth-token>
Content-Type: application/json
{
"name": "example",
"type": "cpu.8x",
"preemptible": true,
}