Skip to content

tbma2014us/ops-tools

Repository files navigation

ops-tools

DevOps tools written in Python

  1. cloudwatch_metrics
  2. add-tags.py
  3. clone.py
  4. instances-backup.py
  5. rotate.py
  6. start-stop.py
  7. wait.py
  8. watchdog.py

cloudwatch_metrics

Service daemon for Ubuntu servers to post custom AWS CloudWatch metrics.

add-tags.py

Adds tags to AWS EC2 instances by name or instance id

clone.py

Creates a running copy of the AWS computing or database instance by name or instance_id

instances-backup.py

Multithreading AWS EC2 instances backup into AMIs by tag, instance id or name

rotate.py

Rotates the expiring AWS keys and writes the updated keys into the local config files.

start-stop.py

Starts or stops AWS EC2 instances by name or instance id

wait.py

Wait for remote SSH service to come back after a boot or reboot

watchdog.py

TCP-port watchdog. Monitors availability of the TCP port, runs external process if port is unavailable.

./watchdog.py -a 192.168.1.1 -p 80 -c "echo port unavailable" -r 1

APACHE 2.0 python !#/bin/bash