This reminds me of an Instagram tool I used to use, ec2-ssh
https://github.com/facebookarchive/ec2-ssh
My biggest headache with most tools (like the article) is that they don't easily support cross-account roles. This leaves me using a combination of the awscli and jq.
https://blogs.aws.amazon.com/security/post/Tx70F69I9G8TYG/Ho...