Part 2 - Deploy to Lambda

Follow the steps below to deploy the ASP.NET Core Web API application to 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, Under the Stack Name enter a stackname such as WebAPIChallenge-yourName

3. Then, click the New… under S3 Bucket and create a new bucket with a unique name like webapichallenge-yourName-yyyymmddd

4. Click Publish

5. Now wait for the lambda function to deploy, once it has finished the status should be CREATE_COMPLETE