GPU Virtual
Create virtual GPU cluster
Create a new virtual GPU cluster with the specified configuration.
post/cloud/v3/gpu/virtual/{project_id}/{region_id}/clusters
Path parameters
project_idinteger required
Project ID
Example:1
Project ID
region_idinteger required
Region ID
Example:7
Region ID
Request body
Example request
{
"flavor": "g3-ai-32-192-1500-l40s-48-1",
"name": "gpu-cluster-1",
"servers_count": 3,
"servers_settings": {
"credentials": {
"password": "securepassword",
"ssh_key_name": "my-ssh-key",
"username": "admin"
},
"file_shares": [
{
"id": "a3f2d1b8-45e6-4f8a-bb5d-19dbf2cd7e9a",
"mount_path": "/mnt/vast"
}
],
"interfaces": [
{
"ip_family": "ipv4",
"name": "eth0"
}
],
"security_groups": [
{
"id": "b4849ffa-89f2-45a1-951f-0ae5b7809d98"
}
],
"user_data": "eyJ0ZXN0IjogImRhdGEifQ==",
"volumes": [
{
"boot_index": 1,
"delete_on_termination": true,
"name": "my-data-disk",
"size": 100,
"tags": {
"key1": "value1"
}
}
]
}
}Response
OK
Example response
{
"tasks": [
"d478ae29-dedc-4869-82f0-96104425f565"
]
}