简体   繁体   English

aws lambda:docker 容器支持和 efs 同时挂载?

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

lambda + docker support is very useful. lambda + docker 支持非常有用。 Now I want to add aws efs to the mix, as of today, is this doable?现在我想将 aws efs 添加到组合中,截至今天,这可行吗? (even with some sleight of hand that would require tweaking the docker image) (即使使用一些需要调整 docker 图像的技巧)

the idea is to leverage the docker support for OS purposes and efs to load/save stuff.这个想法是利用 docker 对操作系统的支持和 efs 来加载/保存东西。

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.我遇到了同样的问题,结果是我必须将 NFS TCP 端口 2049 添加到我的安全组。 My Lambdas were unable to communicate at the network level.我的 Lambda 无法在网络级别进行通信。 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.希望有人觉得这很有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM