Maintained with ☕️ by
IcePanel logo

AWS Lambda adds support for Node.js 16

Share

Services

AWS Lambda now supports Node.js 16 as both a managed runtime and a container base image. Developers creating serverless applications in Lambda with Node.js 16 can take advantage of new features such as support for Apple silicon for local development, the [timers promises API](https://nodejs.org/docs/latest-v16.x/api/timers.html#timers-promises-api), and enhanced performance. For more information on Lambda’s support for Node.js 16, see our blog post at [Node.js 16.x runtime now available in AWS Lambda](https://aws.amazon.com/blogs/compute/node-js-16-x-runtime-now-available-in-aws-lambda/). To deploy Lambda functions using Node.js 16, upload the code through the Lambda console and select the Node.js 16 runtime. You can also use the [AWS CLI, AWS Serverless Application Model (AWS SAM)](https://github.com/awslabs/serverless-application-model) and [AWS CloudFormation](/cloudformation/) to deploy and manage serverless applications written in Node.js 16\. Additionally, you can also use the [AWS-provided Node.js 16 base image](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-image.html) to build and deploy Node.js 16 functions using a container image. To migrate existing Lambda functions running earlier Node versions, review your code for compatibility with Node.js 16 and then update the function runtime to Node.js 16. Node.js 16 is the latest long-term support (LTS) release of Node.js and will be supported for security and bug fixes until April 2024\. AWS will automatically apply updates to the Node.js 16 managed runtime and to the AWS-provided Node.js 16 base image, as they become available. The Node.js 16 runtime is available in all [Regions where Lambda is available](/about-aws/global-infrastructure/regional-product-services/), except for the AWS China Region (Beijing) Region, operated by Sinnet and AWS China (Ningxia) Region, operated by NWCD"s. Visit our [product page](/lambda/) for more information about AWS Lambda or sign in to the [AWS Lambda console](https://console.aws.amazon.com/lambda/home) to get started.