Book Image

Serverless Programming Cookbook

By : Heartin Kanikathottu
Book Image

Serverless Programming Cookbook

By: Heartin Kanikathottu

Overview of this book

Managing physical servers will be a thing of the past once you’re able to harness the power of serverless computing. If you’re already prepped with the basics of serverless computing, Serverless Programming Cookbook will help you take the next step ahead. This recipe-based guide provides solutions to problems you might face while building serverless applications. You'll begin by setting up Amazon Web Services (AWS), the primary cloud provider used for most recipes. The next set of recipes will cover various components to build a Serverless application including REST APIs, database, user management, authentication, web hosting, domain registration, DNS management, CDN, messaging, notifications and monitoring. The book also introduces you to the latest technology trends such as Data Streams, Machine Learning and NLP. You will also see patterns and practices for using various services in a real world application. Finally, to broaden your understanding of Serverless computing, you'll also cover getting started guides for other cloud providers such as Azure, Google Cloud Platform and IBM cloud. By the end of this book, you’ll have acquired the skills you need to build serverless applications efficiently using various cloud offerings.
Table of Contents (12 chapters)

Introduction

An application programming interface (API) is a set of methods that allow us to programmatically access a component. APIs can be built for different layers, such as the web (http/rest), database, and operating system layers, and so on. A representational state transfer (REST) API is an API that uses REST principles and HTTP protocol to build web APIs that can be programmatically consumed by clients over a network, such as the internet.

Amazon API Gateway is the primary service within AWS for building serverless, scalable, and secure REST APIs. It acts as a gateway between your application and the outside world. You only pay for the API calls and data that are transferred out, and you do not have to maintain a server. It also provides support for testing, authorization, API version management, deployment, and maintaining and monitoring your REST APIs.

Amazon API...