Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Migrated] [Feature Request] Add EFS Support #874

Open
jneves opened this issue Feb 20, 2021 · 3 comments
Open

[Migrated] [Feature Request] Add EFS Support #874

jneves opened this issue Feb 20, 2021 · 3 comments
Labels
needs-review Needs attention from a maintainer

Comments

@jneves
Copy link
Contributor

jneves commented Feb 20, 2021

Originally from: Miserlou/Zappa#2128 by dleber

Context

AWS recently announced the ability to attach EFS (Elastic File System) to lambda instances (more info).

It would be great if Zappa offered the ability to attach an EFS to lambda instances in a VPC.

Expected Behavior

In zappa_settings, specify an optional EFS config, including
1. EFS mount path
2. An EFS id

@nickovs
Copy link

nickovs commented Mar 7, 2023

This would be immensely useful to have. Not only does it provide an easy way to make huge packages like Tensorflow available to your Lambda functions but it also makes it much easier to preserve state. I have a use case that involves having a Lambda function that processes files from a Git repo. Without preserving state between instantiations the code has to perform a git clone every time it runs; with an attached EFS file system it just needs a git pull and runs a great deal faster.

Looking into the APIs it seems that this should be pretty easy. The mount points are part of the configuration that gets passed to lambda_client.create_function() or lambda_client.update_function_configuration(), stored under the FileSystemConfigs key. The configuration entry is just a list of short dictionaries containing two keys called Arn and LocalMountPath and these could just be copied out of the zappa_settings.json configuration.

Copy link

github-actions bot commented Apr 3, 2024

Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.

@github-actions github-actions bot added the no-activity [Bot] Closing soon if no new activity label Apr 3, 2024
@nickovs
Copy link

nickovs commented Apr 4, 2024

This is still something that would be hugely useful, for all the reasons discusses above.

@github-actions github-actions bot added needs-review Needs attention from a maintainer and removed no-activity [Bot] Closing soon if no new activity labels Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-review Needs attention from a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants