- 最新
- 最多得票
- 最多評論
Make sure that you have set up the correct IAM permissions for your ECS tasks to access the EFS file system. You should have a policy that allows your ECS tasks to perform actions such as elasticfilesystem:ClientMount and elasticfilesystem:ClientWrite.
Secondly, you should ensure that your task definition is set up correctly to use EFS. This means including the efsVolumeConfiguration section in your task definition with the correct mount point and file system ID.
Or you can giving your ECS tasks superuser privileges, That might be a quick way to get around the issue.
This AWS Blog is also a good reference. https://aws.amazon.com/blogs/containers/developers-guide-to-using-amazon-efs-with-amazon-ecs-and-aws-fargate-part-2/#:%7E:text=POSIX%20permissions
相關內容
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前