title: Unable to locate credentials when trying to copy files from s3-bucket to my ec2-instance
body: <p>Im trying to copy files from my s3-bucket to my ec2-instance. 
  When i run this command inside my ec2-instance: <code>aws s3 cp s3://amazing-demobucket-1/file.txt ./file.txt</code> i get following error: <code>Unable to locate credentials</code></p>
  
  <p>But the aws configure files is in my <code>~/.aws</code> in my local machine. Do i need to configure inside ec2-instance too? Or is there another command i can run outside my ec2-instance to download files from s3-bucket into ec2-instance ?</p>
  
  <p>Thank for help!</p>