Create VM
Create a new virtual machine
Create VM URL:
POST https://api.hyperleaf.com/api/vms/create
Request Fields (* required)
server_hostname*
string
server hostname
region*
int
region: 3 (Dallas), 4 (Denver)
project*
string
UUID of project
password
string
root password (required if sshkey blank)
sshkey*
string
name of ssh key (required if password blank)
serverdiversity
string
UUID of server to diversify against
firewall
string
UUID of firewall to apply
network*
string
ID of private network
Prebuilt or Custom
image_type*
string
snapshots OR prebuilt
snapshot_image
string
UUID of snapshot image (if using snapshot)
os
string
prebuilt: 'short' name from /api/os/list cmd
elastic_ip
string
set to nopublic or a specific elastic IP
product*
int
product ID (1-5, 999) 999 for custom specs
Custom VM
Custom product 999
cust_cpus
int
number of CPUs (1-20)
cust_ram
int
amount of RAM (1-96)
cust_storage
int
amount of storage (10-280)
cust_data
int
amount of bandwidth (1000-7000)
Post Example
Response Examples
Last updated