title: aws s3 cp not working as user_data bootstrap script
body: <p>I start an instance (with user_data/bootstrap script) which creates a tar and then runs:</p>
  
  <pre><code>aws s3 cp /home/ubuntu/xy.tar s3://mybucket/ 
  </code></pre>
  
  <p>then I also tried running: </p>
  
  <pre><code>aws s3 cp /home/ubuntu/xy.tar s3://mybucket/ &gt; /home/ubuntu/awslog 
  </code></pre>
  
  <p>which yields an empty file (which it shouldn't if it would have worked)</p>
  
  <p>When I then login to the server, the command works just fine. I made the bucket writable by everyone, and the AMI has <code>aws config</code> CLI setup with my key/secret.</p>
  
  <p>What could I be missing?</p>