Posted On: May 15, 2019
You can now develop your AWS Lambda functions using Node.js v10. In addition to the leveraging new features in Node.js v10 such as the performance improvements in the V8 6.6 engine, Lambda functions written in Node.js 10 run on the latest generation of Amazon Linux, Amazon Linux 2.
To get started deploying your Node.js code as a Lambda function, you simply upload your code as a ZIP through the AWS CLI or AWS Lambda console and select the Node.js 10.x runtime. You can also use the AWS Serverless Application Model (SAM) to deploy and manage your serverless application authored in Node.js. Customers with existing Node.js functions can switch to the new runtime by making any required code changes to ensure compatibility with the new runtime and Amazon Linux version, and editing their function configuration to set the runtime to “nodejs10.x”. You can read more about the Node.js programming model in the AWS Lambda documentation.