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
- CLI
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: <region>.atlas.fluidstack.io
Authorization: Bearer <token>
Content-Type: application/json
{
"name": "example",
"type": "cpu.8x",
"preemptible": true,
}
Use the fluidctl instances create
command with the --preemptible
flag to create a preemptible instance:
fluidctl instances create --region <region> --name "example" --type "cpu.8x" --preemptible