Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

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, 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?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

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

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading