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)

Your first serverless application on Google Cloud Platform

Google Cloud is a set of software solutions from Google and its primary components are Google Cloud Platform (GCP) and G Suite. GCP is a suite of cloud computing services that deal with SaaS, PaaS, IaaS and Serverless computing. GSuite is a set of business applications including Gmail, Google Docs and Google Drive. In this recipe, we will build a simple serverless application on GCP. We will also look at the appropriate managed services in GCP for various serverless use cases.

Getting ready

Following are the prerequisites for this recipe:

  1. Node.js and npm installation can be verified with following commands:
node -v
npm -v
  1. You need to have a working account in the...