I am attempting to orchestrate several EC2 instances from my own set of scripts. The one issue I'm running into is that some of our boxes are ubuntu boxes which require that the user "ubuntu" be used to SSH into the box. The other boxes are all Amazon Linux nodes which require that you log in using the username "ec2-user" by default.
I have looked at the EC2 api's in pretty good detail and haven't been able to find a call that I can make to determine the node's default username.
Anyone have experience with this or have any ideas?