Book Image

AWS Lambda Quick Start Guide

By : Markus Klems
Book Image

AWS Lambda Quick Start Guide

By: Markus Klems

Overview of this book

AWS Lambda is a part of AWS that lets you run your code without provisioning or managing servers. This enables you to deploy applications and backend services that operate with no upfront cost. This book gets you up to speed on how to build scalable systems and deploy serverless applications with AWS Lambda. The book starts with the fundamental concepts of AWS Lambda, and then teaches you how to combine your applications with other AWS services, such as AmazonAPI Gateway and DynamoDB. This book will also give a quick walk through on how to use the Serverless Framework to build larger applications that can structure code or autogenerate boilerplate code that can be used to get started quickly for increased productivity. Toward the end of the book, you will learn how to write, run, and test Lambda functions using Node.js, Java, Python, and C#.
Table of Contents (8 chapters)

Creating C# Lambda functions with .NETCore

In this section, we are going to create a Lambda function using .NET Core. We are going to take a look at how to install the AWS Toolkit for Visual Studio. Then, we are going to try out some features of the AWS Toolkit and we'll use it to create our first C# Lambda function.

Firstly, we need to download the AWS Toolkit for Visual Studio, so download and execute the installer, and launch Visual Studio. After you have signed up for an AWS account, sign in to the AWS Management Console. Click on Services in the upper left-hand corner and select IAM, which will navigate you to the Identity and Access Management dashboard:

Now, we need to create a special user with permissions to access AWS services programmatically. This allows us to set up our local development environment in a way that IDEs' development frameworks can use AWS...