1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello.
Is your ECS task definition set to mount EFS?
It is possible to mount using an EFS access point from multiple clients.
Please check the following document for general troubleshooting methods when EFS cannot be mounted.
https://repost.aws/knowledge-center/fargate-unable-to-mount-efs
Contenus pertinents
- demandé il y a un an
- Réponse acceptéedemandé il y a 2 ans
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans
Yes, it can mount on the first run on the pipeline. But if I rerun the pipeline, i think it cannot mount again.
How do you set up the task definition?
I have this inside container definition
and this is what my volume looks like.
I assume it wouldn't be connection issue or permission issue as it's working perfectly on the first run of the pipeline. Another thing that I noticed is that if I manually kill the task that is running fine, ECS service will create a new task and that task will work. It's like the first task that is able to connect to EFS works perfectly fine and newer tasks that is either trying to replace that task or replica from autoscaling won't work. So it's like only one working task at one time scenario which is really weird.
Can you confirm that there are no differences in the task definitions?
Yes, it's the same task definition, same revision number. All I'm trying to do is re-running the pipeline.