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
- API
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,
}