With bind mounts, a file or directory on a host, such as an Amazon EC2 instance or AWS Fargate, is mounted into a container. Bind mounts are supported for tasks hosted on both Fargate and Amazon EC2 instances. By default, b ind mounts are tied to the lifecycle of the container using them. Once all containers using a bind mount are stopped, for example when a task is stopped, the data is removed.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bind-mounts.html

