I have created a task definition and mounted EFS
but i'm not sure if it works..
So i wanted to verify if my EFS file system is mounted to the running container ?
How can i verify ?
One way is to add a file to the folder inside your container:
ssh -i "somekey.pem" [email protected]
docker ps
to get the id of your container. docker exec -it CONTAINERID /bin/bash
to move inside the container. Inside the container create or copy a file to the EFS-folder. Now go to the EFS console and verify that the Metered size is greater than 0 meaning your file is in EFS.