[AWS] Mount AWS EFS Volume Into AWS Lambda
Using Amazon EFS for AWS Lambda in your serverless applications
data sharing 是其中一个用途。
Configuring AWS Lambda to use EFS
Mount Your AWS EFS Volume Into AWS Lambda With the Serverless Framework
But last month AWS announced mountable storage to your serverless functions.
They added support for Amazon Elastic File System (EFS), a scalable and elastic NFS file system.
This allows you to mount your AWS EFS filesystem to your AWS Lambda function.
2020年中才有的新技术,也是巧。
Docker on Lambda 可以挂载么?
可以。
Building deep learning inference with AWS Lambda and Amazon EFS
by James Beswick | on 23 JUL 2020, link: Building deep learning inference with AWS Lambda and Amazon EFS
Performance considerations
It’s important to understand how Lambda invokes affect performance. The first request to a function instance is called a “cold-start”. This is where the function is provisioned, code downloaded, and the initializer is executed to download the code and load libraries. In this example, it takes about 40 seconds to load the full TensorFlow 2 libraries from EFS, and another 8 seconds to load the model into memory.
好处,仅仅局限在“有了状态”。
貌似没说什么,仅供参考。
A step-by-step tutorial to set up ML inference with AWS Lambda using its newly released integration with Amazon Elastic File System.