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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ