Book Image

Beginning Serverless Architectures with Microsoft Azure

By : Daniel Bass
Book Image

Beginning Serverless Architectures with Microsoft Azure

By: Daniel Bass

Overview of this book

Many businesses are rapidly adopting a microservices-first approach to development, driven by the availability of new commercial services like Azure Functions and AWS Lambda. In this book, we’ll show you how to quickly get up and running with your own serverless development on Microsoft Azure. We start by working through a single function, and work towards integration with other Azure services like App Insights and Cosmos DB to handle common user requirements like analytics and highly performant distributed storage. We finish up by providing you with the context you need to get started on a larger project of your own choosing, leaving you equipped with everything you need to migrate to a cloud-first serverless solution.
Table of Contents (5 chapters)

Architecting Serverless Solutions

Now that we have built an application backed by a serverless backend, we have a very basic serverless architecture.

These components can be triggered by a much greater variety of events than the HTTP requests that we used previously, from records being inserted into a SQL database, to the temperature dropping below a certain level. They allow you to wire together a massive variety of systems, executing simple code on the messages along the way, if required. Serverless can change the way you integrate systems together.

Azure Functions have a sister service, also serverless, that was made specifically for integrations between systems. The service is called Azure Logic Apps, and it has a fantastic selection of prebuilt adapters for all sorts of services, including non-Microsoft ones. You can create an Azure Logic App without opening Visual Studio...