Тёмный

Run Any Web Applications on AWS Lambda 

James Eastham
Подписаться 3,7 тыс.
Просмотров 1,9 тыс.
50% 1

Hi, Im James. And in this video you're going to learn how you can take almost all of the web applications or API framework's out there and run them on AWS Lambda.
Im thrilled to announce my new course on the DomeTrain platform, getting Started With Microservices. Use the code MICRO20 for 20% off. dometrain.com/course/getting-...
The Lambda Web Adapter provides a mechanism for you to take your existing web apps, and as long as they startup on a local endpoint, run them within the context of Lambda.
It also gives you the ability to run the exact same application on both Lambda and Fargate.
Watch on to find out how monolithic Lambda functions can help improve your web applications on AWS.
00:00 - Introduction
02:00 - Revisit The Lambda Execution Model
03:30 - The Lambda Web Adapter
04:40 - Configure Lambda Web Adapter
08:20 - Benefits of this approach
09:30 - Configuration Options
10:30 - Using Container Images
11:35 - Web Adapter in Action
Links
Lambda Web Adapter - github.com/awslabs/aws-lambda...
Rust Sample from the Video - github.com/jeastham1993/rust-...
Microservices Course - dometrain.com/course/getting-...
Deploy ASP.NET to Lambda - • Deploy an ASP.NET Appl...
Run Java on Lambda - • Deploy a SpringBoot AP...
Web - jameseastham.co.uk
Twitter - / plantpowerjames
LinkedIn - / james-eastham

Наука

Опубликовано:

 

6 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@manrique.varela
@manrique.varela 6 месяцев назад
I typically use a single endpoint in our lambdas, but I really like this idea, and I might give it a try in the future. Also, thank you for the Microservices course!
@serverlessjames
@serverlessjames 6 месяцев назад
When you say single endpoint I assume you mean one route = one Lambda function? But yeah, definitely give it a try. Just be aware you might see slower cold starts, but run it under any kind of load and I can almost guarantee you'll see fewer cold starts. No problem on the course. I'd love to hear your feedback.
@stephenstrange6236
@stephenstrange6236 6 месяцев назад
Hey James, Another gem from you. keep doing this! Also, going to buy your course!
@serverlessjames
@serverlessjames 6 месяцев назад
Glad you're enjoying the content, thankyou 🫂♥️
@stephenstrange6236
@stephenstrange6236 6 месяцев назад
@@serverlessjames Were you get your arm-64 binary compiled on a x64 machine ? It never worked consistently for me. I had to finally use an arm-64 EC2 instances and that's not cost effective.
@serverlessjames
@serverlessjames 6 месяцев назад
@@stephenstrange6236 yeah it's a tricky one. I've had some success in the past using Docker buildx which allows you to cross compile. Most of the time though, I'll deploy from my machine using whatever architecture I have then setup my CICD pipeline to use the relevant processor architecture. Then in your IaC you just need environment variables to switch it.
@bo44arov
@bo44arov 6 месяцев назад
how about Minimal API from dotnet running in lambda acting as webAPI
@serverlessjames
@serverlessjames 6 месяцев назад
Yep, that would work. Equally you could use the Amazon.Lambda.AspNetCoreServer Nuget package to do it without Lambda Web Adapter. Both great options and a perfectly viable pattern for production workloads.
Далее
Should You Run An Entire Web Application in AWS Lambda?
13:19
This aws lambda issue was impossible to debug
13:08
Просмотров 26 тыс.
AWS Lambda Performance Tuning
54:13
Просмотров 107
Run any web app on Lambda | Serverless Office Hours
57:34
.NET 8 Is Now Available on AWS Lambda
7:10
Просмотров 1,7 тыс.
The Easiest Way to Create Serverless APIs in .NET
18:14
Acer Predator Тараканьи Бега!
1:00
Просмотров 155 тыс.