Asher11
Asher11

Reputation: 1325

aws lambda: docker container support & efs mount at the same time?

lambda + docker support is very useful. Now I want to add aws efs to the mix, as of today, is this doable? (even with some sleight of hand that would require tweaking the docker image)

the idea is to leverage the docker support for OS purposes and efs to load/save stuff.

Upvotes: 0

Views: 698

Answers (1)

Corey
Corey

Reputation: 131

I ran into this same problem and it turned out to be I had to add the NFS TCP port 2049 to my security group. My Lambdas were unable to communicate at the network level. The error I was getting was

Execution failed due to configuration error: The function couldn't connect to the Amazon EFS file system with access point arn:aws:elasticfilesystem:us-east-1

Hopefully someone finds this useful.

Upvotes: 3

Related Questions