I am trying to mount S3 as a volume on AWS ECS docker container using rexray/s3fs driver.
I am able to do this on my local machine, where I installed plugin
$docker plugin install rexray/s3fs
and mounted S3 bucket on docker container.
$docker plugin ls
ID NAME DESCRIPTION ENABLED
3a0e14cadc17 rexray/s3fs:latest REX-Ray FUSE Driver for Amazon Simple Storage true
$docker run -ti --volume-driver=rexray/s3fs -v s3-bucket:/data img
I am trying replicate this on AWS ECS.
Tried follow below document: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-volumes.html
If I give Driver value then task is not able to run and giving "was unable to place a task because no container instance met all of its requirements." error.
I am using t2.medium instance and giving of it requirement for task so it should not be H/W requirement issue.
If I remove the Driver config from Job definition task gets executed.
It seems I am miss configuring something.
Is anyone trying/tried same thing, please share the knowledge.
Thanks!!