Ephemeral VPS Creation
Project description
tempor
Inspired by pry0cc/axiom. Currently supports creating machines on Digital Ocean, Linode, and Vultr.
Install
python3 -m pip install --user tempor
Configuration
# ~/.config/tempor/config.yml
providers:
-
name: digitalocean
api_token: API_TOKEN_HERE
-
name: linode
api_token: API_TOKEN_HERE
-
name: vultr
api_token: API_TOKEN_HERE
default: digitalocean
Usage
➜ tempor -h
usage: tempor [-h] [-p PROVIDER] [-c COUNT] [--setup] [--list]
[--no-config] [--teardown]
optional arguments:
-h, --help show this help message and exit
-p PROVIDER, --provider PROVIDER
Specify the Provider Name
-c COUNT, --count COUNT
Number of Images to Create
--setup Setup Image(s)
--list List Available Images
--no-config Leave as a Bare Install
--teardown Tear down VPS
➜ tempor --setup
Preparing Configuration...Done.
Creating VPS...Done.
Configuring SSH Keys...Done.
VPS' now available!
ssh nnvnv620
➜ tempor --list
Active VPS'
┏━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ VPS Name ┃ IP Address ┃
┡━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ nnvnv620 │ 178.128.144.45 │
└──────────┴────────────────┘
➜ tempor --teardown
Tearing down...Done.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tempor-0.0.11.tar.gz
(87.9 kB
view hashes)
Built Distribution
tempor-0.0.11-py3-none-any.whl
(138.8 kB
view hashes)