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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南