Site icon Rajeev Singh | Coder, Blogger, YouTuber

Integration Patterns and guide to Hybrid Connectivity using Microsoft iPaaS services

Integration plays a vital role in connecting applications, data, services, and devices within organizations. In today’s digital landscape, effective integration is essential for businesses seeking to stay competitive and drive growth.

Connections can run between on-premises, cloud, and edge systems.

Azure offers a wide range of integration tools and capabilities to facilitate seamless communication and data flow between different systems and applications. These services, including Logic Apps, Service Bus, Event Grid, Azure Function, Azure Relay, Hybrid connectors, and On-premises data gateway, provide powerful solutions for various integration scenarios in the Azure ecosystem.

In this blog, we have explored the fundamental concepts of integration patterns, highlighted the key services offered by Microsoft Azure for integration, and provided a comprehensive guide to hybrid connectivity.

What is System Integration?

System Integration refers to the process by which multiple individual subsystems or sub-components are combined into one all-encompassing larger system thereby allowing the subsystems to function together.

System integration connects the organization with third parties such as suppliers, customers, and shareholders. Each of which has their own unique interests in information generated by your company

What are the 3 types of system integration?

Given the zone of utilization and sort of utilization, integration administrations can be separated into three classifications: 

  1. Enterprise Application Integration (EAI)
  2. Data Integration (DI)
  3. Electronic Document Integration/Interchange (EDI)

What is an integration pattern?

Enterprise integration patterns (EIP) are a set of concepts and practices on how to best configure integrations between systems, applications, or data, often collectively referred to as enterprise application integration (EAI)

Enterprise Application Integration (EAI) 

Enterprise Application Integration is a help-based integration. It’s an interaction that speaks with various administrations, assembles information, and afterward continues with additional means dependent on wanted activity or a work process. The cycle can be set off with uncovered help. 

Data Integration (DI) 

Various information bases and administrations for the board announcing or any child of revealing. Get together information from all city benefits, amassing and changing them into focal spots for intuitive announcing.

 At the point when you need to merge your administrations into one main issue of access, you need information integration. For the most part, there are loads of various information sources (or data sets) and you need them in one spot of access, all merged. 

Electronic Document Integration/Interchange (EDI)

EDI (Electronic Document Integration/Interchange) is a central business to business situated interaction. Its capacities are for the paperless trade of reports and electronic regulations.

Integration Pattern category:

We can broadly divide these patterns in below 2 categories:

Network-Based Options

When we talk about a network-based solution, we have below options.

Point-to-site virtual private network (VPN): 

Site-to-site VPN:

Azure ExpressRoute: 

VNET Integration for Web / Mobile Apps

VNET with API Management

Non-Network Based Options

The Azure Relay service enables you to securely expose services that run in your corporate network to the public cloud. You can do so without opening a port on your firewall or making intrusive changes to your corporate network infrastructure.

The relay service supports the following scenarios between on-premises services and applications running in the cloud or in another on-premises environment.

Azure Relay differs from network-level integration technologies such as VPN. An Azure relay can be scoped to a single application endpoint on a single machine. The VPN technology is far more intrusive, as it relies on altering the network environment.

Relay – An Alternative Approach

Azure Relay has two features:

Why the Relay?

How does Relay Work?

Concepts:

Secured listener endpoint in the cloud.

Opened via an outbound connection from within the corporate network.

Clients send messages via the listener’s endpoint.

No changes to the corporate firewall or network are required.

As long as it allows outbound traffic on port 80/443.

WCF Relay – How It Works

WCF Relay – Constraints

Azure Relay Hybrid Connections

Azure Relay is one of the key capability pillars of the Azure Service Bus platform. The new Hybrid Connections capability of Relay is a secure, open-protocol evolution based on HTTP and WebSocket’s.

It supersedes the former, equally named BizTalk Services feature that was built on a proprietary protocol foundation. The integration of Hybrid Connections into Azure App Services will continue to function as-is.

Hybrid Connections enables bi-directional, request-response, and binary stream communication and simple datagram flow between two networked applications. Either or both parties can be behind NATs or firewalls.

Hybrid Connections – How It Works

Hybrid Connections requires a relay agent to be deployed where it can reach both the desired endpoint as well as to Azure. The relay agent, Hybrid Connection Manager (HCM), calls out to Azure Relay over port 443.

From the web app site, the App Service infrastructure also connects to Azure Relay on your application’s behalf. Through the joined connections, your app is able to access the desired endpoint. The connection uses TLS 1.2 for security and shared access signature (SAS) keys for authentication and authorization.

When your app makes a DNS request that matches a configured Hybrid Connection endpoint, the outbound TCP traffic will be redirected through the Hybrid Connection.

Benefits:

Azure Relay Hybrid Connections Constraints:

Things you cannot do with Hybrid Connections include:

Which Azure Relay to Use?

On-Premises Data Gateway

The on-premises data gateway acts as a bridge. It provides quick and secure data transfer between on-premises data, which is data that isn’t in the cloud, and several Microsoft cloud services. These services include Power BI, Power Apps, Power Automate, Azure Analysis Services, and Azure Logic Apps.

By using a gateway, organizations can keep databases and other data sources on their on-premises networks while securely using that on-premises data in cloud services.

On-Premises Data Gateway – How It Works

On-Premises Data Gateway – Constraints

Scenarios

Now, it’s time to investigate different scenarios, and when to use which Services.

Scenario 1: Azure Web/Mobile App to On-Prem

Primary Solution: Azure Relay Hybrid Connections

Scenario 1 (Alternatives): Azure Web/Mobile App to On-Prem

Scenario 2: IaaS Server (VM) to On-Prem

Primary Solution: Azure Relay Hybrid Connections

Scenario 2 (Alternative): IaaS Server to On-Prem

Scenario 3: SaaS Service to On-Prem

No-Brainer Solution: On-Prem Data Gateway

Scenario 3 (Alternatives): SaaS Service to On-Prem

Scenario 4: Business to Business

Primary Solution: On-Prem Data Gateway

Scenario 4 (Alternative): Business to Business

Use case summary:

Conclusion

In this document, we covered various integration patterns and solution options for both network-based and non-network-based solutions. We explored network-based solutions such as VPN, S2S connectivity, and ExpressRoute, as well as non-network-based solutions like Azure Relay, Hybrid Connections, and On-Premises Data Gateway.

We also discussed scenarios where each of these services can be leveraged to meet specific integration requirements.

By understanding these options and their use cases, you can make informed decisions when choosing the right solution for your integration needs.

References:

Exit mobile version