Instagram/ec2-ssh — pull request #4 by croach (2011-10-23 09:51:15+00:00)
Title: Adding support for regions other than the default

The current script assumes that all EC2 instances are located in the default region (i.e., us-east-1). The changes in this pull request add a new option (-r, --region) that allow the user to specify the region where their EC2 instances reside. It also allows the user to set the region via an environment variable (AWS_EC2_REGION). Finally, the ec2-ssh script has also been altered to support the three main ec2-host options (i.e., -k, -s, and -r).