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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인