Tiny tool to manage multiple servers.
Project description
🚒 damn
Easily manage multiple servers. Especially when production is burning.
Examples
Get IPs in Auto Scaling group:
$ damn aws asg my-asg-name
18.105.107.20
34.229.135.48
52.211.230.162
54.108.254.142
184.53.6.59
Run command:
$ damn ssh uptime ubuntu 18.105.107.20 34.229.135.48
18.105.107.20 uptime
34.229.135.48 uptime
17:11:48 up 1 day, 6:02, 0 users, load average: 0.91, 2.99, 3.49
17:11:48 up 5 days, 11:19, 0 users, load average: 6.34, 5.94, 5.72
Run command on 10 instances at a time:
$ damn aws asg big-prod-asg | xargs -L 10 damn ssh --sudo 'service nginx restart' ubuntu
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
kitten-0.0.1.tar.gz
(2.9 kB
view hashes)
Built Distributions
kitten-0.0.1-py3-none-any.whl
(3.1 kB
view hashes)
Close
Hashes for kitten-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e99e226b74e68289e36a7175b3ec81fe8d579a7a348e449a1613471d49d2c47 |
|
MD5 | d3e119c0dece82befeb3aaa90beb096d |
|
BLAKE2b-256 | 7204a65fe2b3ca0afd80fd8ea3b54d3fea812659ae9fcf429b02a28cd3d69613 |