简体   繁体   中英

AWS EBS vs EFS with a Lambda function

I've a lambda function which processes large video files (greater than 512 mbs). The files are to be downloaded from an s3 bucket, processed using ffmpeg and then uploaded back to another s3 bucket. Currently, I'm using the /tmp/ directory by lambda but it has a limit of 512 mbs.

I've read somewhere that you can use EFS with lambda for this purpose but I think EBS could be used as well but I've not found anyone using that. Is there any particular reason that why EFS could be preferred over EBS in this scenario or with lambda functions in general?

You can't use EBS volumes with lambda. They are used with EC2 instances only. For the lambda you can use EFS only.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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