Directly Connected Mode v. Indirectly Connected Mode for Azure Arc-enabled Data Services

Published Apr 28 2022 12:12 PM 904 Views
Microsoft

Azure Arc-enabled Data Services offers two different connectivity modes to customers – directly connected mode and indirectly connected mode. Today we will explore what each of these modes are, the capabilities they open up and which scenarios are best fit for each mode.  

 

At a high level, the goal of the different connectivity modes is to provide customers with the option to run data services for their specific scenario. We are providing customers with the ability to be able to run data services in environments that may not have connectivity due to compliance requirements or environmental limitations. In this blog, we discuss how you can use the essential features in both modes without disruption.

 

Directly Connected Mode 

 

Directly Connected Mode is best fit for customers who want to be connected to Azure at all times which allows them to consume Azure services on-premises outside of Azure like:

  • Azure Monitor
  • Access features like evergreen SQL
  • Usage and monitoring

Typical use cases for directly connected mode:

  • Organizations who use public clouds like Azure, AWS or Google Cloud
  • Edge locations which normally have Internet connectivity
  • Some examples of this can be seen with retail and manufacturing
  • Corporate data centers are also a good fit for directly connected mode as they have more permissive policies for connectivity

Customers can configure a directly connected mode data controller in three ways:

  • az CLI
  • Azure Portal
  • Azure Data Studio

This mode uses Azure Resource Manager API’s to operate Azure Arc data services.

 

Indirectly Connected Mode

 

Indirectly connected mode is a good option for customers who can not be connected to Azure at all times for reasons like:

  • Internet connectivity constraints
  • Regulatory, security or compliance reasons

In this scenario, customers can access core management services in their local environment without having a direct connection to Azure and still access all the built-in capabilities of Arc enabled Data Services such as built in HA, built in DR, built in backups, build in monitoring, built in logging, etc.

 

Typical use cases for indirectly connected mode:

  • On-premises data centers that do not allow connectivity in the data region due to governmental and compliance regulations
  • Edge locations with minimal or no Internet connectivity
  • Locations with frequent power outages

Customers can configure a indirectly connected mode data controller in two ways:

  • az CLI
  • Azure Data Studio

Management Capabilities for Both Connectivity Modes

 

Core Capabilities:

As can be seen in the diagram below, both indirectly connected mode and directly connected mode offer the core management capabilities to customers. Customers can take advantage of built in management capabilities like automatic HA/DR, self-service provisioning, elastic scale, authentication, etc.

 

In indirect mode, resources need to be created directly on the cluster, and manually projected into Azure using the az arcdata dc export command. All deployments and management are done locally using az CLI, kubectl and Azure Data Studio.

 

In the direct connected mode, the Arc resources such as Arc data controller, Arc SQL MI can also be created using Azure portal, in addition to using az CLI, kubectl and Azure Data Studio.

Upgrades:

Upgrades works exactly the same for both direct and indirect mode. For indirect mode upgrades, customers can use the az CLI, Kubernetes native tools and Azure Data Studio. For direct mode, in addition to using the kubectl, az CLI and Azure Data Studio, you can also use the Azure Portal for upgrading your Azure Arc data controller and Azure Arc SQL Managed Instance.

 

Billing and Monitoring:

Usage information needs to be uploaded to Azure for billing purposes at least once every 30 days. In indirect mode, this is a manual two step process requiring you to (1) export the usage to a json file and (2) uploading this usage file to Azure using az CLI commands. In direct mode, these  steps are automatically performed by a built-in backend service.

 

Optionally, Monitoring metrics and logs can also be uploaded to Azure, in both direct and indirect modes. In the indirect mode, this can be done manually by running az arcdata dc export command followed by an az arcdata dc upload command, for both metrics and logs. In the direct mode, this can be automated by configuring automatic uploads of metrics and/or logs. This automatic upload can either be set during the Azure Arc data controller deployment, or by updating the Arc data controller post deployment.

  

ntakru_0-1651075403332.png

 

The choice of connectivity mode is intentional and should be made prior to the deployment and this setting cannot be changed post deployment. We encourage customers to use the connectivity mode that best supports their use case. Data Services provides customers with the choice to use both modes for their specific needs. In both direct and indirect mode, the core SQL functionality remains the same and the management features work differently. As a result, the Arc Data Services platform provides you with a broad range of options for now or in the future.

 

Get started with a directly connected mode deployment and indirectly connected mode deployment today.

 

Nikita Takru

Product Manager at Microsoft, Azure Data

 

%3CLINGO-SUB%20id%3D%22lingo-sub-3296657%22%20slang%3D%22en-US%22%3EDirectly%20Connected%20Mode%20v.%20Indirectly%20Connected%20Mode%20for%20Azure%20Arc-enabled%20Data%20Services%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3296657%22%20slang%3D%22en-US%22%3E%3CP%3EAzure%20Arc-enabled%20Data%20Services%20offers%20two%20different%20connectivity%20modes%20to%20customers%20%E2%80%93%20directly%20connected%20mode%20and%20indirectly%20connected%20mode.%20Today%20we%20will%20explore%20what%20each%20of%20these%20modes%20are%2C%20the%20capabilities%20they%20open%20up%20and%20which%20scenarios%20are%20best%20fit%20for%20each%20mode.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAt%20a%20high%20level%2C%20the%20goal%20of%20the%20different%20connectivity%20modes%20is%20to%20provide%20customers%20with%20the%20option%20to%20run%20data%20services%20for%20their%20specific%20scenario.%20We%20are%20providing%20customers%20with%20the%20ability%20to%20be%20able%20to%20run%20data%20services%20in%20environments%20that%20may%20not%20have%20connectivity%20due%20to%20compliance%20requirements%20or%20environmental%20limitations.%20In%20this%20blog%2C%20we%20discuss%20how%20you%20can%20use%20the%20essential%20features%20in%20both%20modes%20without%20disruption.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-395666492%22%20id%3D%22toc-hId-416786295%22%3EDirectly%20Connected%20Mode%26nbsp%3B%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDirectly%20Connected%20Mode%20is%20best%20fit%20for%20customers%20who%20want%20to%20be%20connected%20to%20Azure%20at%20all%20times%20which%20allows%20them%20to%20consume%20Azure%20services%20on-premises%20outside%20of%20Azure%20like%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAzure%20Monitor%3C%2FLI%3E%0A%3CLI%3EAccess%20features%20like%20evergreen%20SQL%3C%2FLI%3E%0A%3CLI%3EUsage%20and%20monitoring%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ETypical%20use%20cases%20for%20directly%20connected%20mode%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EOrganizations%20who%20use%20public%20clouds%20like%20Azure%2C%20AWS%20or%20Google%20Cloud%3C%2FLI%3E%0A%3CLI%3EEdge%20locations%20which%20normally%20have%20Internet%20connectivity%3C%2FLI%3E%0A%3CLI%3ESome%20examples%20of%20this%20can%20be%20seen%20with%20retail%20and%20manufacturing%3C%2FLI%3E%0A%3CLI%3ECorporate%20data%20centers%20are%20also%20a%20good%20fit%20for%20directly%20connected%20mode%20as%20they%20have%20more%20permissive%20policies%20for%20connectivity%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ECustomers%20can%20configure%20a%20directly%20connected%20mode%20data%20controller%20in%20three%20ways%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3Eaz%20CLI%3C%2FLI%3E%0A%3CLI%3EAzure%20Portal%3C%2FLI%3E%0A%3CLI%3EAzure%20Data%20Studio%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThis%20mode%20uses%20Azure%20Resource%20Manager%20API%E2%80%99s%20to%20operate%20Azure%20Arc%20data%20services.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1411787971%22%20id%3D%22toc-hId--1390668168%22%3EIndirectly%20Connected%20Mode%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIndirectly%20connected%20mode%20is%20a%20good%20option%20for%20customers%20who%20can%20not%20be%20connected%20to%20Azure%20at%20all%20times%20for%20reasons%20like%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EInternet%20connectivity%20constraints%3C%2FLI%3E%0A%3CLI%3ERegulatory%2C%20security%20or%20compliance%20reasons%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EIn%20this%20scenario%2C%20customers%20can%20access%20core%20management%20services%20in%20their%20local%20environment%20without%20having%20a%20direct%20connection%20to%20Azure%20and%20still%20access%20all%20the%20built-in%20capabilities%20of%20Arc%20enabled%20Data%20Services%20such%20as%20built%20in%20HA%2C%20built%20in%20DR%2C%20built%20in%20backups%2C%20build%20in%20monitoring%2C%20built%20in%20logging%2C%20etc.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETypical%20use%20cases%20for%20indirectly%20connected%20mode%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EOn-premises%20data%20centers%20that%20do%20not%20allow%20connectivity%20in%20the%20data%20region%20due%20to%20governmental%20and%20compliance%20regulations%3C%2FLI%3E%0A%3CLI%3EEdge%20locations%20with%20minimal%20or%20no%20Internet%20connectivity%3C%2FLI%3E%0A%3CLI%3ELocations%20with%20frequent%20power%20outages%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ECustomers%20can%20configure%20a%20indirectly%20connected%20mode%20data%20controller%20in%20two%20ways%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3Eaz%20CLI%3C%2FLI%3E%0A%3CLI%3EAzure%20Data%20Studio%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-1075724862%22%20id%3D%22toc-hId-1096844665%22%3EManagement%20Capabilities%20for%20Both%20Connectivity%20Modes%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECore%20Capabilities%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAs%20can%20be%20seen%20in%20the%20diagram%20below%2C%20both%20indirectly%20connected%20mode%20and%20directly%20connected%20mode%20offer%20the%20core%20management%20capabilities%20to%20customers.%20Customers%20can%20take%20advantage%20of%20built%20in%20management%20capabilities%20like%20automatic%20HA%2FDR%2C%20self-service%20provisioning%2C%20elastic%20scale%2C%20authentication%2C%20etc.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20indirect%20mode%2C%20resources%20need%20to%20be%20created%20directly%20on%20the%20cluster%2C%20and%20manually%20projected%20into%20Azure%20using%20the%20%3CEM%3Eaz%20arcdata%20dc%20export%3C%2FEM%3E%20command.%26nbsp%3BAll%20deployments%20and%20management%20are%20done%20locally%20using%20az%20CLI%2C%20kubectl%20and%20Azure%20Data%20Studio.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20direct%20connected%20mode%2C%20the%20Arc%20resources%20such%20as%20Arc%20data%20controller%2C%20Arc%20SQL%20MI%20can%20also%20be%20created%20using%20Azure%20portal%2C%20in%20addition%20to%20using%20az%20CLI%2C%20kubectl%20and%20Azure%20Data%20Studio.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EUpgrades%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EUpgrades%20works%20exactly%20the%20same%20for%20both%20direct%20and%20indirect%20mode.%20For%20indirect%20mode%20upgrades%2C%20customers%20can%20use%20the%20az%20CLI%2C%20Kubernetes%20native%20tools%20and%20Azure%20Data%20Studio.%20For%20direct%20mode%2C%20in%20addition%20to%20using%20the%20kubectl%2C%20az%20CLI%20and%20Azure%20Data%20Studio%2C%20you%20can%20also%20use%20the%20Azure%20Portal%20for%20upgrading%20your%20Azure%20Arc%20data%20controller%20and%20Azure%20Arc%20SQL%20Managed%20Instance.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EBilling%20and%20Monitoring%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EUsage%20information%20needs%20to%20be%20uploaded%20to%20Azure%20for%20billing%20purposes%20at%20least%20once%20every%2030%20days.%20In%20indirect%20mode%2C%20this%20is%20a%20manual%20two%20step%20process%20requiring%20you%20to%20(1)%20export%20the%20usage%20to%20a%20json%20file%20and%20(2)%20uploading%20this%20usage%20file%20to%20Azure%20using%20az%20CLI%20commands.%20In%20direct%20mode%2C%20these%20%26nbsp%3Bsteps%20are%20automatically%20performed%20by%20a%20built-in%20backend%20service.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOptionally%2C%20Monitoring%20metrics%20and%20logs%20can%20also%20be%20uploaded%20to%20Azure%2C%20in%20both%20direct%20and%20indirect%20modes.%20In%20the%20indirect%20mode%2C%20this%20can%20be%20done%20manually%20by%20running%20%3CEM%3Eaz%20arcdata%20dc%20export%3C%2FEM%3E%20command%20followed%20by%20an%20%3CEM%3Eaz%20arcdata%20dc%20upload%3C%2FEM%3E%20command%2C%20for%20both%20metrics%20and%20logs.%20In%20the%20direct%20mode%2C%20this%20can%20be%20automated%20by%20configuring%20automatic%20uploads%20of%20metrics%20and%2For%20logs.%20This%20automatic%20upload%20can%20either%20be%20set%20during%20the%20Azure%20Arc%20data%20controller%20deployment%2C%20or%20by%20updating%20the%20Arc%20data%20controller%20post%20deployment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ntakru_0-1651075403332.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367360i4EC7963C32EC54D2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ntakru_0-1651075403332.png%22%20alt%3D%22ntakru_0-1651075403332.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20choice%20of%20connectivity%20mode%20is%20intentional%20and%20should%20be%20made%20prior%20to%20the%20deployment%20and%20this%20setting%20cannot%20be%20changed%20post%20deployment.%20We%20encourage%20customers%20to%20use%20the%20connectivity%20mode%20that%20best%20supports%20their%20use%20case.%20Data%20Services%20provides%20customers%20with%20the%20choice%20to%20use%20both%20modes%20for%20their%20specific%20needs.%20In%20both%20direct%20and%20indirect%20mode%2C%20the%20core%20SQL%20functionality%20remains%20the%20same%20and%20the%20management%20features%20work%20differently.%20As%20a%20result%2C%20the%20Arc%20Data%20Services%20platform%20provides%20you%20with%20a%20broad%20range%20of%20options%20for%20now%20or%20in%20the%20future.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGet%20started%20with%20a%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-arc%2Fdata%2Fcreate-complete-managed-instance-directly-connected%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Edirectly%20connected%20mode%20deployment%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-arc%2Fdata%2Fcreate-complete-managed-instance-indirectly-connected%3Ftabs%3Dlinux%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eindirectly%20connected%20mode%20deployment%26nbsp%3B%3C%2FA%3Etoday.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENikita%20Takru%3C%2FP%3E%0A%3CP%3EProduct%20Manager%20at%20Microsoft%2C%20Azure%20Data%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-3296657%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22font-weight%3A%20400%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22connectivitymode.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367359i4B2C60818F344C96%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22connectivitymode.png%22%20alt%3D%22connectivitymode.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAzure%20Arc-enabled%20Data%20Services%20offers%20two%20different%20connectivity%20modes%20to%20customers%20%E2%80%93%20directly%20connected%20mode%20and%20indirectly%20connected%20mode.%26nbsp%3B%3C%2FSPAN%3EIn%20this%20article%2C%20we%20will%20explore%20what%20each%20of%20these%20modes%20are%2C%20the%20capabilities%20they%20open%20up%20and%20which%20scenarios%20are%20best%20fit%20for%20each%20mode.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22font-weight%3A%20400%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22font-weight%3A%20400%3B%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3296657%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Arc%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EData%20services%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHybrid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EKubernetes%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMulticloud%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Apr 28 2022 06:57 PM
Updated by: