Home / Companies / Pulumi / Blog / Post Details
Content Deep Dive

Deploy AWS Lambda with Elastic File System using Pulumi

Blog post from Pulumi

Post Details
Company
Date Published
Author
Luke Hoban
Word Count
1,949
Company Posts That Month
11
Language
English
Hacker News Points
-
Post removed?
No
Summary

AWS Lambda now supports integration with Amazon Elastic File System (EFS), enabling persistent file storage beyond the default 512MB /tmp disk space. Initially, EFS was only available for Amazon EC2 instances, but AWS has expanded its compatibility to various compute offerings like EKS, ECS, and Fargate, and now Lambda. This integration allows serverless functions to easily access network file systems, facilitating scenarios where more disk space is required or where persistent storage needs to be shared across multiple functions or compute services. Using Pulumi, developers can provision the necessary infrastructure to integrate EFS with Lambda, including setting up a Virtual Private Cloud (VPC), EFS file systems, and mount targets. The post demonstrates building an application that utilizes API Gateway to interact with the EFS file system via Lambda functions, enabling file operations like GET and POST without needing the AWS SDK. Furthermore, it explains how to share the EFS file system with other compute services, such as running an Nginx server on Fargate that serves content directly from EFS. This development enhances data management capabilities within serverless environments and offers seamless data sharing with traditional compute resources.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 41 484 63 32 -19%
Kubernetes 1 774 105 42 +1%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.