简体   繁体   English

使用 AWS Lambda 下载大小为 1 GB 的文件

[英]Download a file of size 1 GB using AWS Lambda

I am trying to download a file from FTP server using.Net core 3.1 in AWS Lambda.我正在尝试使用 AWS Lambda 中的.Net core 3.1 从 FTP 服务器下载文件。 But, maximum disk space available to a lambda function is 512 MB.但是,lambda function 可用的最大磁盘空间为 512 MB。 Is there any way to download the file of size 1 GB in AWS Lambda?有什么方法可以在 AWS Lambda 中下载大小为 1 GB 的文件?

For large files in a Lambda AWS has recently added support for EFS .对于 Lambda 中的大文件,AWS 最近增加了对 EFS的支持。

By using an EFS mount your Lambda(s) have access to persistent storage that will scale elasticly as your application demands it.通过使用 EFS 挂载,您的 Lambda(s) 可以访问将根据您的应用程序需要弹性扩展的持久存储。

This will also last past any cold starts, new versions or across multiple Lambdas (and EC2 instances) at the same time.这也将持续到任何冷启动、新版本或同时跨多个 Lambda(和 EC2 实例)。

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

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