AWS Lab

C# on AWS Lambda

We deploy the real environment, you take the scenario-based labs on us. Hands-on, from anywhere, at any time.

Time required: 3 Hours

Scope

In this lab, we will build a microservice in AWS Lambda, using the .NET Core and C#. Specifically, you will create a .NET Core application; program it to answer an HTTP request with a HTTP response; author a CloudFormation template to deploy a Lambda function; package your code and send it to an S3 bucket; and deploy the Lambda function with your packaged code.

Suggested Pre Requisites

You will need to have access to a terminal. Please install the following before beginning this lab:

  • AWS CLI: http://docs.aws.amazon.com/cli/latest/userguide/installing.html
  • Dotnet CLI: https://www.microsoft.com/net/download/core

Objectives

The objective of this live lab is to provide you with hands-on experience writing C# on AWS Lambda.

Overview

This lab will provide you with hands-on experience writing C# on AWS Lambda by building a microservice in AWS Lambda, using the .NET Core and C#. 

Specifically, you will create a .NET Core application; program it to answer an HTTP request with a HTTP response; author a CloudFormation template to deploy a Lambda function; package your code and send it to an S3 bucket; and deploy the Lambda function with your packaged code.

Scenarios

In this session, we:
* Set up the AWS CLI with our credentials
* Scaffold our .NET Core app
* Code in C#
* Declare our infrastructure with a CloudFormation template
* Package and deploy

Share our Labs
Start Your Free Trial

We have the longest and most in depth courses about cloud and engineering topics on the web. All of our training content is included with every membership.