AWS Lambda | AWS Lambda functions in Node.js Flashcards
What is the JVM environment Lambda uses for execution of my function?
AWS Lambda functions in Node.js
AWS Lambda | Compute
Lambda provides the Amazon Linux build of openjdk 1.8.
Can I use packages with AWS Lambda?
AWS Lambda functions in Node.js
AWS Lambda | Compute
Yes. You can use NPM packages as well as custom packages. Learn more here.
Can I execute other programs from within my AWS Lambda function written in Node.js?
AWS Lambda functions in Node.js
AWS Lambda | Compute
Yes. Lambda’s built-in sandbox lets you run batch (“shell”) scripts, other language runtimes, utility routines, and executables. Learn more here.
Is it possible to use native modules with AWS Lambda functions written in Node.js?
AWS Lambda functions in Node.js
AWS Lambda | Compute
Yes. Any statically linked native module can be included in the ZIP file you upload, as well as dynamically linked modules compiled with an rpath pointing to your Lambda function root directory. Learn more here.
Can I execute binaries with AWS Lambda written in Node.js?
AWS Lambda functions in Node.js
AWS Lambda | Compute
Yes. You can use Node.js’ child_process command to execute a binary that you’ve included in your function or any executable from Amazon Linux that is visible to your function. Alternatively several NPM packages exist that wrap command line binaries such as node-ffmpeg. Learn more here.