Is there any way to store files on Amazon EFS using Lambda Functions?

百般思念 提交于 2020-07-10 07:48:11

问题


I'm developing an API using API Gateway + Lambda Functions. The company's website is at EC2 and its images are at EFS. I have to develop one API method to upload some images to EFS, but I can't find a way to do that. Is EFS even accessible from a lambda function?

Thanks in advance


回答1:


AWS has released Lambda filesystem support. See these details for configuration information, including CloudFormation and SAM templates. The file system and the Lambda function must be in the same region, and the function must be attached to the VPC, though it may be in a different account.



来源:https://stackoverflow.com/questions/59400284/is-there-any-way-to-store-files-on-amazon-efs-using-lambda-functions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!