AWS Lambda adds support for Node.js 18
Share
Services
AWS Lambda now supports Node.js 18 as both a managed runtime and a container base image. Developers creating serverless applications in Lambda with Node.js 18 can take advantage of new features such as an upgrade of the bundled AWS SDK for JavaScript to v3 and improved support for deploying ES Modules using Lambda layers. This release also provides access to Node.js 18 language enhancements, including the experimental ‘fetch’ API. For more information on Lambda’s support for Node.js 18, see our blog post at [Node.js 18.x runtime now available in AWS Lambda](https://aws.amazon.com/blogs/compute/node-js-18-x-runtime-now-available-in-aws-lambda/).
To deploy Lambda functions using Node.js 18, upload the code through the Lambda console and select the Node.js 18 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 18\. Additionally, you can also use the [AWS-provided Node.js 18 base image](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-image.html) to build and deploy Node.js 18 functions using a container image. To migrate existing Lambda functions running earlier Node versions, review your code for compatibility with Node.js 18 and then update the function runtime to Node.js 18.
Node.js 18 is the latest long-term support (LTS) release of Node.js and will be supported for security and bug fixes until April 2025\. AWS will automatically apply updates to the Node.js 18 managed runtime and to the AWS-provided Node.js 18 base image, as they become available.
The Node.js 18 runtime is available in all commercial [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](https://console.aws.amazon.com/lambda/home) to get started.
What else is happening at Amazon Web Services?
Amazon AppStream 2.0 users can now save their user preferences between streaming sessions
December 13th, 2024
Services
Share
AWS Elemental MediaConnect Gateway now supports source-specific multicast
December 13th, 2024
Services
Share
Amazon EC2 instances support bandwidth configurations for VPC and EBS
December 13th, 2024
Services
Share
AWS announces new AWS Direct Connect location in Osaka, Japan
December 13th, 2024
Services
Share
Amazon DynamoDB announces support for FIPS 140-3 interface VPC and Streams endpoints
December 13th, 2024
Services
Share