.NetCore 3.1 Runtime deprecation policy for AWS Lambda project

0

Hi All,

May I know still got any method to use the. Netcore 3.1 runtime and update the lambda function, i have tried change the update runtime option to manual and use the dotnet: core3.1 ARN but still failed, it still shows me: -

Resource handler returned message: "The runtime parameter of dotnetcore3.1 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (dotnet6) while creating or updating functions. (Service: Lambda, Status Code: 400)

HQ_NG
asked 10 months ago1043 views
1 Answer
1

Hi,

AWS Lambda support for .NET Core 3.1 entered "Phase 1" of the deprecation policy on April 3rd, 2023.

Lambda no longer applies security patches or other updates to the runtime. You can no longer create functions that use the runtime, but you can continue to update existing functions. This includes updating the runtime, and rolling back to the previous runtime. Note that functions that use a deprecated runtime are no longer eligible for technical support.

Lambda is currently rolling out "Phase 2" since it's been 30 days since phase 1.

Phase 2 - you can no longer create or update functions that use the runtime. To update a function, you need to migrate it to a supported runtime. After you migrate the function to a supported runtime, you cannot rollback the function to the previous runtime. Phase 2 starts at least 30 days after the start of Phase 1.

See https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html, though the documentation update for phase 2 is still in-progress as well.

To continue using a managed .NET Lambda runtime, I recommend upgrading to .NET 6.

profile pictureAWS
EXPERT
answered 10 months ago
profile picture
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions