add the subcommand:
 ec2 sshconfig

it produces aliases for all instances suitable for usage in a ssh config file to alias public dns name to instance name