cURL
curl --request POST \ --url https://api.thundercompute.com:8443/instances/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "cpu_cores": 4, "template": "base", "gpu_type": "t4", "num_gpus": 1, "disk_size_gb": 100, "mode": "<string>" } '
{ "uuid": "<string>", "key": "<string>", "identifier": "<string>" }
Create a new compute instance with specified configuration.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Number of CPU cores
Template to use
GPU type
Number of GPUs
Disk size in GB
Instance mode: 'production' or 'prototyping'
OK
Instance UUID
SSH private key
Instance identifier
Was this page helpful?