https://github.com/osoco/aws-tools
Shell scripts to ease some AWS administration tasks.
https://github.com/osoco/aws-tools
Last synced: about 1 year ago
JSON representation
Shell scripts to ease some AWS administration tasks.
- Host: GitHub
- URL: https://github.com/osoco/aws-tools
- Owner: osoco
- Created: 2012-03-02T15:05:24.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2015-08-31T10:50:17.000Z (almost 11 years ago)
- Last Synced: 2025-03-27T07:35:47.762Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 169 KB
- Stars: 19
- Watchers: 4
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
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