- az - azure
- ec2 - aws ec2
- esx - vmware esx (via ssh)
- gcp - google
- gke - googke k8s
- vcs - vmware vcenter server (via govc)
./script create|delete|ssh|list|setup <name>
create - creates instance with owner tag
delete - deletes instance
ssh - ssh to instance
list - list owned instances
setup - installs the cloud provider
./ec2 create foobar
./ec2 list
./ec2 ssh foobar
./ec2 delete foobar
./ec2 create foobar
type="m5.4xlarge" data_size="256" data_type="io1" data_iops="1500" ./ec2 create foobar
data_size="200 200 200 220" ./ec2 create foobar
disks="" ./ec2 create foobar
owner="bob" ./ec2 create foobar
owner="bob" ./ec2 list
ostype=coreos ./ec2 create foobar
user=core ./ec2 ssh foobar
ostype=ami-123456 ./ec2 create foobar
./ec2 ssh foobar cat /etc/passwd
for n in foobar{0..7}; do ./ec2 ssh $n < run/instpx& done
see k8s example script
- esx/vcs require a template vm with open-vm-tools, openssh-server and passwordless sudo
- delete command will delete any node regardless of ownership
- az/vcs does not support multiple disks (TODO)