- Newest
- Most votes
- Most comments
Yes, you will need to upgrade Node.js versions for both your Git-based App Runner services and your ECR container image deployments before the end of support date.
For your Git-based App Runner services currently using Node.js 16, you should update the runtime configuration to use Node.js 22, which is the current Active Long Term Support version. App Runner has announced that support for Node.js 12, 14, 16, and 18 will end on December 1, 2025.
For your ECR container image deployments using Node.js 18, you will also need to rebuild these images with Node.js 22 before the end of support date. While App Runner will continue to run your existing container images after the end-of-support date, these images will no longer receive security updates or bug fixes from the Node.js community, as Node.js 18.x reached its End of Life on April 30, 2025.
When upgrading to Node.js 22, be aware that App Runner now runs an updated build process for applications based on Node.js 22 and Node.js 18. This revised build process includes a pre-run section that isn't applicable to older runtime versions.
Also note that if you're using the AWS SDK in your applications, Node.js 22 includes AWS SDK for JavaScript version 3, whereas Node.js 16 and earlier included version 2. This may require code changes if you're using the SDK that's bundled with the runtime.
For a smooth transition, it's recommended to test your applications thoroughly in non-production environments after upgrading to ensure all dependencies and workflows function correctly with the new Node.js version.
Sources
Using the Node.js platform - AWS App Runner
Announcing the end of support for Node.js 18.x in AWS CDK | AWS DevOps & Developer Productivity Blog
Node.js 22 runtime now available in AWS Lambda | AWS Compute Blog
Relevant content
asked 2 years ago
asked 2 years ago
asked 3 years ago
