How to mount filesystem against a Windows Elastic Container Service using Fargate?

0

We are running a Windows elastic container service with Fargate and tried several ways to mount a filesystem with several issues (slow performance/unable to mount/etc). As we can see documentation says AWS EFS does not support Fargate in combination with Windows docker image.

What are the best solution to have a filesystem that could both be mounted from a ECS Windows container and EC2 Windows image? Maybe possible to mount a volume from EC2 and mount the windows fileshare here from the Windows elastic container service?

Any best practice that works and runs fast ?

3 回答
0

Hello.

Is it absolutely necessary to use Fargate for ECS?
If you use the EC2 launch type, you should be able to use EFS, FSx, etc.
You can use FSx if you do not use Fargate.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html

You cannot use FSx for Windows File Server volumes in a Windows containers on Fargate configuration.

profile picture
专家
已回答 8 个月前
  • We have considered to to use EC2 but then we don't get the benefits from a server less compute for containers.

    I suppose we then need to maintenance the windows image ourselves then with service packs and updates?

    Load balancing how does it work/best solution with EC2 mode vs FARGATE ? How fast it scales and pricing?

0

Indeed, as mentioned here, Amazon EFS is not supported on Windows instances. If you plan to use Windows, your best choice for the file system is Amazon FSx for Windows File Server.

Amazon FSx has native support for Windows file system features and for the industry-standard Server Message Block (SMB) protocol to access file storage over a network (see here).

AWS
Vincent
已回答 8 个月前
0

There is an Amazon S3 MountPoint recently introduced. explored it if its suitable ? https://aws.amazon.com/about-aws/whats-new/2023/03/mountpoint-amazon-s3/

已回答 8 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则