Posted On: Jun 16, 2022
Amazon Lambda now supports Node.js 16 as both a managed runtime and a container base image in the Amazon Web Services China (Beijing) Region, Operated by Sinnet, and the Amazon Web Services China (Ningxia) Region, Operated by NWCD. 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, and enhanced performance. For more information on Lambda’s support for Node.js 16, see our product documentation.
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 Amazon CLI, Amazon Serverless Application Model (SAM) and Amazon CloudFormation to deploy and manage serverless applications written in Node.js 16. Additionally, you can also use the Amazon Web Services-provided Node.js 16 base image 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 November 2024. Amazon Lambda will automatically apply updates to the Node.js 16 managed runtime and to the Amazon Web Services-provided Node.js 16 base image, as they become available.
The Node.js 16 runtime in Amazon Lambda is now available in the Amazon Web Services China (Beijing) Region, operated by Sinnet, and Amazon Web Services China (Ningxia) Region, operated by NWCD. Visit our product page for more information about Amazon Lambda or sign in to the Amazon Lambda console to get started.