Managed Instance link – connecting SQL Server to Azure reimagined

Published Nov 02 2021 07:53 AM 3,016 Views
Microsoft

Link feature for Managed Instance is a new feature reimagining the connection between SQL Server hosted anywhere and the fully managed PaaS service Azure SQL Managed Instance, providing unprecedented hybrid flexibility and database mobility. With an approach that uses near real-time data replication to Azure, you can offload workloads to read-only secondaries on Azure to take advantage of a fully managed database platform, performance, and scale. The link can be operated for as long as you need it – months and years at a time, empowering you to get all the modern benefits of Azure today without migrating to the cloud. On your modernization journey, when and if you are ready to migrate to the cloud, the link de-risks your migration experience allowing you to validate your workloads in Azure prior to migrating with a seamless and instant experience, and at your own pace. This article provides deeper insights into this new feature.

 

The link feature enables near real-time data replication from SQL Server to Azure SQL Managed Instance using the underlying technology of Distributed Availability Groups. This technology is part of the well-known and proven Always On availability groups technology stack. Think of it as extending SQL Server’s availability group to SQL Managed Instance in Azure in a safe and secure manner. Primary database on the SQL Server can be used for R/W access, whereas replicated database on Managed Instance can be used for R/O access. Changes to the primary database in SQL Server are transferred near real-time to the secondary Managed Instance in Azure.

 

The main scenario.png

Each link is database scoped, meaning that one link connects a single database. You can use multiple links to connect multiple databases. Through making the link database scoped, it is now possible to consolidate and deconsolidate your workloads in many-to-many relationships between SQL Server and Managed Instance. This allows you to replicate data from multiple SQL Servers to a single Managed Instance in Azure, or replicate from a single SQL Server to multiple Managed Instances to any of Azure’s 60+ regions worldwide. The latter empowers you to quickly bring your SQL Server workloads closer to your customers in any Azure region worldwide.

 

The feature has been released in a limited public preview for SQL Server 2019 with CU 13 and above, and SQL Server 2022 in private preview at this time. Scenarios supported at this time are scaling-out R/O workloads, and seamless and instant migration to Azure SQL Managed Instance.

 

 

Roadmap

 

Our future product development strategy will involve enabling SQL Server versions 2016-2019 to support scaling out R/O workloads, and seamless and instant migration to Azure. In addition to these, our aim is to also build bi-directional disaster recovery (DR) on Azure SQL Managed Instance exclusively for SQL Server 2022. This article will not address details of the DR scenario with SQL Server 2022 at this time, as this will be a subject of a separate article as we near the release of the new SQL Server.

 

Customer testimonials

 

Some of our early preview customers already had a chance to experience the link hands-on. County of Los Angeles Fire Department is an US government organization relying on a critical SQL Server database for handling all fire department operations serving all of Los Angeles County. An incident can be one of these: COVID-19, fire Incident, Emergency Medical Service involving 911, automobile accident incident, police rescue incident, and others.

 

County of Los Angeles Fire Department has a business need for near real-time reporting on the data operationally and historically – data trending via data warehouse. To achieve this, SQL Server 2019 on premises is used as the primary database storage, with replication of required data to SQL Managed Instance in Azure to offload all of reporting from the primary database. Express route is used to establish a secure network connectivity between on-premises network and Azure. Earlier, County of Los Angeles Fire Department has used an ETL process and a customized pipeline to replicate data from SQL Server to Managed Instance. This solution had its challenges - contention issues, updating 1900+ tables continuously with frequent schema changes, and a constant need to update the pipeline. In turn, operating the solution introduced significant maintenance costs.

 

All these problems were solved with the link feature for Managed Instance. With the new solution data replication is almost instantaneous, there no longer exists a need to customize the pipeline, manually update any processes, nor invest time to maintain the link -- it all works automatically out of the box. Identical copy of the database running on SQL Server on premises is being synchronized to Managed Instance in Azure. Even if the link is temporarily down, such is for example when performing a regular maintenance, or rebooting the SQL Server, as soon as the issue has been resolved, the link starts working automatically again continuing where it left off.

 

“The near real-time data replication in Azure SQL Managed Instance’s link feature provides the redundancy we need and an uninterruptible, consistent flow of data. I no longer have to stop my work to fix a broken data flow or make manual adjustments when a schema changes. I have the peace of mind that the data is safe, reliable, and secured in Azure.”Alan Choy, Senior Database Administrator, Los Angeles County Fire Department.

 

The modernization journey has allowed County of Los Angeles Fire Department to considerably reduce maintenance and operational cost with Managed Instance and the link feature. By choosing Managed Instance as a fully managed PaaS service in Azure with at least 99.99% uptime, operational costs were saved by offloading the server maintenance and infrastructure management to Microsoft. Choosing the link feature for Managed Instance has resulted in savings on maintaining data replication from on-premises SQL Server to Azure.

 

What can you do with Managed Instance link?

 

In this section we will discuss some of the scenarios how you can take advantage of link feature for managed instance. The main scenarios supported in our limited public preview release are:

 

(1) Scaling out R/O workloads to Azure

  • Scaling out to, or bursting to Azure for R/O workloads
  • Offloading operation management of on-premises instance

 

(2) Seamless and instant database migration to Azure

  • Minimum downtime migrations
  • Consolidation of workloads in the cloud

 

Scaling out R/O workloads to Azure

 

Replicated databases from SQL Server on Managed Instance are available for R/O access. This allows for scaling out to, or bursting to Azure for R/O workloads, while remaining to run on SQL Server as the primary database. Your application can use the primary SQL Server database for R/W access, while offloading the R/O workload to secondary Managed Instance. In the example below, SQL Server database is replicated using link feature to Managed Instance (1). Application hosted anywhere takes advantage of this scenario by offloading R/O workload to Managed Instance (2).

 

App RO.png

 

Expanding on this, it is also possible to use the link for geo-replication and take advantage of being able to quickly expand R/O capacity to multiple Managed Instances to any of Azure’s 60+ regions worldwide. In this scenario, it is possible to replicate databases from a single SQL Server to Managed Instances located in different regions using multiple links. In the example below we show two databases from a single SQL Server geo-replicated to Azure’s US and Europe regions bringing workloads closer to your customers in different geographical regions.

 

Geo-replication.png

 

Replicated SQL Server data can also be used with a vast number of Azure services, such is for example offloading reporting, analytics, Machine Learning, and others without migrating to Azure.

 

Offload reporting.png

 

Seamless and instant database migration to Azure

 

Our migration strategy is not to leave ANY SQL database behind. While DMS and LRS services offer migration path for any SQL version 2008 and up, the link feature for managed instance provides an optimized experience for Azure-enabled SQL versions starting from SQL Server 2016 and up.

 

The link could be operated as long as you need it, for months and years at a time. On your modernization journey, when and if you are ready to migrate to Azure, the link enables a seamless and instant migration experience to Managed Instance, at your own pace. The link provides a considerably more performant minimum downtime experience, which might especially benefit critical production workloads with little to no downtime tolerance. As replicated primary SQL Server database is accessible on secondary Managed Instance, it is now possible to test that all your data is up to date, perform schema and integrity checks prior to deciding to cutover to Azure. These options are providing new choices and considerably minimize risk of migrating SQL Server workloads to Azure.

 

The migration using link feature for Managed Instance is orchestrated at your own pace with the following steps:

 

  1. Replicate user databases near real-time from SQL Server to SQL Managed Instance.
  2. Test data replicated to Azure, test your application workloads and functionalities. Run the link for as long as you need – all new commits made on the SQL Server will automatically be committed to Managed Instance.
  3. When ready to migrate, initiate failover (cutover) to Azure. Repoint the application connection string from SQL Server to SQL Managed Instance.

 

Migration.png

 

As the link is database scoped, consolidating and deconsolidating migration is also possible in many-to-many relationships. For example, it is possible to migrate databases from different SQL Servers to a single Managed Instance, and also to migrate databases from a single SQL Server to multiple Managed Instances.

 

Migration consolidation

Migration deconsolidation

Consolidation.png Deconsolidation.png

 

This configuration is possible as long as physical limitations of a single Managed Instance are taken into consideration in terms of storage space and number of databases it can contain. As each Managed Instance today can host up to 100 databases, it is possible to establish up to 100 database links from SQL Server to a single Managed Instance.

 

How does the link feature work?

 

Managed Instance link works through leveraging Distributed Availability Groups technology to replicate user databases near real-time from SQL Server to SQL Managed Instance. This technology bridges the Availability Groups on SQL Server with highly available Managed Instance for near real-time data replication, as shown in the figure below.

 

DAG.png

 

Availability groups are one of the best and proven data replication technologies for SQL Server. We are taking advantage of this, by extending such replication mechanism to SQL Managed Instance bridging the two worlds with Distributed Availability Groups. Think of it as a bridge that connects two availability groups – one on SQL Server, and the other one on Managed Instance in Azure.

 

To use the link feature for Managed Instance, you are not required to have an existing Availability Group on the primary SQL Server, although we also support existing AGs. Single node (single server) systems are supported, and there is no need to have Windows Server Failover Cluster on the single node. Built-in SSMS wizard, currently in the preview, will help you create a local AG for the single node systems, and enable database replication to Managed Instance. In case that you already have existing Availability Groups with multiple nodes, and\or with Windows Server Failover Cluster, the existing AG configuration can be used as well, with adjustments.

 

More specifically, the figure below discloses in more technical details how the link feature for Managed Instance works.

 

Detailed view.png

 

To secure the link between the SQL Server and SQL Managed Instance, as one of the first steps of the initial setup, public keys of security certificates are exchanged between the servers participating in the exchange, ensuring the trust and encryption of data transmissions.

 

Having one link per database provides flexibility to connect user databases from different SQL Servers, even of different versions, to the same Managed Instance, or user databases from the same SQL Server to different Managed Instances. It is possible to establish up to 100 links from SQL Server(s) to a single Managed Instance. This limit is governed by the number of databases that could be hosted on a single Managed Instance today.

 

Replicated user databases (shown in the figure above as DB1 and DB2) are available for R/O access on the Managed Instance. There could also exist additional independent user databases on the Managed Instance used for R/W access (shown in the figure above as DB3).

 

Data replication by default is asynchronous taking into consideration that SQL Server and Managed Instance might be geographically dispersed, which might result in a significant network latency. Although the synchronous data replication could be enabled on demand, it is not recommended for the default operation of the link as significant network latency could slow down the SQL Server primary.

 

In the case of migration scenarios to Azure, at the time of initiating the failover, the replication is intentionally switched from asynchronous to synchronous. This is to ensure completion of the data catchup prior to the cutover, and to prevent potential data loss on the cutover to Azure.

 

Next steps

 

Hands on with Managed Instance link

 

To use the link hands-on with the limited public preview release, you will need to have the following resources available:

  • SQL Server 2019 Enterprise Edition with CU13 (or above), or SQL Server 2022 (in private preview)
  • SQL Managed Instance (any service tier, any size)
  • Networking connectivity between SQL Server and Managed Instance

Use the below link to sign-up for the limited public preview of link feature for Managed Instance.

 

 

Closing remarks

 

Please note that products and options presented in this article are subject to change. This article reflects the state of the link feature options available for Managed Instance in November, 2021.

 

If you find this article useful, please like it on this page and share through social media. To share this article, you can use the Share button below, or this short link: https://aka.ms/mi-link-techblog.

 

Please feel free to post your questions and comments in the section below.

2 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-2911614%22%20slang%3D%22en-US%22%3EManaged%20Instance%20link%20%E2%80%93%20connecting%20SQL%20Server%20to%20Azure%20reimagined%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2911614%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmi-link-docs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ELink%20feature%20for%20Managed%20Instance%3C%2FA%3E%20is%20a%20new%20feature%20reimagining%20the%20%3CSTRONG%3Econnection%3C%2FSTRONG%3E%20between%20%3CSTRONG%3ESQL%20Server%3C%2FSTRONG%3E%20hosted%20anywhere%20and%20the%20fully%20managed%20PaaS%20service%20%3CSTRONG%3EAzure%20SQL%20Managed%20Instance%3C%2FSTRONG%3E%2C%20providing%20unprecedented%20%3CSTRONG%3Ehybrid%3C%2FSTRONG%3E%20flexibility%20and%20database%20%3CSTRONG%3Emobility%3C%2FSTRONG%3E.%20With%20an%20approach%20that%20uses%20%3CSTRONG%3Enear%20real-time%3C%2FSTRONG%3E%20data%20replication%20to%20Azure%2C%20you%20can%20%3CSTRONG%3Eoffload%3C%2FSTRONG%3E%26nbsp%3Bworkloads%20to%20read-only%20secondaries%20on%20Azure%20to%20take%20advantage%20of%20a%20fully%20managed%20database%20platform%2C%20performance%2C%20and%20scale.%20The%20link%20can%20be%20operated%20for%20as%20long%20as%20you%20need%20it%20%E2%80%93%20months%20and%20years%20at%20a%20time%2C%20empowering%20you%20to%20get%20all%20the%20modern%20benefits%20of%20Azure%20today%20%3CSTRONG%3Ewithout%20migrating%3C%2FSTRONG%3E%20to%20the%20cloud.%20On%20your%20modernization%20journey%2C%20when%20and%20if%20you%20are%20ready%20to%20migrate%20to%20the%20cloud%2C%20the%20link%20%3CSTRONG%3Ede-risks%3C%2FSTRONG%3E%20your%20migration%20experience%20allowing%20you%20to%20%3CSTRONG%3Evalidate%3C%2FSTRONG%3E%20your%20workloads%20in%20Azure%20prior%20to%20migrating%20with%20a%20%3CSTRONG%3Eseamless%3C%2FSTRONG%3E%20and%20%3CSTRONG%3Einstant%3C%2FSTRONG%3E%20experience%2C%20and%20at%20your%20own%20pace.%20This%20article%20provides%20%3CSTRONG%3Edeeper%20insights%3C%2FSTRONG%3E%20into%20this%20new%20feature.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20link%20feature%20enables%20near%20real-time%20data%20replication%20from%20SQL%20Server%20to%20Azure%20SQL%20Managed%20Instance%20using%20the%20underlying%20technology%20of%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fsql%2Fdatabase-engine%2Favailability-groups%2Fwindows%2Fdistributed-availability-groups%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EDistributed%20Availability%20Groups%3C%2FA%3E.%20This%20technology%20is%20part%20of%20the%20well-known%20and%20proven%20Always%20On%20availability%20groups%20technology%20stack.%20Think%20of%20it%20as%20extending%20SQL%20Server%E2%80%99s%20availability%20group%20to%20SQL%20Managed%20Instance%20in%20Azure%20in%20a%20safe%20and%20secure%20manner.%20Primary%20database%20on%20the%20SQL%20Server%20can%20be%20used%20for%20R%2FW%20access%2C%20whereas%20replicated%20database%20on%20Managed%20Instance%20can%20be%20used%20for%20R%2FO%20access.%20Changes%20to%20the%20primary%20database%20in%20SQL%20Server%20are%20transferred%20near%20real-time%20to%20the%20secondary%20Managed%20Instance%20in%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22The%20main%20scenario.png%22%20style%3D%22width%3A%20777px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323023i2A489D1FF2149CF9%2Fimage-dimensions%2F777x369%3Fv%3Dv2%22%20width%3D%22777%22%20height%3D%22369%22%20role%3D%22button%22%20title%3D%22The%20main%20scenario.png%22%20alt%3D%22The%20main%20scenario.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EEach%20link%20is%20database%20scoped%2C%20meaning%20that%20one%20link%20connects%20a%20single%20database.%20You%20can%20use%20multiple%20links%20to%20connect%20multiple%20databases.%20Through%20making%20the%20link%20database%20scoped%2C%20it%20is%20now%20possible%20to%20consolidate%20and%20deconsolidate%20your%20workloads%20in%20many-to-many%20relationships%20between%20SQL%20Server%20and%20Managed%20Instance.%20This%20allows%20you%20to%20replicate%20data%20from%20multiple%20SQL%20Servers%20to%20a%20single%20Managed%20Instance%20in%20Azure%2C%20or%20replicate%20from%20a%20single%20SQL%20Server%20to%20multiple%20Managed%20Instances%20to%20any%20of%20Azure%E2%80%99s%2060%2B%20regions%20worldwide.%20The%20latter%20empowers%20you%20to%20quickly%20bring%20your%20SQL%20Server%20workloads%20closer%20to%20your%20customers%20in%20any%20Azure%20region%20worldwide.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20feature%20has%20been%20released%20in%20a%20limited%20public%20preview%20for%20SQL%20Server%202019%20with%20CU%2013%20and%20above%2C%20and%20%3CA%20href%3D%22https%3A%2F%2Fcloudblogs.microsoft.com%2Fsqlserver%2F2021%2F11%2F02%2Fannouncing-sql-server-2022-preview-azure-enabled-with-continued-performance-and-security-innovation%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESQL%20Server%202022%3C%2FA%3E%20in%20private%20preview%20at%20this%20time.%20Scenarios%20supported%20at%20this%20time%20are%26nbsp%3Bscaling-out%20R%2FO%20workloads%2C%20and%20seamless%20and%20instant%20migration%20to%20Azure%20SQL%20Managed%20Instance.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmi-link-signup%22%20target%3D%22_new%22%20rel%3D%22noopener%20noreferrer%22%3E%3CBUTTON%20style%3D%22background-color%3A%20%233366ff%3B%20color%3A%20white%3B%22%3ESign-up%20for%20link%20feature%20preview%3C%2FBUTTON%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--298970382%22%20id%3D%22toc-hId--298937672%22%20id%3D%22toc-hId--298937672%22%20id%3D%22toc-hId--298937672%22%20id%3D%22toc-hId--298937672%22%20id%3D%22toc-hId--298937672%22%20id%3D%22toc-hId--298937672%22%20id%3D%22toc-hId--298937672%22%20id%3D%22toc-hId--298937672%22%20id%3D%22toc-hId--298937672%22%3ERoadmap%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOur%20future%20product%20development%20strategy%20will%20involve%20enabling%20SQL%20Server%20versions%20%3CSTRONG%3E2016-2019%3C%2FSTRONG%3E%20to%20support%20scaling%20out%20%3CSTRONG%3ER%2FO%20workloads%3C%2FSTRONG%3E%2C%20and%20seamless%20and%20%3CSTRONG%3Einstant%20migration%20to%20Azure%3C%2FSTRONG%3E.%20In%20addition%20to%20these%2C%20our%20aim%20is%20to%20also%20build%20%3CSTRONG%3Ebi-directional%20disaster%20recovery%20(DR)%3C%2FSTRONG%3E%20on%20Azure%20SQL%20Managed%20Instance%20%3CSTRONG%3Eexclusively%20for%20SQL%20Server%202022%3C%2FSTRONG%3E.%20This%20article%20will%20%3CSTRONG%3Enot%20address%3C%2FSTRONG%3E%20details%20of%20the%20DR%20scenario%20with%20SQL%20Server%202022%20at%20this%20time%2C%20as%20this%20will%20be%20a%20subject%20of%20a%20separate%20article%20as%20we%20near%20the%20release%20of%20the%20new%20SQL%20Server.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--2106424845%22%20id%3D%22toc-hId--2106392135%22%20id%3D%22toc-hId--2106392135%22%20id%3D%22toc-hId--2106392135%22%20id%3D%22toc-hId--2106392135%22%20id%3D%22toc-hId--2106392135%22%20id%3D%22toc-hId--2106392135%22%20id%3D%22toc-hId--2106392135%22%20id%3D%22toc-hId--2106392135%22%20id%3D%22toc-hId--2106392135%22%3ECustomer%20testimonials%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESome%20of%20our%20early%20preview%20customers%20already%20had%20a%20chance%20to%20experience%20the%20link%20hands-on.%20%3CA%20href%3D%22https%3A%2F%2Ffire.lacounty.gov%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ECounty%20of%20Los%20Angeles%20Fire%20Department%3C%2FA%3E%20is%20an%20US%20government%20organization%20relying%20on%20a%20critical%20SQL%20Server%20database%20for%20handling%20all%20fire%20department%20operations%20serving%20all%20of%20Los%20Angeles%20County.%20An%20incident%20can%20be%20one%20of%20these%3A%20COVID-19%2C%20fire%20Incident%2C%20Emergency%20Medical%20Service%20involving%20911%2C%20automobile%20accident%20incident%2C%20police%20rescue%20incident%2C%20and%20others.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECounty%20of%20Los%20Angeles%20Fire%20Department%20has%20a%20business%20need%20for%20near%20real-time%20reporting%20on%20the%20data%20operationally%20and%20historically%20%E2%80%93%20data%20trending%20via%20data%20warehouse.%20To%20achieve%20this%2C%20SQL%20Server%202019%20on%20premises%20is%20used%20as%20the%20primary%20database%20storage%2C%20with%20replication%20of%20required%20data%20to%20SQL%20Managed%20Instance%20in%20Azure%20to%20offload%20all%20of%20reporting%20from%20the%20primary%20database.%20Express%20route%20is%20used%20to%20establish%20a%20secure%20network%20connectivity%20between%20on-premises%20network%20and%20Azure.%20Earlier%2C%20County%20of%20Los%20Angeles%20Fire%20Department%20has%20used%20an%20ETL%20process%20and%20a%20customized%20pipeline%20to%20replicate%20data%20from%20SQL%20Server%20to%20Managed%20Instance.%20This%20solution%20had%20its%20challenges%20-%20contention%20issues%2C%20updating%201900%2B%20tables%20continuously%20with%20frequent%20schema%20changes%2C%20and%20a%20constant%20need%20to%20update%20the%20pipeline.%20In%20turn%2C%20operating%20the%20solution%20introduced%20significant%20maintenance%20costs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAll%20these%20problems%20were%20solved%20with%20the%20link%20feature%20for%20Managed%20Instance.%20With%20the%20new%20solution%20data%20replication%20is%20almost%20instantaneous%2C%20there%20no%20longer%20exists%20a%20need%20to%20customize%20the%20pipeline%2C%20manually%20update%20any%20processes%2C%20nor%20invest%20time%20to%20maintain%20the%20link%20--%20it%20all%20works%20automatically%20out%20of%20the%20box.%20Identical%20copy%20of%20the%20database%20running%20on%20SQL%20Server%20on%20premises%20is%20being%20synchronized%20to%20Managed%20Instance%20in%20Azure.%20Even%20if%20the%20link%20is%20temporarily%20down%2C%20such%20is%20for%20example%20when%20performing%20a%20regular%20maintenance%2C%20or%20rebooting%20the%20SQL%20Server%2C%20as%20soon%20as%20the%20issue%20has%20been%20resolved%2C%20the%20link%20starts%20working%20automatically%20again%20continuing%20where%20it%20left%20off.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%E2%80%9CThe%20near%20real-time%20data%20replication%20in%20Azure%20SQL%20Managed%20Instance%E2%80%99s%20link%20feature%20provides%20the%20redundancy%20we%20need%20and%20an%20uninterruptible%2C%20consistent%20flow%20of%20data.%20I%20no%20longer%20have%20to%20stop%20my%20work%20to%20fix%20a%20broken%20data%20flow%20or%20make%20manual%20adjustments%20when%20a%20schema%20changes.%20I%20have%20the%20peace%20of%20mind%20that%20the%20data%20is%20safe%2C%20reliable%2C%20and%20secured%20in%20Azure.%E2%80%9D%3C%2FEM%3E%20%E2%80%93%20%3CSTRONG%3EAlan%20Choy%2C%20Senior%20Database%20Administrator%2C%20Los%20Angeles%20County%20Fire%20Department%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20modernization%20journey%20has%20allowed%20County%20of%20Los%20Angeles%20Fire%20Department%20to%20considerably%20reduce%20maintenance%20and%20operational%20cost%20with%20Managed%20Instance%20and%20the%20link%20feature.%20By%20choosing%20Managed%20Instance%20as%20a%20fully%20managed%20PaaS%20service%20in%20Azure%20with%20at%20least%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fsupport%2Flegal%2Fsla%2Fazure-sql-sql-managed-instance%2Fv1_0%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E99.99%25%20uptime%3C%2FA%3E%2C%20operational%20costs%20were%20saved%20by%20offloading%20the%20server%20maintenance%20and%20infrastructure%20management%20to%20Microsoft.%20Choosing%20the%20link%20feature%20for%20Managed%20Instance%20has%20resulted%20in%20savings%20on%20maintaining%20data%20replication%20from%20on-premises%20SQL%20Server%20to%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-381087988%22%20id%3D%22toc-hId-381120698%22%20id%3D%22toc-hId-381120698%22%20id%3D%22toc-hId-381120698%22%20id%3D%22toc-hId-381120698%22%20id%3D%22toc-hId-381120698%22%20id%3D%22toc-hId-381120698%22%20id%3D%22toc-hId-381120698%22%20id%3D%22toc-hId-381120698%22%20id%3D%22toc-hId-381120698%22%3EWhat%20can%20you%20do%20with%20Managed%20Instance%20link%3F%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20section%20we%20will%20discuss%20some%20of%20the%20scenarios%20how%20you%20can%20take%20advantage%20of%20link%20feature%20for%20managed%20instance.%20The%20main%20scenarios%20supported%20in%20our%20limited%20public%20preview%20release%20are%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E(1)%20Scaling%20out%20R%2FO%20workloads%20to%20Azure%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EScaling%20out%20to%2C%20or%20bursting%20to%20Azure%20for%20R%2FO%20workloads%3C%2FLI%3E%0A%3CLI%3EOffloading%20operation%20management%20of%20on-premises%20instance%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E(2)%20Seamless%20and%20instant%20database%20migration%20to%20Azure%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EMinimum%20downtime%20migrations%3C%2FLI%3E%0A%3CLI%3EConsolidation%20of%20workloads%20in%20the%20cloud%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1426366475%22%20id%3D%22toc-hId--1426333765%22%20id%3D%22toc-hId--1426333765%22%20id%3D%22toc-hId--1426333765%22%20id%3D%22toc-hId--1426333765%22%20id%3D%22toc-hId--1426333765%22%20id%3D%22toc-hId--1426333765%22%20id%3D%22toc-hId--1426333765%22%20id%3D%22toc-hId--1426333765%22%20id%3D%22toc-hId--1426333765%22%3EScaling%20out%20R%2FO%20workloads%20to%20Azure%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EReplicated%20databases%20from%20SQL%20Server%20on%20Managed%20Instance%20are%20available%20for%20R%2FO%20access.%20This%20allows%20for%20scaling%20out%20to%2C%20or%20bursting%20to%20Azure%20for%20R%2FO%20workloads%2C%20while%20remaining%20to%20run%20on%20SQL%20Server%20as%20the%20primary%20database.%20Your%20application%20can%20use%20the%20primary%20SQL%20Server%20database%20for%20R%2FW%20access%2C%20while%20offloading%20the%20R%2FO%20workload%20to%20secondary%20Managed%20Instance.%20In%20the%20example%20below%2C%20SQL%20Server%20database%20is%20replicated%20using%20link%20feature%20to%20Managed%20Instance%20(1).%20Application%20hosted%20anywhere%20takes%20advantage%20of%20this%20scenario%20by%20offloading%20R%2FO%20workload%20to%20Managed%20Instance%20(2).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22App%20RO.png%22%20style%3D%22width%3A%20709px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323090i6560116CD743C040%2Fimage-dimensions%2F709x367%3Fv%3Dv2%22%20width%3D%22709%22%20height%3D%22367%22%20role%3D%22button%22%20title%3D%22App%20RO.png%22%20alt%3D%22App%20RO.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EExpanding%20on%20this%2C%20it%20is%20also%20possible%20to%20use%20the%20link%20for%20%3CSTRONG%3Egeo-replication%3C%2FSTRONG%3E%20and%20take%20advantage%20of%20being%20able%20to%20quickly%20expand%20R%2FO%20capacity%20to%20multiple%20Managed%20Instances%20to%20any%20of%20Azure%E2%80%99s%2060%2B%20regions%20worldwide.%20In%20this%20scenario%2C%20it%20is%20possible%20to%20replicate%20databases%20from%20a%20single%20SQL%20Server%20to%20Managed%20Instances%20located%20in%20different%20regions%20using%20multiple%20links.%20In%20the%20example%20below%20we%20show%20two%20databases%20from%20a%20single%20SQL%20Server%20geo-replicated%20to%20Azure%E2%80%99s%20US%20and%20Europe%20regions%20bringing%20workloads%20closer%20to%20your%20customers%20in%20different%20geographical%20regions.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Geo-replication.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323092iFED78D81971AAE02%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Geo-replication.png%22%20alt%3D%22Geo-replication.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EReplicated%20SQL%20Server%20data%20can%20also%20be%20used%20with%20a%20vast%20number%20of%20Azure%20services%2C%20such%20is%20for%20example%20offloading%20reporting%2C%20analytics%2C%20Machine%20Learning%2C%20and%20others%20without%20migrating%20to%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Offload%20reporting.png%22%20style%3D%22width%3A%20689px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323093i54B181F8F3CC3C79%2Fimage-dimensions%2F689x303%3Fv%3Dv2%22%20width%3D%22689%22%20height%3D%22303%22%20role%3D%22button%22%20title%3D%22Offload%20reporting.png%22%20alt%3D%22Offload%20reporting.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1061146358%22%20id%3D%22toc-hId-1061179068%22%20id%3D%22toc-hId-1061179068%22%20id%3D%22toc-hId-1061179068%22%20id%3D%22toc-hId-1061179068%22%20id%3D%22toc-hId-1061179068%22%20id%3D%22toc-hId-1061179068%22%20id%3D%22toc-hId-1061179068%22%20id%3D%22toc-hId-1061179068%22%20id%3D%22toc-hId-1061179068%22%3ESeamless%20and%20instant%20database%20migration%20to%20Azure%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOur%20migration%20strategy%20is%20%3CSTRONG%3Enot%20to%20leave%20ANY%20SQL%20database%20behind%3C%2FSTRONG%3E.%20While%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fservices%2Fdatabase-migration%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EDMS%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fmanaged-instance%2Flog-replay-service-migrate%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ELRS%3C%2FA%3E%20services%20offer%20migration%20path%20for%20any%20SQL%20version%202008%20and%20up%2C%20the%20link%20feature%20for%20managed%20instance%20provides%20an%20%3CSTRONG%3Eoptimized%3C%2FSTRONG%3E%20experience%20for%20Azure-enabled%20SQL%20versions%20starting%20from%20SQL%20Server%202016%20and%20up.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20link%20could%20be%20operated%20as%20long%20as%20you%20need%20it%2C%20for%20months%20and%20years%20at%20a%20time.%20On%20your%20modernization%20journey%2C%20when%20and%20if%20you%20are%20ready%20to%20migrate%20to%20Azure%2C%20the%20link%20enables%20a%20seamless%20and%20instant%20migration%20experience%20to%20Managed%20Instance%2C%20at%20your%20own%20pace.%20The%20link%20provides%20a%20considerably%20more%20performant%20minimum%20downtime%20experience%2C%20which%20might%20especially%20benefit%20critical%20production%20workloads%20with%20little%20to%20no%20downtime%20tolerance.%20As%20replicated%20primary%20SQL%20Server%20database%20is%20accessible%20on%20secondary%20Managed%20Instance%2C%20it%20is%20now%20possible%20to%20test%20that%20all%20your%20data%20is%20up%20to%20date%2C%20perform%20schema%20and%20integrity%20checks%20prior%20to%20deciding%20to%20cutover%20to%20Azure.%20These%20options%20are%20providing%20new%20choices%20and%20considerably%20minimize%20risk%20of%20migrating%20SQL%20Server%20workloads%20to%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20migration%20using%20link%20feature%20for%20Managed%20Instance%20is%20orchestrated%20at%20your%20own%20pace%20with%20the%20following%20steps%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSTRONG%3EReplicate%3C%2FSTRONG%3E%20user%20databases%20near%20real-time%20from%20SQL%20Server%20to%20SQL%20Managed%20Instance.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ETest%3C%2FSTRONG%3E%20%3CSTRONG%3Edata%3C%2FSTRONG%3E%26nbsp%3Breplicated%20to%26nbsp%3BAzure%2C%20test%20your%20%3CSTRONG%3Eapplication%3C%2FSTRONG%3E%20workloads%20and%20%3CSTRONG%3Efunctionalities%3C%2FSTRONG%3E.%20Run%20the%20link%20for%20as%20long%20as%20you%20need%20%E2%80%93%20all%20new%20commits%20made%20on%20the%20SQL%20Server%20will%20automatically%20be%20committed%20to%20Managed%20Instance.%3C%2FLI%3E%0A%3CLI%3EWhen%20ready%20to%20migrate%2C%20%3CSTRONG%3Einitiate%3C%2FSTRONG%3E%20%3CSTRONG%3Efailover%3C%2FSTRONG%3E%20(cutover)%20to%20Azure.%20Repoint%20the%20application%20connection%20string%20from%20SQL%20Server%20to%20SQL%20Managed%20Instance.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Migration.png%22%20style%3D%22width%3A%20699px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323095i2EF24249376F2D24%2Fimage-dimensions%2F699x445%3Fv%3Dv2%22%20width%3D%22699%22%20height%3D%22445%22%20role%3D%22button%22%20title%3D%22Migration.png%22%20alt%3D%22Migration.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20the%20link%20is%20database%20scoped%2C%20consolidating%20and%20deconsolidating%20migration%20is%20also%20possible%20in%20%3CSTRONG%3Emany-to-many%3C%2FSTRONG%3E%20relationships.%20For%20example%2C%20it%20is%20possible%20to%20migrate%20databases%20from%20different%20SQL%20Servers%20to%20a%20single%20Managed%20Instance%2C%20and%20also%20to%20migrate%20databases%20from%20a%20single%20SQL%20Server%20to%20multiple%20Managed%20Instances.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CCENTER%3E%0A%3CTABLE%20class%3D%22lia-align-center%22%20style%3D%22width%3A%20800px%3B%22%20border%3D%221%22%20width%3D%22800%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2250%25%22%3E%3CP%20class%3D%22lia-align-center%22%3EMigration%20consolidation%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2250%25%22%3E%3CP%20class%3D%22lia-align-center%22%3EMigration%20deconsolidation%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2250%25%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Consolidation.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323096iEE5B5E3D87370E33%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Consolidation.png%22%20alt%3D%22Consolidation.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%20width%3D%2250%25%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Deconsolidation.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323097iB4666E4F8C439968%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Deconsolidation.png%22%20alt%3D%22Deconsolidation.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3C%2FCENTER%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20configuration%20is%20possible%20as%20long%20as%20physical%20limitations%20of%20a%20single%20Managed%20Instance%20are%20taken%20into%20consideration%20in%20terms%20of%20storage%20space%20and%20number%20of%20databases%20it%20can%20contain.%20As%20each%20Managed%20Instance%20today%20can%20host%20up%20to%20100%20databases%2C%20it%20is%20possible%20to%20establish%20up%20to%20%3CSTRONG%3E100%20database%20links%3C%2FSTRONG%3E%20from%20SQL%20Server%20to%20a%20%3CSTRONG%3Esingle%20Managed%20Instance%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--746308105%22%20id%3D%22toc-hId--746275395%22%20id%3D%22toc-hId--746275395%22%20id%3D%22toc-hId--746275395%22%20id%3D%22toc-hId--746275395%22%20id%3D%22toc-hId--746275395%22%20id%3D%22toc-hId--746275395%22%20id%3D%22toc-hId--746275395%22%20id%3D%22toc-hId--746275395%22%20id%3D%22toc-hId--746275395%22%3EHow%20does%20the%20link%20feature%20work%3F%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EManaged%20Instance%20link%20works%20through%20leveraging%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fsql%2Fdatabase-engine%2Favailability-groups%2Fwindows%2Fdistributed-availability-groups%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EDistributed%20Availability%20Groups%3C%2FA%3E%20technology%20to%20replicate%20user%20databases%20near%20real-time%20from%20SQL%20Server%20to%20SQL%20Managed%20Instance.%20This%20technology%20bridges%20the%20Availability%20Groups%20on%20SQL%20Server%20with%20highly%20available%20Managed%20Instance%20for%20near%20real-time%20data%20replication%2C%20as%20shown%20in%20the%20figure%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DAG.png%22%20style%3D%22width%3A%20851px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323098i4F39959BBDE3B87C%2Fimage-dimensions%2F851x210%3Fv%3Dv2%22%20width%3D%22851%22%20height%3D%22210%22%20role%3D%22button%22%20title%3D%22DAG.png%22%20alt%3D%22DAG.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAvailability%20groups%20are%20one%20of%20the%20best%20and%20proven%20data%20replication%20technologies%20for%20SQL%20Server.%20We%20are%20taking%20advantage%20of%20this%2C%20by%20extending%20such%20replication%20mechanism%20to%20SQL%20Managed%20Instance%20bridging%20the%20two%20worlds%20with%20Distributed%20Availability%20Groups.%20Think%20of%20it%20as%20a%20bridge%20that%20connects%20two%20availability%20groups%20%E2%80%93%20one%20on%20SQL%20Server%2C%20and%20the%20other%20one%20on%20Managed%20Instance%20in%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20use%20the%20link%20feature%20for%20Managed%20Instance%2C%20you%20are%20%3CSTRONG%3Enot%20required%3C%2FSTRONG%3E%20to%20have%20an%20existing%20Availability%20Group%20on%20the%20primary%20SQL%20Server%2C%20although%20we%20also%20support%20existing%20AGs.%20Single%20node%20(single%20server)%20systems%20are%20supported%2C%20and%20there%20is%20no%20need%20to%20have%20Windows%20Server%20Failover%20Cluster%20on%20the%20single%20node.%20Built-in%20SSMS%20wizard%2C%20currently%20in%20the%20preview%2C%20will%20help%20you%20create%20a%20local%20AG%20for%20the%20single%20node%20systems%2C%20and%20enable%20database%20replication%20to%20Managed%20Instance.%20In%20case%20that%20you%20already%20have%20existing%20Availability%20Groups%20with%20multiple%20nodes%2C%20and%5Cor%20with%20Windows%20Server%20Failover%20Cluster%2C%20the%20existing%20AG%20configuration%20can%20be%20used%20as%20well%2C%20with%20adjustments.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMore%20specifically%2C%20the%20figure%20below%20discloses%20in%20more%20technical%20details%20how%20the%20link%20feature%20for%20Managed%20Instance%20works.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Detailed%20view.png%22%20style%3D%22width%3A%20822px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323099i30FDD190D4D4B561%2Fimage-dimensions%2F822x491%3Fv%3Dv2%22%20width%3D%22822%22%20height%3D%22491%22%20role%3D%22button%22%20title%3D%22Detailed%20view.png%22%20alt%3D%22Detailed%20view.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20secure%20the%20link%20between%20the%20SQL%20Server%20and%20SQL%20Managed%20Instance%2C%20as%20one%20of%20the%20first%20steps%20of%20the%20initial%20setup%2C%20public%20keys%20of%20security%20certificates%20are%20exchanged%20between%20the%20servers%20participating%20in%20the%20exchange%2C%20ensuring%20the%20trust%20and%20encryption%20of%20data%20transmissions.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHaving%20one%20link%20per%20database%20provides%20flexibility%20to%20connect%20user%20databases%20from%20different%20SQL%20Servers%2C%20even%20of%20different%20versions%2C%20to%20the%20same%20Managed%20Instance%2C%20or%20user%20databases%20from%20the%20same%20SQL%20Server%20to%20different%20Managed%20Instances.%20It%20is%20possible%20to%20establish%20up%20to%20100%20links%20from%20SQL%20Server(s)%20to%20a%20single%20Managed%20Instance.%20This%20limit%20is%20governed%20by%20the%20number%20of%20databases%20that%20could%20be%20hosted%20on%20a%20single%20Managed%20Instance%20today.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EReplicated%20user%20databases%20(shown%20in%20the%20figure%20above%20as%20DB1%20and%20DB2)%20are%20available%20for%20R%2FO%20access%20on%20the%20Managed%20Instance.%20There%20could%20also%20exist%20additional%20independent%20user%20databases%20on%20the%20Managed%20Instance%20used%20for%20R%2FW%20access%20(shown%20in%20the%20figure%20above%20as%20DB3).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EData%20replication%20by%20default%20is%20%3CSTRONG%3Easynchronous%3C%2FSTRONG%3E%20taking%20into%20consideration%20that%20SQL%20Server%20and%20Managed%20Instance%20might%20be%20geographically%20dispersed%2C%20which%20might%20result%20in%20a%20significant%20network%20latency.%20Although%20the%20synchronous%20data%20replication%20could%20be%20enabled%20on%20demand%2C%20it%20is%20not%20recommended%20for%20the%20default%20operation%20of%20the%20link%20as%20significant%20network%20latency%20could%20slow%20down%20the%20SQL%20Server%20primary.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20case%20of%20migration%20scenarios%20to%20Azure%2C%20at%20the%20time%20of%20initiating%20the%20%3CSTRONG%3Efailover%3C%2FSTRONG%3E%2C%20the%20replication%20is%20intentionally%20switched%20from%20asynchronous%20to%20%3CSTRONG%3Esynchronous%3C%2FSTRONG%3E.%20This%20is%20to%20ensure%20completion%20of%20the%20data%20catchup%20prior%20to%20the%20cutover%2C%20and%20to%20prevent%20potential%20data%20loss%20on%20the%20cutover%20to%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--756811209%22%20id%3D%22toc-hId--756778499%22%20id%3D%22toc-hId--756778499%22%20id%3D%22toc-hId--756778499%22%20id%3D%22toc-hId--756778499%22%20id%3D%22toc-hId--756778499%22%20id%3D%22toc-hId--756778499%22%20id%3D%22toc-hId--756778499%22%20id%3D%22toc-hId--756778499%22%20id%3D%22toc-hId--756778499%22%3ENext%20steps%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--66249735%22%20id%3D%22toc-hId--66217025%22%20id%3D%22toc-hId--66217025%22%20id%3D%22toc-hId--66217025%22%20id%3D%22toc-hId--66217025%22%20id%3D%22toc-hId--66217025%22%20id%3D%22toc-hId--66217025%22%20id%3D%22toc-hId--66217025%22%20id%3D%22toc-hId--66217025%22%20id%3D%22toc-hId--66217025%22%3EHands%20on%20with%20Managed%20Instance%20link%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20use%20the%20link%20hands-on%20with%20the%20limited%20public%20preview%20release%2C%20you%20will%20need%20to%20have%20the%20following%20resources%20available%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESQL%20Server%202019%20Enterprise%20Edition%20with%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Ftopic%2Fkb5005679-cumulative-update-13-for-sql-server-2019-5c1be850-460a-4be4-a569-fe11f0adc535%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECU13%3C%2FA%3E%20(or%20above)%2C%20or%20SQL%20Server%202022%20(in%20private%20preview)%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fmanaged-instance%2Fquickstart-content-reference-guide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESQL%20Managed%20Instance%3C%2FA%3E%20(any%20service%20tier%2C%20any%20size)%3C%2FLI%3E%0A%3CLI%3ENetworking%20connectivity%20between%20SQL%20Server%20and%20Managed%20Instance%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EUse%20the%20below%20link%20to%20sign-up%20for%20the%20limited%20public%20preview%20of%20link%20feature%20for%20Managed%20Instance.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmi-link-signup%22%20target%3D%22_new%22%20rel%3D%22noopener%20noreferrer%22%3E%3CBUTTON%20style%3D%22background-color%3A%20%233366ff%3B%20color%3A%20white%3B%22%3ESign-up%20for%20link%20feature%20preview%3C%2FBUTTON%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1873704198%22%20id%3D%22toc-hId--1873671488%22%20id%3D%22toc-hId--1873671488%22%20id%3D%22toc-hId--1873671488%22%20id%3D%22toc-hId--1873671488%22%20id%3D%22toc-hId--1873671488%22%20id%3D%22toc-hId--1873671488%22%20id%3D%22toc-hId--1873671488%22%20id%3D%22toc-hId--1873671488%22%20id%3D%22toc-hId--1873671488%22%3EClosing%20remarks%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20note%20that%20products%20and%20options%20presented%20in%20this%20article%20are%20subject%20to%20change.%20This%20article%20reflects%20the%20state%20of%20the%20link%20feature%20options%20available%20for%20Managed%20Instance%20in%20November%2C%202021.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20find%20this%20article%20useful%2C%20please%20like%20it%20on%20this%20page%20and%20share%20through%20social%20media.%20To%20share%20this%20article%2C%20you%20can%20use%20the%20Share%20button%20below%2C%20or%20this%20short%20link%3A%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmi-link-techblog%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Fmi-link-techblog%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20feel%20free%20to%20post%20your%20questions%20and%20comments%20in%20the%20section%20below.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2911614%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmi-link-docs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ELink%20feature%20for%20Managed%20Instance%3C%2FA%3E%20is%20a%20new%20feature%20reimagining%20the%20%3CSTRONG%3Econnection%3C%2FSTRONG%3E%20between%20%3CSTRONG%3ESQL%20Server%3C%2FSTRONG%3E%20hosted%20anywhere%20and%20the%20fully%20managed%20PaaS%20service%20%3CSTRONG%3EAzure%20SQL%20Managed%20Instance%3C%2FSTRONG%3E%2C%20providing%20unprecedented%20%3CSTRONG%3Ehybrid%3C%2FSTRONG%3E%20flexibility%20and%20database%20%3CSTRONG%3Emobility%3C%2FSTRONG%3E.%20With%20an%20approach%20that%20uses%20%3CSTRONG%3Enear%20real-time%3C%2FSTRONG%3E%20data%20replication%20to%20Azure%2C%20you%20can%20%3CSTRONG%3Eoffload%3C%2FSTRONG%3E%26nbsp%3Bworkloads%20to%20read-only%20secondaries%20on%20Azure%20to%20take%20advantage%20of%20a%20fully%20managed%20database%20platform%2C%20performance%2C%20and%20scale.%20The%20link%20can%20be%20operated%20for%20as%20long%20as%20you%20need%20it%20%E2%80%93%20months%20and%20years%20at%20a%20time%2C%20empowering%20you%20to%20get%20all%20the%20modern%20benefits%20of%20Azure%20today%20%3CSTRONG%3Ewithout%20migrating%3C%2FSTRONG%3E%20to%20the%20cloud.%20On%20your%20modernization%20journey%2C%20when%20and%20if%20you%20are%20ready%20to%20migrate%20to%20the%20cloud%2C%20the%20link%20%3CSTRONG%3Ede-risks%3C%2FSTRONG%3E%20your%20migration%20experience%20allowing%20you%20to%20%3CSTRONG%3Evalidate%3C%2FSTRONG%3E%20your%20workloads%20in%20Azure%20prior%20to%20migrating%20with%20a%20%3CSTRONG%3Eseamless%3C%2FSTRONG%3E%20and%20%3CSTRONG%3Einstant%3C%2FSTRONG%3E%20experience%2C%20and%20at%20your%20own%20pace.%20This%20article%20provides%20%3CSTRONG%3Edeeper%20insights%3C%2FSTRONG%3E%20into%20this%20new%20feature.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22The%20main%20scenario.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323196i34CB41225FAA0411%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22The%20main%20scenario.png%22%20alt%3D%22The%20main%20scenario.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2911614%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20SQL%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20SQL%20Managed%20Instance%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Ignite%202021%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESQL%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2974707%22%20slang%3D%22en-US%22%3ERe%3A%20Managed%20Instance%20link%20%E2%80%93%20connecting%20SQL%20Server%20to%20Azure%20reimagined%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2974707%22%20slang%3D%22en-US%22%3E%3CP%3EBTW%2C%20I%20just%20Liked%20your%20blog.%20%3A)%3C%2Fimg%3E%26nbsp%3B%20Had%20to%20sign%20in%20in%20order%20to%20Like%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2974704%22%20slang%3D%22en-US%22%3ERe%3A%20Managed%20Instance%20link%20%E2%80%93%20connecting%20SQL%20Server%20to%20Azure%20reimagined%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2974704%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Dani%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EI%20am%20very%20excited%20about%20the%20MI%20Link%20feature%20for%20SQL%20MI.%20Kudos%20to%20you%20and%20your%20team%20on%20the%20work%20in%20this%20space.%3C%2FP%3E%3CP%3E1.%20It%20supports%20seamlessly%2C%20smooth%20and%20instant%20migration%20-%20this%20is%20a%20great%20improvement%20for%20us%20as%20we%20have%20over%20200%20hosted%20instances.%26nbsp%3B%3C%2FP%3E%3CP%3E2.%26nbsp%3BScaling%20out%20R%2FO%20workloads%20to%20Azure%20-%20this%20opens%20architectural%20options%20for%20us%20to%20provide%20on-premise%20only%20clients%20(they%20are%20usually%20large)%20analytics%20and%20ML%20benefits%20Azure%20has%20to%20offer.%26nbsp%3B%3C%2FP%3E%3CP%3E3.%20It%20introduces%20migration%20consolidations%20-%20this%20is%20very%20attractive%20to%20us%20for%20cost%20savings.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20raise%20up%20a%20question%20on%26nbsp%3Bmigration%20consolidations%20in%20the%20Q%26amp%3BA%20session%20on%20%22%3CSPAN%3EWhat's%20New%20in%20Azure%20SQL%20MI%3C%2FSPAN%3E%22%20in%20PASS%20summit%2C%20where%20unfortunately%20you%20were%20absent%2C%20and%20would%20appreciate%20your%20insights%20on%20it%3A%20for%20our%20hosted%20applications%2C%20all%20clients%20have%20the%20same%20set%20of%20SQL%20DBs%2C%26nbsp%3Bmany%20of%20them%20are%20very%20small%2C%20even%202%20vcore(%20from%20instance%20pool)%20would%20result%20into%20resource%20underutilization.%20When%20we%20take%20advantage%20of%26nbsp%3Bmigration%20consolidations%2C%20how%20would%20we%20differentiate%20Client%20A's%20DBs%20from%20Client%20B's%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAgain%2C%20thanks%20for%20the%20great%20work%20in%20MI%20Link%2C%20and%20we%20cannot%20wait%20to%20preview%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%2C%3C%2FP%3E%3CP%3EJunli%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎Nov 03 2021 03:48 PM
Updated by: