Deploy instance
Changed onDeploy a new instance.
Before deploying an instance, you need to add at least ssh key to be able to access your instance.
Instance types can be listed using the GET /instance-types endpoint.
Available images can be listed using the GET /images endpoint, using the image_type value from the result.
Existing detached OS volumes could be used as an image, put the volume ID as the image value.
It's also possible to define new volumes that will be created and attached to the new instance. New volumes location will be the same as the instance.
Existing detached volumes can be attached to the deployed instance by adding their IDs to the existing_volumes property.
Request
- Base URL: https://api.verda.com
- URL: https://api.verda.com/v1/instances
- Auth: HTTP bearer
Request body
Example request
{
"instance_group_id": "17288384-be2e-4162-8c3d-45b4aed43a65",
"instance_type": "1H100.80S.30V",
"image": "ubuntu-22.04-cuda-12.4-docker",
"startup_script_id": "285a0f18-d12a-4d4a-81b4-951a186ecc83",
"hostname": "my-instance-hostname",
"tags": [
{
"key": "environment",
"value": "production"
},
{
"key": "benchmark"
}
],
"location_code": "FIN-01",
"os_volume": {
"name": "custom-os-volume-name",
"tags": [
{
"key": "environment",
"value": "production"
}
]
},
"coupon": "COUPON-CODE-2026",
"volumes": [
{
"name": "additional-volume-name",
"size": 1000,
"type": "NVMe"
}
],
"existing_volumes": [
"ea74891e-8493-4fcb-a8fe-f2c0a6974338"
],
"contract": "PAY_AS_YOU_GO",
"pricing": "FIXED_PRICE"
}Response
Instance ID
Changes
- warning
deleted the
headerrequest parametercf-connecting-ip - warning
deleted the
headerrequest parameteruser-agent
- warning
- info
added the new optional request property
- info
the request property
became optional - info
the request property
became optional - info
the request property
became optional
- info