You can convert the .pem by doing something like:
openssl rsa -in test.pem > test.rsa
openssl rsa -in test.pem > test.rsa
unable to load Private Key 56049:error:0906D06C:PEM routines:PEM_read_bio:no start line:/SourceCache/OpenSSL098/OpenSSL098-35/src/crypto/pem/pem_lib.c:650:Expecting: ANY PRIVATE KEY
I'll check to make sure I'm an idiot by seeing what I can generate from Amazon itself.
Apr 14 21:20:51 ip---- sshd[31560]: Received disconnect from ---------: 11: Normal Shutdown. Thank you! openssl rsa -in ec2.pem > ec2.rsa
chmod 700 ec2.rsa
ssh-keygen -y -f ec2.rsa > ec2.rsa.pub
Then I added both ec2.rsa and ec2.rsa.pub to the app.