Reputation: 217
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).
Upvotes: 1
Views: 354
Reputation: 238957
Before you can setup Mount point
in your Container definition, you have to setup Volume
in your Task definition:
Upvotes: 2