I’m running multiple different project on AWS which was so much of a pain to use, as I often find myself having to use the identity of project-a together with the official amazon ec2 tools.
To help myself manage the multiple identities, I wote a set of bash functions, called:
aws_load <config-name>– loads configuration from config-nameec2ssh <instance-number-in-ec2din-list>– ssh’s into a given instance, with the root keyec2scp– a shorthand for scp -i <keyfile>