title: AWS S3 mount on Docker in AWS Batch
body: <p>I want to mount an AWS s3 bucket on my Docker container which I am using to run some AWS Batch jobs.
  I have been researching several ways of going about this but I still lack clarity as to how I can get this to work on AWS Batch which is going to dynamically allocate EC2 instances based on the job definitions.
  The following are the ideas I have gathered , but I am unsure of how to put them together:</p>
  <ol>
  <li><a href="https://rexray.readthedocs.io/en/v0.9.0/user-guide/docker-plugins/" rel="nofollow noreferrer">https://rexray.readthedocs.io/en/v0.9.0/user-guide/docker-plugins/</a>
  I could use this plugin to mount S3 bucket as Docker volume , but unsure how to do this on AWS Batch. Should this plugin be a part of the Docker image ?</li>
  <li>I could use s3fs-fuse but I was told that I wont be able to install or store any of the files from S3 on EC2 instances on AWS Batch instances, which can then be mounted in docker. - is there a way to do this by including some code in the AMI that will copy files from s3 to instance?</li>
  <li>Are there any other ways I can get this to work?</li>
  </ol>
  <p>Pardon me if my questions are too basic. I am fairly new to Docker and AWS Batch. Would appreciate any help!</p>
  <p>Thanks !</p>