Mount options for EFS on Fargate

0

Our application is deployed on fargate and it uses EFS to store files. We are experiencing an issue where the written files don't show up because of NFS negative caching.

The solution seems to be using noac or lookupcache=pos mount options for EFS. But I don't see a way to specify mount options when configuring EFS as a volume on Fargate.

Is there a solution for Fargate or a workaround?

1 回答
0

Greetings, Thank you for reaching out to AWS re:Post, I understand that you are having mounting your EFS as a volume on Fargate.

To mount an EFS system on Fargate

Open Amazon ECS -> Create New Task Definition -> Select FARGATE as launch type compatibility -> Entenr Task Definition Name -> Enter EFS as Volume Type -> Add container and Create

Please refer to the document below for a further explanation [1]

To verify your EFS is successfully mounted, check your task logs, reference to document below [2]

Please contact if you have any further questions, or reach out to us via a support case to facilitate a discussion on the specifics of your resources.

Hope you have a wonderful day.

[1] https://aws.amazon.com/premiumsupport/knowledge-center/ecs-fargate-mount-efs-containers-tasks/

[2]https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_awslogs.html#viewing_awslogs

已回答 2 年前

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

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

回答问题的准则