Posted On: Aug 3, 2020
Today, Amazon Elastic Container Service (ECS) announced CloudFormation support for adding Amazon Elastic File System (EFS) volumes to ECS tasks. Customers can automate the creation and management of tasks using EFS volumes through infrastructure as code.
ECS tasks using EFS will automatically mount the file systems specified by the customer in the task definition and make them available to the containers in the task across all availability zones in the region. This enables persistent and shared storage to be defined and used at the task and container level in ECS.
To get started, see the following resources:
- See the documentation for adding EFS to your ECS task definition in CloudFormation.
- Read the announcement for EFS volumes with ECS on the AWS Containers blog.
- See the tutorial with EFS with ECS in our documentation.