Skip to main content

Tiny tool to manage multiple servers.

Project description

🚒 damn

Build Status Maintainability FOSSA Status

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


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)

Uploaded Source

Built Distributions

kitten-0.0.1-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

kitten-0.0.1-py2.py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page