Posted On: Jan 17, 2020
Amazon Elastic Container Service (ECS) now supports Amazon Elastic Filesystem (EFS) filesystems in ECS task definitions (in preview). When using ECS task definitions compatible with the EC2 launch type, customers can add EFS filesystems to their task definitions. This enables persistent, shared storage to be defined and used at the task and container level in ECS.
Customers can add one or more volume definitions to an ECS task definition. With the EFS preview support, a volume definition can specify an EFS file system ID. Container definitions within the task definition can specify the task definition volumes that should be mounted when that container is run. When a task that uses an EFS filesystem runs, ECS ensures that the EFS file system is mounted and available to the containers that need access to it.