- Newest
- Most votes
- Most comments
I apologize, but I don't have any specific information about AWS Lambda supporting /dev/shm or plans to implement it. AWS Lambda currently does not provide direct access to /dev/shm or allow mounting it into containers.
Regarding your questions:
-
There are no developer resources available for implementing /dev/shm in AWS Lambda, as this is not a supported feature.
-
AWS Lambda runs in a controlled execution environment for security and isolation reasons. Mounting /dev/shm or other system resources is not permitted within this environment.
-
AWS provides information on Lambda's capabilities and use cases based on its current features. If /dev/shm access is critical for your application, Lambda may not be the most suitable service. Other AWS compute services like EC2 or ECS may be more appropriate for workloads requiring low-level system access.
I would encourage you to provide feedback to AWS about your use case and requirements if /dev/shm support in Lambda would be beneficial for your applications. AWS regularly evolves their services based on customer needs.
Sources
AWS Lambda turns ten – looking back and looking ahead | AWS News Blog
When to use Lambda's OS-only runtimes - AWS Lambda
Relevant content
- asked 2 years ago
- asked 2 years ago
- asked 5 months ago
- AWS OFFICIALUpdated a month ago
Docker containers have
tmpfs
, so it is not a problem to simulate/dev/shm
in the container. Even in cases when mounting the root machine's/dev/shm
is not possible. But I see AWS doesn't want to spend money on development. AWS just keeps everything like it was in 2015. AWS loves to spend money on talking, and it won't ever help its customers. So it is better to move AWS services ASAP.