I want to automate transfer of tomcat log files from micro instance to S3 account. However, all the scripts I find online use key pair in order to do this. I cant upload these key pair to the server for security reasons. Is it possible to create a shell script that automates moving of these log files into s3 without requiring to access .pem files ?
Have you tried http://s3tools.org/s3cmd ?
This will allow you to seamlessly copy files to your S3 bucket. You can use the rsync like sync option as well.