DeferPanic.Net Unikernel IaaS Client
Website: https://deferpanic.com
This will create an account for you and auto-log you in through the API:
./dpcli users create [email protected] joebob password
You'll need an account so go sign up at https://deferpanic.com/signup if you haven't created it through the API. Then you can find your API token @ https://deferpanic.com/home/settings.
You can either pass your token in with the -token flag or you maybe stick it in ~/.dprc.
Example if using the token flag:
./dpcli --token="TOKEN"
go get gopkg.in/alecthomas/kingpin.v2
go get github.com/olekukonko/tablewriter
cd dpcli && go build && go install
dpcli projects new myproject php rumprun https://github.com/deferpanic/php_example
dpcli projects delete myproject
dpcli projects list
dpcli projects log myproject
./dpcli projects download myproject .
./dpcli projects manifest myproject
./dpcli instances new myproject
./dpcli instances log gregory-jennifer.deferpanic.com
./dpcli instances list
./dpcli instances list myproject
./dpcli instances pause gregory-jennifer.deferpanic.com
./dpcli instances resume gregory-jennifer.deferpanic.com
./dpcli instances scaleup myproject
./dpcli instances scaledown myproject gregory-jennifer.deferpanic.com
./dpcli volumes list --domain=stephen-anna.deferpanic.com
./dpcli volumes list --name=text
Note: To download a volume you currently need to pause the instance. (Live volume streaming coming soon.)
Pause the instance
./dpcli instances pause my_cname.deferpanic.com
./dpcli volumes download id
./dpcli ips request
./dpcli ips release 1.2.3.4
./dpcli ips attach 1.2.3.4 stephen-anna.deferpanic.com
./dpcli ips detach 1.2.3.4
./dpcli ips list
Pause the instance (Live Backups coming soon.)
./dpcli instances pause gregory-jennifer.deferpanic.com
Back it up
./dpcli backups save myproject gregory-jennifer.deferpanic.com
Pause the instance
./dpcli instances pause gregory-jennifer.deferpanic.com
Back it up
./dpcli backups restore myproject gregory-jennifer.deferpanic.com
./dpcli backups list
./dpcli languages
./dpcli compilers
./dpcli builds list projectId
./dpcli builds latest projectId
./dpcli builds show buildId
To see all your provisioned resources:
./dpcli resources list
To see the resources attached to a given project:
./dpcli resources list myproject
To see the available resources:
./dpcli --token="TOKEN" resources available
To see the available addons:
dpcli --token="TOKEN" addons
dpcli status
dpcli version
Go 1.6 is Required.