Thanks for reaching out to Microsoft Q&A.
To copy data from an on-premises source to Azure Synapse using notebooks, you'll need to set up a self-hosted integration runtime. Here are the key steps:
- Create a self hosted integration runtime
- In Synapse, go to the "Manage" hub and select "Integration Runtimes" > Click "New" and choose "Self-hosted" as the integration runtime type
- Provide a name and select the appropriate compute location
- Install the integration runtime on an onprem machine
- Download and run the self-hosted integration runtime setup on a machine that can access your on-premises data source
- Register the runtime with the key provided in the Azure Synapse portal
- Create a linked service to your on-premises data source
- Create a new linked service and select your data source type
- Choose the self-hosted integration runtime created earlier and provide the connection details for your on-premises data source
- Use the linked service in your Synapse notebook
- In a Synapse notebook, create a DataFrame by reading from the on-premises data source using the linked service
- You can then process and transform the data as needed within the notebook
Additional requirements:
Network Connectivity(if not already setup)
- VPN/ExpressRoute: You need a secure network connection between your on-premises environment and Azure. This is typically done using a VPN Gateway or ExpressRoute. This allows your on-premises network to communicate with Azure Synapse securely.
- Private Endpoints: Ensure that your Synapse workspace is configured with private endpoints, allowing your on-premises environment to connect to Synapse securely over the private link.
Monitoring and Management
- Integration Runtime Monitoring: Monitor the performance and availability of your SHIR to ensure that data transfers are occurring as expected.
- Notebook Execution Monitoring: Track the progress of your notebook execution and handle any errors that may arise during the data transfer process.
Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.