I'm using aws lambda as a compiler for C++ Code, I'm sending to it c++ code, the lambda compiles and runs it using local g++ and returns the output back.
I recently had too many concurrent requests that the /tmp directory of the lambda instance was too big (>512mb) and I got the following error: No space left on device
I use efs with the lambda, and I want the /tmp directory of the lambda to be in the efs instead in the instance of the lambda.
I'm using lambda with Docker image. How can I change the instance path of the tmp directory of the lambda to a directory in the efs?
Thank You!