We have some SQL Servers on Azure VMs that we would like to use as Synapse sources. The VMs are on an Azure Virtual Network. We use Azure Active Directory for authentication to the database.
The following seem to fall under Azure SQL in the documentation:
- Azure SQL Database
- Azure SQL Managed Instance
- SQL Server on Azure VM
There is also a distinct set of documentation for SQL Server.
When I look in the Synapse documentation under Pipeline and data flow -> How-to guides -> Connectors is see these possible connectors:
- Azure SQL Database
- Azure SQL Managed Instance
- SQL Server
There is no distinct connector listed for SQL Server on Azure VM. When I open up Synapse Studio, go to Manage and try to create a new Linked Service, I am also able to find the same connectors above (one renamed Azure SQL Database Managed Instance), and still nothing like SQL Server on Azure VM or SQL Virtual Machine (another name you can find these under in Azure).
The reason this all makes a difference is that our SQL Servers on Azure VMs are on an Azure Virtual Network, and if they behave like the regular SQL Servers it seems that we will need a self-hosted integration runtime, where as the other Azure SQL types have linked service properties.
Our questions revolve around:
- Which bits of documentation are most useful for trying to set up a Linked Service on a SQL Server on an Azure VM?
- Will we need a self-hosted integration runtime, or will we be able to use the Azure IR?
- Will the Synapse workspace need to be created with a Managed Virtual Network for this?
One final note that isn't a question really, but something to think about. In testing I tried setting up a Synapse workspace with a Managed Virtual Network, hoping I could just create a peer relationship with the existing Azure Virtual Network. However, the Synapse workspace Managed Virtual Network doesn't show up in my list of VNs, so no joy there. Maybe there are considerations I haven't thought about there, but it seems like that would have been the easiest approach to making the 2 VNs communicate easily.
Thanks,
Johnny