Creating a Amazon EFS mount volume in a task Definition with Ansible

0

I'm trying to mount a EFS volume in a task Definition, but it shows that the EFS filesystem type is "unknown", this is on a Container on a EC2 instance.

已提问 1 个月前145 查看次数
1 回答
0

To mount an EFS file system in an ECS task or container running on EC2, you need to define a volume in the task definition that references the EFS file system ID. Then in the container definition, define a mountPoint that mounts the volume.

Please find the procedure here in the doc: https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-helper-ec2-linux.html

profile picture
专家
已回答 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则