1

Recently AWS announced container support on lambda. i.e. Lambda function as a container image, where we can deploy a limited-sized containerized application to AWS lambda.

So I created containerized asp.net core razor pages web application and deployed that docker image to AWS lambda but I couldn't get it working.

My question is, can we even do that?

I know we can deploy console apps or web APIs according to this - AWS Post but I did not find anything on the internet about deploying a Website/Web application.

Pritom Sarkar
  • 2,154
  • 3
  • 11
  • 26
Dhiraj
  • 613
  • 6
  • 25

1 Answers1

1

Yes, you can deploy asp.net core web app in Lambda function. Check below blog post

Serverless ASP.NET Core 2.0 Applications

I tried for a sample application from Visual Studio 2017 and it is working good.

Pankaj Rawat
  • 4,037
  • 6
  • 41
  • 73
  • Thanks for the reply @Pankaj . Actually I am aware of this method but what I am looking for is hosting web app container inside lambda using recently announced AWS lambda - container support - https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/ – Dhiraj Sep 19 '21 at 02:46