title: Mount specific EBS volume to Docker under AWS beanstalk
body: <p>AWS Beanstalk can run applications from Docker containers.
  As mentioned in the docs (<a href="http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker_image.html" rel="nofollow">http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker_image.html</a>) it's possible to write directory mappings to the EC2 volume in the Dockerrun.aws.json:</p>
  
  <pre><code>"Volumes": [
  {
    "HostDirectory": "/var/app/mydb",
    "ContainerDirectory": "/etc/mysql"
  }
  </code></pre>
  
  <p>but, is it possible to mount specific EBS volume?</p>
  
  <p>F.e. I need to run db in the Docker container and deploy it with Beanstalk. It's clear that I need to have persistence of the data, backup/restore for db, etc..</p>