.NET 7 native AOT with AWS SAM

preview_player
Показать описание
In this video you will learn how you can use .NET 7 on AWS Lambda using native Ahead of Time Compilation with the AWS Serverless Application Model.

AWS Lambda will not support .NET 7 as a managed runtime as it is not an long term support release. However, with NativeAOT compilation going GA this opens up the possibility of running .NET applications on Lambda using a custom runtime.

AWS SAM released support in version 1.64 to support compiling and deploying .NET applications using .NET 7 and native AOT. The released included templates to enable you to quickly get started.

00:00 - Introduction
00:35 - Getting started with sam init
01:45 - Template walk through
03:15 - SAM template changes
04:45 - Compiling with SAM build
06:00 - Viewing build logs
08:00 - Deploying with SAM deploy
08:40 - Native AOT Performance

Рекомендации по теме
Комментарии
Автор

Hey James! Fantastic tutorial. In your experience, what typically causes the following error? I basically followed every step verbatim.

Error: Failed to create managed resources: Waiter StackCreateComplete failed: Waiter encountered a terminal failure state: For expression "Stacks[].StackStatus" we matched expected path: "ROLLBACK_COMPLETE" at least once

fatoven