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 réponse
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

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions