Book Image

Serverless Integration Design Patterns with Azure

By : Abhishek Kumar, Srinivasa Mahendrakar
Book Image

Serverless Integration Design Patterns with Azure

By: Abhishek Kumar, Srinivasa Mahendrakar

Overview of this book

With more enterprises adapting cloud-based and API-based solutions, application integration has become more relevant and significant than ever before. Parallelly, Serverless Integration has gained popularity, as it helps agile organizations to build integration solutions quickly without having to worry about infrastructure costs. With Microsoft Azure’s serverless offerings, such as Logic Apps, Azure Functions, API Management, Azure Event Grid and Service Bus, organizations can build powerful, secure, and scalable integration solutions with ease. The primary objective of this book is to help you to understand various serverless offerings included within Azure Integration Services, taking you through the basics and industry practices and patterns. This book starts by explaining the concepts of services such as Azure Functions, Logic Apps, and Service Bus with hands-on examples and use cases. After getting to grips with the basics, you will be introduced to API Management and building B2B solutions using Logic Apps Enterprise Integration Pack. This book will help readers to understand building hybrid integration solutions and touches upon Microsoft Cognitive Services and leveraging them in modern integration solutions. Industry practices and patterns are brought to light at appropriate opportunities while explaining various concepts.
Table of Contents (15 chapters)

What this book covers

Chapter 1, Serverless Integration with Microsoft Azure, provides an overview of Azure Integration Services and what this means for organizations in terms of their digital transformation roadmap. This chapter introduces serverless platforms and outlines the key advantages and benefits for organization moving their enterprise IT workload's into the cloud. We have also given brief introduction to Integration services, such as Logic Apps, API Management, Service Bus, Event Grid, and Azure Functions.

Chapter 2, Azure Functions and Enterprise Integration, looks at Azure Functions. They are the linchpin in Azure's serverless offerings. With a range of triggers and bindings available, developers will see how quick and easy it is to spin up Azure Functions for given problems or APIs. Microsoft has made it possible for users to either use the Azure portal, Visual Studio, or Visual Studio Code for development.

Chapter 3, Introduction to Azure Event Grid, closely examines the capabilities of Azure Event Grid and considers how we can utilize Event Grid features in a modern integration framework. We cover multiple routing options with Event Grid and experiment with a few sample exercises for Event Grid topics and domains.

Chapter 4, Azure API Management, looks at how Azure API Management fits into the overall enterprise application landscape and can help to secure APIs and Logic Apps.

Chapter 5, Azure Service Bus with Integration Services, introduces Azure Service Bus and explains how we can use code, along with Logic Apps and Azure Functions bindings, to create an integration layer in Microsoft Azure. We also cover some design patterns, focusing on parameters and priority queues.

Chapter 6, Introduction to Logic Apps, introduces Logic Apps and demonstrates applications of the different types of triggers and actions that are available through the designer and code views. You'll learn how to implement some complex design patterns with Logic Apps and associated software and services. This chapter has also highlights aspects of the Cosmos graph database.

Chapter 7, Control Flow Actions and Custom Connectors, discusses the different control flow actions available in Logic Apps to create robust workflows to connect disparate systems. You'll learn how to write with the Logic Apps expression language, using Logic Apps designer and with code editor. Finally, we discuss how you can leverage your existing API as a custom connector in Logic Apps, and how to build your own custom connector for Logic Apps.

Chapter 8, Patterns with Azure Integration Services, covers how you can perform exception handling in Logic Apps, along with multiple design patterns such as sequential message flow, webhooks for event-based architecture patterns, and simple batching with Logic Apps.

Chapter 9, B2B/EDI Solutions for Enterprise Integration with Azure Logic Apps, explains how creating B2B flows is easy when using Logic Apps and an integration account. In the world of Microsoft integration, customers are slowly but steadily moving from BizTalk-based on-premises integrations to Logic Apps-based integrations. EDI/AS2-based integrations are moving fastest to the cloud out of all integrations out there.

Chapter 10, Hybrid Integration Using BizTalk Server 2016 and an On-Premises Data Gateway, explores the capabilities of Logic Apps and how they can be applied to typical hybrid integration scenarios using Logic Apps adapters. Logic Apps provide connectivity to on-premises applications. We have shown how we can connect on-premises BizTalk and a wide variety of services, such as SQL and WCF services, hosted within corporate networks with no access to the cloud.

Chapter 11, Intelligence in Integration Using Azure Cognitive Services, explains terminology related to artificial intelligence, machine learning, and neural networks. We look at Microsoft and the democratization of AI, the Microsoft AI platform, and applications of AI in serverless integration. We also examine a case study on sentiment analysis.

Chapter 12, DevOps for Azure Integration, considers DevOps practices in Azure Integration. We list why DevOps processes are necessary for modern integration, along with how you can automate Azure Integration Services using a DevOps pipeline.

Chapter 13, Monitoring for Azure Integration, discusses enabling monitoring for Azure Integration Services. We walk through the process of enabling monitoring for Logic Apps, API Management, Azure Functions, and Service Bus. In this chapter, we also cover how you can use a third-party product, Serverless360, to effectively monitor the messaging layer for your entire enterprise.