Skip to content

Commit

Permalink
Updated README with a brief description of each script
Browse files Browse the repository at this point in the history
  • Loading branch information
deigote committed Mar 3, 2012
1 parent c9eb0d5 commit 3b24ca7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README
@@ -1 +1,26 @@
Shell scripts to ease some AWS administration tasks.

* ec2-common.sh - Common vars and functions, meant to be sourced by other scripts
* backup-volumes-into-snapshots.sh - Backup one or more volumes by making snapshots. Supports
snapshot multi-tagging and description. Can operate in synchronous mode. Example of usage:

./backup-volumes-into-snapshots.sh -s -v vol-bcf905d4 -d Hourly_backup -t "Content=Database" -t "backup=hourly"

* find-vols-by-tag.sh - Find volumes by a given tag. Example of usage:

./find-vols-by-tag.sh -t Content=Database

* find-vols-attached-to-instance.sh - Search for volumes attached to a given instance. Example of usage:

./find-vols-attached-to-instance.sh -i i-9293812

* clean-old-snapshots.sh - Clean old snapshots. Supports snapshot filtering (any criteria supported
by ec2 api tools). It leaves untouched all snapshots not older than X days, and leave one per day
for any snapshot not older than Y days (given that 0 < X < Y). Example of usage:

./clean-old-snapshots.sh -f tag:backup=hourly -a 1 -d 7

* ec2-describe-instances-for-humans - Describe instances of one or more regions (or all of them if none specified)
in a more human-friendly format. Example of usage:

./ec2-describe-instances-for-humans.sh -r eu-west-1 -r us-east-1

0 comments on commit 3b24ca7

Please sign in to comment.