Skip to main content

Tiny multi-server automation tool.

Project description

Tiny multi-server automation tool.

Run command on multiple servers. Designed to be as simple as possible and play nice with Unix tools.


pip install kitten


kitten can get IP addresses from AWS resources for you. For that you’ll need to have your AWS credentials set up. You can do that using awscli:

pip install awscli


aws configure


Run command on servers

Use kitten run:

$ kitten run uptime ubuntu run     uptime run     uptime 17:11:48 up 2 days,  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
  • Replace ubuntu with the user used to log in on the servers

  • Use -i to specify a private key

  • Use --threads to specify the number of concurrent connections (defaults to 10)

Get IP addresses from AWS resources

Use kitten ip with either id, asg or elb:

$ kitten ip asg my-tiny-asg
  • By default only private IP addresses are returned. Use --public if you prefer public IPs

  • You can change region using --region

If you’re in a hurry, you can just paste any text that contains instance IDs:

$ kitten ip id prod-mongo-0901bc21990109ed4-eu my-hostname-06a2fc734534ef6d9

Download files from servers

Use kitten get:

kitten ip elb my-load-balancer | xargs kitten get /tmp/system.log ubuntu

Upload file to servers

Use kitten put:

kitten ip asg big-prod-asg | xargs kitten put -i ~/.ssh/key.pem cat.jpg /tmp 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.6.2.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

kitten-0.6.2-py3-none-any.whl (6.7 kB view hashes)

Uploaded 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