Posted On: May 30, 2019

You can now develop your Amazon 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, Amazon 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 Amazon CLI or Amazon Lambda console and select the Node.js 10.x runtime. You can also use the Amazon 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 Amazon Lambda documentation.

The Node.js 10.x runtime is available in all regions where Lambda is available. For more information on where Amazon Lambda is available, see the Amazon Web Services region table. Please visit our product page for more information about Amazon Lambda or log in to the Amazon Lambda console to get started.