Posted On: Nov 9, 2020
Amazon Elastic Container Service (Amazon ECS) now supports the use of Amazon FSx for Windows File Server in Amazon ECS task definitions. With this capability, you can now use persistent, shared storage across ECS containers. Customers can use Amazon FSx for their Windows containers in task definitions compatible with the EC2 launch type. Amazon ECS tasks using Amazon FSx 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 an AWS Region.
Many Windows-based business-critical applications and workloads that are built on containers can benefit from using shared file storage available across containers. Amazon FSx for Windows File Server provides fully managed, highly reliable, and scalable shared file storage that is accessible over the industry-standard Server Message Block (SMB) protocol.
To use Amazon FSx for Windows File Server with Amazon ECS, customers can add one or more volume definitions to a task definition. A volume definition includes an Amazon FSx for Windows File Server file system ID, directory path, and authentication config. Amazon ECS will take care of mounting the file system on the containers when they run. Please see the Region table for a list of availability by region.
To learn more about this feature, view our documentation.