A small tool set for various Amazon AWS operations
For now, there's only a few tools in the belt but it's expected to grow over time. I tend to clone this down and refer to it occasionally
Discover what's out there and start building with it faster; it's not great but sometimes it makes starting easier. See the AWS-Disco Wiki.
This script determines your local gateway address then asks AWS if the specified security group has a rule in place to let you through from that address on port 22. This is great for people with DHCP gateway addresses or people (like me) that sometimes spend too much time in hotel rooms. See the access-aws-securitygroup wiki page for more details. To run:
./access-aws-securitygroup.sh
This script has less value now that packer
has incorporated the source_ami_filter with most_recent
changelog-v0.12.1. However, I still use it as a verification tool when things look like the don't add up. It's stored here for posterity.
Basically, this script will help you to find the latest, most up-to-date, AMI of a given distro and name/version. For example, when this script is ran:
./find-latest-amis.sh -n jessie -d debian
Then it will:
export amiLatest=$ImageId
This is helpful when starting a new job with Packer. Check the find-latest-ami wiki page.