Posted On: Feb 8, 2022
Amazon Elastic Container Service (Amazon ECS) now supports the use of persistent, shared storage across ECS containers with Amazon FSx for Windows based applications. Customers can use Amazon FSx for their Windows containers in task definitions compatible with the EC2 launch type. Amazon ECS tasks using Amazon FSx are designed to 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 Amazon Web Services 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. This feature is available in Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD.
To learn more about this feature, view our documentation.