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)

Azure Event Grid

Azure Event Grid is an Azure service that sends HTTP requests as notifications, which contain events that happen in the publisher. In this case, this is an Azure service. Azure Event Grid allows you to choose the Azure service or resource that you want to be notified about, and you will need to provide a Webhook endpoint or some sort of event handler to notify you of the event that happened in the service you wanted to be notified about.

You can learn more about Event Grid at https://docs.microsoft.com/en-us/azure/event-grid/overview.

Event Grid only support triggers with Azure Functions. It doesn't support input or output bindings with Azure Functions.

A sample function.json binding file for Event Grid trigger will look like this. If you look at the content of the file, it has the type set as eventGridTrigger, along with the name of the Event Grid that is...