title: How to transfer files between AWS s3 and AWS ec2
body: <p>I am using AWS ec2 instance.  On this instance I'm resulting some files. These operations are done by user data.</p>
  
  <p>Now I want to store those files on s3 by writing code in user data itself.</p>
  
  <ul>
  <li>So how can I store those files on s3?</li>
  <li>Have any tutorials on it?</li>
  </ul>