Azure Relay and linked service

Anshal 2,251 Reputation points
2024-03-12T05:58:54.7+00:00

Hi friends, I am confused about my understanding of Azure Relay. What is the difference between linked services which also connect with on-prem and so how Azure relay is different? I read Microsoft documentation it also does not explain.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,373 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA 90,641 Reputation points Moderator
    2024-03-12T06:34:50.3166667+00:00

    @Anshal - Thanks for the question and using MS Q&A platform.

    Azure Relay and Linked Services are both used to connect cloud services with on-premises resources, but they work in different ways.

    Linked Services is a feature of Azure Data Factory that allows you to create a connection between an Azure service and an external data source, such as an on-premises database. Linked Services uses a gateway to establish a secure connection between the cloud and on-premises resources. Once the connection is established, you can use Azure Data Factory to move data between the cloud and on-premises resources.

    What is Azure Data Factory?

    Azure Relay, on the other hand, is a service that allows 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:

    • Traditional one-way, request/response, and peer-to-peer communication
    • Event distribution at internet-scope to enable publish/subscribe scenarios
    • Bi-directional and unbuffered socket communication across network boundaries

    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.

    Hybrid connections - Azure App Service | Microsoft Learn

    In summary, Linked Services is used to move data between the cloud and on-premises resources, while Azure Relay is used to securely expose on-premises services to the public cloud.

    For more details, refer to What is Azure Relay? and Linked services in Azure Data Factory and Azure Synapse Analytics.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.