https://github.com/bessbd/do-automatinator
https://github.com/bessbd/do-automatinator
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bessbd/do-automatinator
- Owner: bessbd
- Created: 2015-12-21T11:47:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-25T14:58:48.000Z (over 10 years ago)
- Last Synced: 2025-04-15T04:17:00.094Z (about 1 year ago)
- Language: CoffeeScript
- Size: 2.93 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Digitalocean Automatinator
## The Backstory
* Digitalocean offers cheap VPS service
* You only have to pay for the hours your machines "exist", so you can go even cheaper if you are not running (permanent) services, but using the machines for development, etc.
* You don't have to pay when the machines are "destroyed"
* You can save the machines
* You can only save machines that are powered-off
## The Itch
* You can't "just" shutdown, snapshot and destroy a machine with a single click of a button or a command
## The Scratch
do-automatinator is a command-line tool to shut down, snapshot and destroy a machine at Digitalocean. (And to do the reverse, too)
## Enough With The Texts Already, aka The Cheatsheet
### Setting Your Token
```bash
coffee app.coffee settoken
```
(You only have to do this once)
### Shutting Down, Snapshotting and Destroying a Machine
```bash
coffee app.coffee save
```
### Creating a Machine from a Snapshot (aka Restoring a Machine)
```bash
coffee app.coffee restore
```