Amazon API Gateway REST API to AWS Lambda to Amazon EFS

Amazon API Gateway → AWS Lambda → Amazon EFS

Attach, configure and access Amazon EFS from AWS Lambda function.

This pattern outlines a solution on accessing the Elastic File System (EFS) from an AWS Lambda. An ideal use case to connect to EFS from AWS Lambda is to process files shared across multiple components of the application. When a upstream components writes data to a file and a backend task needs to process the data for downstream component, utilizing a file storage with AWS Lambda yields desired results. EFS is a serverless, no maintenance file system that can be accessed from various AWS resources.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-rest-api-lambda-efs-dotnet

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Pankaj Rawat

Pankaj Rawat

Pankaj Rawat is a Lead Consultant at Amazon Web Services.

Follow on LinkedIn

Vijai Anand Ramalingam

Vijai Anand Ramalingam

Vijai Anand Ramalingam ia an Application Developer - ISV at Amazon Web Services

Follow on LinkedIn