Book Image

Hands-On Serverless Computing

By : Kuldeep Chowhan
Book Image

Hands-On Serverless Computing

By: Kuldeep Chowhan

Overview of this book

Serverless applications and architectures are gaining momentum and are increasingly being used by companies of all sizes. Serverless software takes care of many problems that developers face when running systems and servers, such as fault tolerance, centralized logging, horizontal scalability, and deployments. You will learn how to harness serverless technology to rapidly reduce production time and minimize your costs, while still having the freedom to customize your code, without hindering functionality. Upon finishing the book, you will have the knowledge and resources to build your own serverless application hosted in AWS, Microsoft Azure, or Google Cloud Platform, and will have experienced the benefits of event-driven technology for yourself. This hands-on guide dives into the basis of serverless architectures and how to build them using Node.js as a programming language, Visual Studio Code for code editing, and Postman for quickly and securely developing applications without the hassle of configuring and maintaining infrastructure on three public cloud platforms.
Table of Contents (16 chapters)

Your First Serverless Application on AWS

In this chapter, we will learn about how to write serverless applications to run on AWS using Node.js, the AWS Serverless Application Model (SAM), how to deploy a serverless application to AWS using the AWS SAM, how to test a serverless application, and how to trigger a serverless application using Amazon API Gateway (HTTP event trigger).

There are multiple ways to create serverless apps on the AWS platform. This chapter covers two of those methods:

  • Firstly, we will look into how we can create an AWS Lambda function through the AWS Console, and then test it through the Console.
  • Secondly, we will look into how we can create an AWS Lambda function through Visual Studio Code, deploy it using the AWS SAM, integrate it with API Gateway, and test it by making HTTP calls to the Amazon API Gateway endpoint.
...