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 learn more about the differences in Node 10 vs previous versions of Node on Lambda, see our documentation. Starting with Node 10, AWS Lambda will also automatically update the language minor versions to latest minor version, as specified by https://github.com/nodejs/Release.
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.
The Node.js 10.x runtime is available in all regions where Lambda is available. For more information on where AWS Lambda is available, see the AWS region table. Please visit our product page for more information about AWS Lambda or log in to the AWS Lambda console to get started.