I am trying to mount a persistent storage in a Fargate container.
EFS
file system.ECS
Cluster.EFS
and ECS
share one subnet.Fargate
and then on Add container
. I scroll down to Storage and Logging
and cannot choose the EFS
file system in Mount points
. I cannot choose anything here, the only choice I have is: <None>
This SO question suggests it is possible, but here it was answered using the AWS Cli Application. I wonder if I cannot just do it from the AWS Console (which is the web interface).
Before you can setup Mount point
in your Container definition, you have to setup Volume
in your Task definition: