O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

AWS Lambda Quick Start Guide

Book Description

Discover techniques and tools for building serverless applications with AWS Lambda

About This Book
  • Learn to write, run, and deploy Lambda functions in the AWS cloud
  • Make the most of AWS Lambda functions to build scalable and cost-efficient systems
  • A practical guide to developing serverless services and applications in Node.js, Java, Python, and C#
Who This Book Is For

This book is primarily for IT architects and developers who want to build scalable systems and deploy serverless applications with AWS Lambda. No prior knowledge of AWS is necessary.

What You Will Learn
  • Understand the fundamental concepts of AWS Lambda
  • Get to grips with the Serverless Framework and how to create a serverless project
  • Testing and debugging Lambda functions
  • Create a stateful, serverless backend with DynamoDB
  • Program AWS Lambda with Java, Python, and C#
  • Program a lambda function with Node.js
In Detail

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#.

Style and approach

This book will provide clear instructions that introduce the viewer to programming AWS Lambda with Node.js, Java, Python, and C#. Moreover, readers will learn how to deploy and test Lambda functions, and how to set up and use the serverless framework.

Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Title Page
  2. Copyright and Credits
    1. AWS Lambda Quick Start Guide
  3. Packt Upsell
    1. Why subscribe?
    2. PacktPub.com
  4. Contributors
    1. About the author
    2. Packt is searching for authors like you
  5. Preface
    1. What this book covers
    2. What you need for this book
    3. Who this book is for
    4. To get the most out of this book
      1. Download the example code files
      2. Download the color images
      3. Conventions used
    5. Get in touch
      1. Reviews
    6. Bibliography
  6. Getting Started with AWS
    1. Installation and setup guide
      1. Installing the Serverless framework
    2. Introduction to AWS
      1. Cloud service pricing
        1. Pricing example
    3. AWS Management Console
      1. Regions
    4. AWS Lambda
    5. AWS API Gateway
    6. Summary
  7. Exploring the Serverless Framework
    1. The Serverless framework
    2. Creating a serverless project
    3. Programming a Lambda function with Node.js
    4. Testing and debugging Lambda functions
      1. Testing the API using Postman
      2. Testing and debugging via the AWS Management Console
    5. Summary
  8. Building a Serverless Application
    1. Building a stateless serverless web application backend
      1. Changing the file structure
      2. Creating more functions
    2. Creating a stateful serverless backend with DynamoDB
    3. Creating a web client
    4. Deploying a serverless frontend on CloudFront
    5. Summary
  9. Programming AWS Lambda with Java
    1. Deploying and Testing AWS Lambda Functions
    2. Lambda Function with S3 Event Input
      1. Creating a Simple Serverless Java Project
    3. Summary
  10. Programming AWS Lambda with Python
    1. Creating a python lambda function
    2. Using the Serverless Framework with Python
    3. Building a Serverless backend with Python
    4. Summary
  11. Programming AWS Lambda with C#
    1. Creating C# Lambda functions with .NETCore
      1. Creating an AWS Lambda project
    2. Creating C# Serverless Project with .NET Core
    3. Summary
  12. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think