https://github.com/gelstudios/do-tools
Digital Ocean API tools
https://github.com/gelstudios/do-tools
Last synced: 3 months ago
JSON representation
Digital Ocean API tools
- Host: GitHub
- URL: https://github.com/gelstudios/do-tools
- Owner: gelstudios
- Created: 2013-03-21T20:10:54.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-16T16:55:39.000Z (over 12 years ago)
- Last Synced: 2025-08-18T18:37:29.074Z (5 months ago)
- Language: Shell
- Size: 152 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
do-tools
========
Digital Ocean API utility:
"a valid CLIENT_ID and API_KEY are required a sample file will be created
Usage: ./do.sh
getdrops - returns a json list of all provisioned droplets
getimages [global] - returns a json list of an account's snapshots (system images). 'global' option returns images available globally
getkeys - returns an account's configured SSH_KEY_ID and SSH_KEY_NAME
showkey - returns an ssh public key for a given SSH_KEY_ID
getregions - returns available regions
getsizes - returns available droplet sizes
create DROPLET_NAME IMAGE_ID SSH_KEY_ID SIZE_ID REGION_ID
Droplet management options (below) require a valid DROPLET_ID
status - returns the status of a given DROPLET_ID
start - sends a power on request
stop - sends a shutdown request (graceful?)
kill - sends a power off request (like pulling the plug)
destroy - sends a request to immediately stop and delete a DROPLET_ID