Skip to content

Instantly share code, notes, and snippets.

@chebykin
Last active October 31, 2016 14:19
Show Gist options
  • Save chebykin/650ccf08b142284e32792b063f33b6f8 to your computer and use it in GitHub Desktop.
Save chebykin/650ccf08b142284e32792b063f33b6f8 to your computer and use it in GitHub Desktop.
vscale.io api requests templates
export VSCALE_TOKEN=your_vscale_token
# fetch available configurations
curl 'https://api.vscale.io/v1/rplans' -H 'X-Token: '$VSCALE_TOKEN | python -m json.tool
# create vscale instance, vscale binary file shuold be available in your $PATH
docker-machine create -d vscale --vscale-access-token $VSCALE_TOKEN --vscale-location=msk0 --vscale-rplan small --vscale-made-from ubuntu_16.04_64_001_master machine_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment