vpc "X" 中的 lambda 可以访问 vpc "y" 中的 efs
can lamda in vpc "X" access efs in vpc "y"
lambda 可以访问不同 vpc 的 efs 中存在的数据吗?我尝试阅读 AWS 文档,但找不到很多 details.I 知道 lambda 可以访问同一 vpc 中的 efs 运行 .
是的,但您必须设置 VPC peering between the two VPCs. This way, lambda in one VPC will be able to mount EFS from the other VPC. The only requirement is that both VPCs must be in same region。
The file system and the Lambda function must be in the same region. A Lambda function in one account can mount a file system in a different account. For this scenario, you configure VPC peering between the function VPC and the file system VPC.
lambda 可以访问不同 vpc 的 efs 中存在的数据吗?我尝试阅读 AWS 文档,但找不到很多 details.I 知道 lambda 可以访问同一 vpc 中的 efs 运行 .
是的,但您必须设置 VPC peering between the two VPCs. This way, lambda in one VPC will be able to mount EFS from the other VPC. The only requirement is that both VPCs must be in same region。
The file system and the Lambda function must be in the same region. A Lambda function in one account can mount a file system in a different account. For this scenario, you configure VPC peering between the function VPC and the file system VPC.