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 Function triggers and bindings

Azure Function trigger outlines on how an Azure Function should be invoked or triggered. In Azure, a function can only have one trigger. Triggers in Azure Function have data, and that is usually the payload that invokes the Azure Function.

Bindings for an Azure Function are both input and output. They are a declarative way of sending and receiving data from an Azure Function. Your Azure Function can have multiple input bindings and output bindings. Bindings for Azure Functions are optional.

With the help of triggers and bindings, you don't have to hardcode any data or details of what you are going to interact with in your Azure Functions. With input binding, your Azure Function will receive the input data in the form of function parameters. Once you have processed the data within your Azure Function, you can send the data back, using...