Help for owners
AWS emailed me that some of my Lambda functions use a deprecated runtime
Short answer
Your functions keep running: AWS says you can invoke them indefinitely after a runtime is deprecated. On the deprecation date AWS may stop patching, support ends and the Lambda console can no longer change them; blocks on creating and updating come later. For Node.js 18 and 20, Python 3.9 and 3.10 and .NET 8, AWS's table blocks new functions from 29 July 2027 and updates from 31 August 2027.
Does this sound like your situation?
- An AWS email or Health notice says some of my Lambda functions use a runtime that is reaching end of support.
- The function names in the notice mean nothing to me, and nobody remembers writing them.
- My developer says the Lambda console no longer lets them change a function.
- The notice names runtimes such as nodejs18.x, nodejs20.x, python3.9 or python3.10, and the same warning keeps coming back.
- An auditor or a security tool flags Lambda functions on old Node.js or Python versions.
Why does this happen?
The language version behind the function reached its end of support
AWS deprecates a Lambda runtime when a major part of it, most often the language version and sometimes the operating system, reaches the end of community long-term support and stops getting security updates. From then on AWS may stop patching that runtime, and functions using it are no longer eligible for technical support.
Confirmed by docs.aws.amazon.com
Deprecation happens in stages, and nothing is switched off
AWS sends notice at least 180 days ahead. On the deprecation date, functions on that runtime can no longer be created or changed in the Lambda console, though the AWS CLI, SAM and CloudFormation still work. Blocking new functions comes at least 30 days later and blocking updates at least 60 days later, and AWS says it will not block before the dates in its tables. Running functions can still be invoked, but AWS warns they may degrade or stop working properly, for example after a certificate expires.
Confirmed by docs.aws.amazon.com
Today's dates, as AWS lists them
AWS's table gives these deprecation dates: Node.js 18 on 1 September 2025, Python 3.9 on 15 December 2025, Node.js 20 on 30 April 2026, Python 3.10 on 31 October 2026 and .NET 8 on 10 November 2026. All of them, and older ones such as .NET 6, share the same two later dates: no new functions from 29 July 2027 and no updates from 31 August 2027. For some runtimes AWS has already set block dates later than its usual gap, so read the table again on the day you plan the work.
Confirmed by docs.aws.amazon.com
Some functions were set up by an AWS service, not by your developer
Not every function in the notice was written for your app. AWS Control Tower, for example, lists a Lambda function called aws-controltower-NotificationForwarder among the resources it creates in your accounts when a landing zone is set up, so a business that uses Control Tower can get a notice about code nobody on its side wrote.
Confirmed by docs.aws.amazon.com
The notice reaches one address and shows part of the list
AWS emails the account's primary account contact, and the email and the Health Dashboard both list only the current, editable version of each function (AWS calls it LATEST), not older published versions. Health Dashboard notices expire 90 days after the runtime is deprecated. Functions built from container images and functions on a customer-managed runtime get no deprecation notices at all.
Confirmed by docs.aws.amazon.com
What can I do about it today?
- Open the notice from inside AWSSign in to the AWS console yourself instead of using a link in the email. Open the Health Dashboard, go to Your account health, then Other notifications, and the Affected resources tab names the functions. A genuine notice also appears there, unless it has already expired.
- Check whether you can use the Trusted Advisor checkOn the Security page of Trusted Advisor, the check AWS Lambda Functions Using Deprecated Runtimes lists affected functions with their Region, runtime, deprecation date and average daily invokes. AWS says Basic and Developer support plans get the Service limits checks plus a short named list of security and fault tolerance checks in the console, and this check is not on that list, so on those plans use the Health Dashboard and the command below.
- Ask your developer for one command per RegionAWS documents this listing: aws lambda list-functions --function-version ALL --region us-east-1 --output text --query "Functions[?Runtime=='nodejs20.x'].FunctionArn". Change the Region and the runtime name each time, and repeat it for every Region and every AWS account the business uses.
- Write down where each function came fromOpen each function in the Lambda console, choose Configuration and then Tags. CloudFormation adds a tag called aws:cloudformation:stack-name to resources its stacks create, although AWS says how such tags reach each resource type varies; when it is there, it names the stack. A function named aws-controltower-NotificationForwarder comes from Control Tower. Do not delete functions you do not recognise.
- See which functions are actually usedThe Monitor tab of each function shows recent invocations for a date range you pick. Busy functions that handle customers or payments go to the top of the list.
- Make sure the right person gets the next noticeIn the console, choose the account name at the top right, then Account, and read the Contact information. AWS recommends a company email and phone number for business accounts rather than one person's.
When should I bring someone in?
- The list includes functions that take payments, send customer messages or run the main app.
- Some functions belong to a stack, a template or a service such as Control Tower, and nobody knows how to update them safely.
- Your functions run from container images or a custom runtime, so AWS will not warn you about them.
How do I handle it?
- Build the full list across Regions and accountsI combine the Health notice, Trusted Advisor where your plan has it and the CLI listing per Region, so published versions and quiet Regions are not missed.
- Trace each function to its ownerApp code, an infrastructure template, or an AWS service. Functions owned by a stack or a service are changed through that stack or service, so its definition and the running function match.
- Upgrade in a copy firstAWS warns that a new major version may not be backward compatible, so I change the runtime identifier in a test environment, bundle the SDK and libraries the code needs, and run the function against real-shaped events.
- Release with a way backProduction changes go out with Lambda versions and aliases, as AWS recommends, because once updates are blocked the function cannot return to the old runtime.
- Choose the target from the live tableAWS recommends moving from Amazon Linux 2 runtimes to Amazon Linux 2023 ones, and its supported table gives forecast dates that can change. Today it shows Node.js 22 deprecating on 30 May 2027, Node.js 24 on 30 April 2028 and Node.js 26 on 30 April 2029, and I explain that trade-off before picking.
The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.
What do owners ask about this?
Will my functions stop working on the deprecation date?
No. AWS says functions on a deprecated runtime can still be invoked indefinitely. They lose security patches and support, and AWS warns that issues such as an expired certificate can make them stop working properly.
Can I leave it until 2027?
They will run, but AWS may no longer patch them. After 31 August 2027 for the runtimes named above, the function's code and settings cannot be updated, so even a small fix would first need the move to a supported runtime.
Is the email genuine?
AWS sends these notices by email and shows them in the Health Dashboard. Sign in yourself and look under Other notifications; if the notice is there with the same functions, it is real. Health notices expire 90 days after the deprecation date, so for an older runtime check the functions' runtime in the Lambda console instead.
What if one of the functions was made by AWS, not by my developer?
It still needs moving, but I would do it through whatever created it: the stack, the template or the AWS service. That keeps the template and the live function in step instead of letting them disagree.
Sources
- AWS Lambda: Runtime deprecation
- AWS Lambda: Lambda runtimes (supported runtimes table)
- AWS Support: Trusted Advisor check reference
- AWS Support: Trusted Advisor security checks
- AWS Control Tower: Resources created in the service integration accounts
- AWS Lambda: Using tags on Lambda functions
- AWS CloudFormation: Resource tagging
- AWS Account Management: Update the primary contact
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. Found a mistake? Tell me.
For your developer: the technical fixes
Warning: found unsupported runtime 'nodejs18.x' for functionServerless Framework warns that a Node.js runtime is unsupported or deprecatedError: Cannot find module 'aws-sdk'Lambda function fails because the aws-sdk package is missing/lib64/libc.so.6: version `GLIBC_2.28' not foundA Python Lambda cannot load cryptography because glibc is too old
Related help
- I need to give a freelancer access to my server and I am worriedIt can be safe if you give the freelancer their own named access with only the permissions the job needs, never your own login or root credentials, and you remove it when the work ends.
- Someone is using my AWS account and running up chargesUnknown servers or a charge in a Region you never use usually mean someone has your access keys or password.
- My AWS bill shows RDS Extended Support charges that nobody signed up forYou are charged because the database runs a MySQL or PostgreSQL major version past its RDS end of standard support date, and AWS enrols such databases in Extended Support unless it was switched off.
- The person who set up our cloud account has left and nobody has the main loginOn AWS the owner of the account is the root user, tied to the email address used at sign-up.