Maintained with ☕️ by
IcePanel logo

AWS Lambda now supports Node.js 14



You can now author AWS Lambda functions in Node.js 14 and use its new features, such as top-level-await, enhanced diagnostics, modifications of the streams APIs, and a revised JavaScript engine for better performance. Lambda functions written in Node.js 14 run on [Amazon Linux 2](/amazon-linux-2/), the latest generation of Amazon Linux. To learn more about writing functions in Node.js 14, see the [Node.js programming model]( in the Lambda documentation. To deploy Lambda functions using Node.js 14, upload the code through the Lambda console and select the Node.js 14.x runtime. You can also use AWS CLI, [AWS Serverless Application Model (AWS SAM)]( and [AWS CloudFormation]( to deploy and manage serverless applications authored in Node.js 14\. Additionally, you can also use the [Node.js 14 AWS provided base image]( to deploy a Node.js 14 function as a container image. To migrate existing Lambda functions running earlier Node.js versions, update your code to be compatible with Node.js 14 and then update the function runtime to Node.js 14.x. Node.js 14 is the latest LTS release of Node.js and will be supported for security and bug fixes until April 2023\. Lambda will automatically apply updates to the Node.js 14 managed runtime and to the Node.js 14 AWS provided base image, as they become available from the Node.js community. The Node.js 14 runtime is available in all [Regions where Lambda is available](/about-aws/global-infrastructure/regional-product-services/). Visit our [product page](/lambda/) for more information about AWS Lambda or sign in to the [AWS Lambda console]( to get started.