title: Java to download files from s3 to ec2 via internal communication
body: <ol>
  <li>Hi, I'm trying to fetch files from AWS s3 to ec2 to zip it, and then wanna upload the zip back to s3, 
  all via AWS internal communication.</li>
  <li>In order to achieve this, I have set up VPC, and both s3 and ec2 are in the same region.</li>
  <li><p>I'm able to fetch files from s3 to ec2 on AWS CLI but don't know how to achieve the same using java.</p>
  
  <ul>
  <li>I need help for this purpose</li>
  </ul></li>
  </ol>