Lambda Container-Based Function Needs --privileged and --device /dev/fuse

0

How can my container-based lambda function run the container with the "--privileged" and "--device /dev/fuse" options? My use case is a container that uses s3fs to mount an S3 bucket.

I thought for sure I had read this is possible, but now I'm not finding it. If this isn't possible running the container using lambda, is it possible under ECS?

질문됨 2년 전212회 조회
1개 답변
1
수락된 답변

When you deploy a lambda using a container instead of a zip file, lambda doesn't actually run as a docker container. The container is just a packaging construct. At runtime, the lambda function runs just like it would if it were packaged as a zip file.

The ephemeral storage that is assigned to a lambda function can now be up to 10 GB - https://aws.amazon.com/blogs/aws/aws-lambda-now-supports-up-to-10-gb-ephemeral-storage/

Also, it is possible to use EFS with lambda functions - https://aws.amazon.com/blogs/compute/using-amazon-efs-for-aws-lambda-in-your-serverless-applications/

profile pictureAWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠