-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking .NET 8 Support #1611
Comments
Thanks for tracking this. Just to clarify, should we expect all Also, looking at the completed tasks, it seems a lot has already been done. How much work is remaining? |
Hi @petro2050 I avoided making a list of what needs to be done because that might imply it is a finite list and as we know with software as we go through things new things and ideas pop up. The long poll task is deploying the managed runtime which requires a lot of operational tasks to make sure everything is in place so it can be well monitored and supported. From the Amazon.Lambda.* perspective most everything has been verified for .NET 8. The outstanding libraries that still need to be verified is the ASP.NET Core bridge library |
@normj we appreciate that you are on top of this, as some IDE developers are significantly behind the eight ball on support. |
Updated descriptions with some info on getting started now without managed runtime. |
Thank you for the information and the updates, @normj! We are really looking forward to this and appreciate it! |
For projects currently deployed "as-is" on the AWS::Serverless::Function 6.x runtime should we be planning on adding the custom runtime or will 8 also be available without the additional container/image/build setup? Thanks! |
@jakenuts Using custom runtimes is a way to use .NET 8 in Lambda today. Eventually we will be releasing a new managed runtime for .NET 8. That means your |
@normj & @jakenuts - with .net 7.0 we found that building One guesses that will continue work for .net 8.0 again with Albeit we're keen to try with the new al 2023 image as we'd otherwise get a very bizarre runtime issue with deploying a container build on .Net 7.0 on the older al2 image. Fingers crossed this is resolved as @normj was unable to reproduce it. To us the big value add of this is new runtime is support for Arm64 (with AoT) lambdas and the lower cost! |
Does it mean that we can do Native AOT builds for .NET8 managed runtime (with PublishAot=true)? |
@Illivion you can indeed, to reshare Norm's update from the description I have a video on YouTube :) |
@jeastham1993 it looks like that video is using a custom runtime. To clarify - will it be possible to use Native AOT with the managed runtime once it's released, or will we still need to use a custom runtime for that? |
@DillonN-build yep, you will run be able to native AOT with the managed runtime. Native AOT compiled apps can run anywhere, and once the managed runtime is out we will release some guidance for using both custom runtimes and managed runtimes. With the .NET 6 managed runtime, you can already use an executable assembly, and this is how native AOT works. We are just working out the finder details but as I said, on release we will provide guidance on how to do that. |
@jeastham1993 Any indication James as to when this feature will be supported and the managed runtime will be GA? |
@alexander-manley We are working hard on getting the .NET 8 managed runtime out but we can't give an ETA. There is a lot of coordination across many teams with competing priorities so things are very fluid. |
https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-future This page says the indicative target launch is January 2024. |
If anyone is interested, please try the preview version of the .NET 8 OCI image from ECR and let us know any feedback you have. Thanks! https://gallery.ecr.aws/lambda/dotnet
|
The company I work for has a use case that requires being able to install java (java-17-amazon-corretto-headless and a few other supporting packages) into the runtime image. In .NET 7, they used yum to accomplish this. Is there a way to support this use case in the new .net 8 images which don't appear to have yum in them any more? |
@farmergreg yum has been replaced with the lighter weight microdnf in the runtime image. I just tested and the command |
@nibblesnbits Keep an eye on this PR to be released in order to use SAM CLI with .NET 8: aws/aws-sam-cli#6429 |
Thank you @normj and team for all your hard work on this effort! |
When will the Amazon.CDK.Lib (v2.128.0) be updated? The |
@DennisJansenDev |
Aaah perfect! Thank you very much! 😁 |
As people have seen .NET 8 is starting to show up. We are not announcing it "released" yet because it takes awhile to get out all of the pieces connected to Lambda runtime. |
@DennisJansenDev and @Dreamescaper The latest CDK release v2.129.0 now includes dotnet8. Please give it a shot! |
@Beau-Gosse-dev, @normj well done :-) |
Fantastic news! Well done @normj @Beau-Gosse-dev and everyone involved! |
Release is done! Thanks you all for your patience and looking forward to hearing what you all build with the new .NET 8 Lambda runtime. https://aws.amazon.com/blogs/compute/introducing-the-net-8-runtime-for-aws-lambda/ |
Congratulations @normj and everyone involved. This release will bring a lot of benefits and performance improvements. |
@normj you are my hero. |
Great work. We will be using it today!
Thanks
Grant Phillips
about.me/grantphillips
…On Fri, 23 Feb 2024 at 11:56 AM, Sean Kirk ***@***.***> wrote:
@normj <https://github.com/normj> you are my hero.
—
Reply to this email directly, view it on GitHub
<#1611 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUBHJRILC62VX3UOPCGZ2TYU7EKLAVCNFSM6AAAAAA7KO4GJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQGQ3TCOJSGQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Will this same GitHub issue track the .NET 8 managed runtime being released to AWS gov cloud? |
Why does |
Now that the managed runtime released along with all of the client tooling I'm closing the issue. For any issues or questions feel free to open a separate issue or discussion on the repository. @ckcks12 That is an awesome plot, thanks for sharing.
@ian-rebuild I know the Lambda team is rolling out the runtime to gov cloud but I don't have much visibility when that is happening so unfortunately this wouldn't be a good place to track it. |
Comments on closed issues are hard for our team to see. |
I've updated the Lambda Cold Starts benchmark by maxday with the dotnet8 runtime. The NativeAOT numbers are fantastic. |
Thanks for doing that @slang25 ❤️🎉 |
If anyone is planning to migrate a As a test, I migrated a small project with a stack: Lambda, DynamoDB, S3, SQS, and SNS (forwarding requests to a queue, writing to the database, processing, and notifying upon completion). The migration went relatively smoothly, but I noticed that not all AWS nugets support native AOT yet. Despite this, they can still be used, but they might throw an exception during execution. One of them is DynamoDB - which could be a blocker for many. While executing This can be fixed in the following, not elegant way: aws/aws-sdk-net#2542 (comment).
After this fix, I did not notice any other problems with |
@h4570 moving forward you should use the In the GH issue you've linked you'll see that Beau also mentions the move away from rd.xml. |
Any information on when this will be supported for the China region? |
Any update on govcloud regions? A previous post said this is probably not the right place to track it, but where is the correct place to track updates on govcloud? |
Any progress on packaging up WASM for DotNet Lambda? I opened a toolkit issue aws/aws-toolkit-visual-studio#414 but maybe this is a bigger issue with the DotNet 8 managed runtime? This is to support the "Blazor United" DotNet 8 feature of providing both server side rendered components and WebAssembly components in the same publish. |
Update 2/22/2024
The .NET 8 Lambda runtime has been released.
https://aws.amazon.com/blogs/compute/introducing-the-net-8-runtime-for-aws-lambda/
Completed Tasks
public.ecr.aws/lambda/dotnet:8
--container-image-for-build
switch. Amazon.Lambda.Tools will automatically use container builds when building for Native AOT to use matching Amazon Linux 2023 build environment.dotnet8
has been released.The text was updated successfully, but these errors were encountered: