Skip to content

VISIONAI/cloud_mgmt

Repository files navigation

You must create a personal access token at https://cloud.digitalocean.com/settings/applications

Save the token to a hidden file called ".DO_TOKEN"


Note that ssh keys are added for user 'core' rather than 'root' as is typical.


Since most return calls from DO are large; if you are going to want to read them, you will probably be using `jq`

##jq recipes
```bash
#list the id, given name, and ips associated with all droplets
./list_all.sh |  jq ' .droplets[] | {name:.name, id:.id, ips: [.networks.v4[].ip_address] }'
```


##launch a bunch of nodes
```bash
 for x in `seq 1 10`; do ./size_launch_coreos_node.sh vmxserver0$x ../coreosservices/templates/vmxserver 4gb; done
```

About

Manages the vmx cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages