Home > Net >  AWS EBS vs EFS with a Lambda function
AWS EBS vs EFS with a Lambda function

Time:12-22

I've a lambda function which processes large video files (greater than 512 mbs). The files are to be downloaded from an s3 bucket, process using ffmpeg and the uploaded back to a new 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?

CodePudding user response:

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

  • Related