Part 2 – Deploy to AWS Lambda

Follow the steps below to deploy the ASP.NET Core Web application to AWS Lambda.

1. Right-click your project in Solution Explorer, and select Publish to AWS Lambda to launch the publishing wizard. See the figure below.

2. Ensure the Account profile to use drop-down and Region drop-down are set to the profile and region you are using for today’s labs.

2.1. For the CloudFormation Stack type WebApp-Stack-Userid.

2.2. Click on New button for creating a new S3 bucket and named it as WebApp-S3-Userid.

2.3. Click Publish and wait for the process to finish.

3. When the STATUS changes to CREATE_COMPLETE copy the AWS Serverless URL as you can see in the picture below.

4. Paste the URL copied on the previous step on a browser to see the following result: