title: Using Amazon EMR on a centralized host
body: <p>I am trying to use Amazon EMR to process logs using the documentation here <a href="http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-process-logs.html" rel="nofollow">http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-process-logs.html</a> . I have created a PEM file and my credentials.json file and am able to successfully run and download the logs from S3 and create hive tabels on top of it and run map reduce queries.</p>
  
  <p>Now I want to put all these credentials.json , PEM files and my script into a centralized host so that other users can come and just run the script and download the logs. No need for them to be creating their own key pair etc . So I just did a scp of the PEM files, script and the credential.json on the remote host and gave a permission of 777 on all of these. The problem is that when other users are running the script, they get an error "AWS credential not specified" . </p>
  
  <p>Can anyone help me on this specific use case. Where are my credential setting going wrong.</p>