I have created a pipeline in Azure data factory. I want to copy data from SQL server hosted in my local machine. In Azure we can connect to any cloud services but we cannot connect on-premises sources. To achieve this functionality follow the steps.
Make data easy with Helical Insight.
Helical Insight is world’s best open source business intelligence tool.
- Install and configure an on-premises data gateway – An on-premises data gateway is required to connect on-premises data sources in Azure Analysis services.
- Download gateway using link Gateway
- Install and Run Setup
- Select on premises gateway (recommended mode)
- Select a folder to install, accept terms and click on install
- Sign in to Azure. Use the same account as Azure Active Directory
- Register gateway – To create gateway resource in Azure, we need to register the local instance installed
- Select “Register a new gateway on this computer”
- Enter a name and recovery key for gateway. By default, gateway uses azure active services default region, if you need to select different region then click on Change Region
- After installing and registering a gateway, we need to restart the gateway. Click on Restart now
- After restarting, now gateway is ready to use in Azure services. Now we need to Create gateway resource in Azure
- Create an Azure gateway resource
- Log into azure portal, click on create resource and search on premises data gateway. Click on Create
- In next window enter required details like name, subscription, select gateway installed.
- Click on Create and On premises gateway is created in Azure.
- Connecting SQL server in Azure data factory
- Open existed or new azure data factory and click on Author and Monitor
- On the left side we have three menu options. Click on Author
- Here we have Connections option at the bottom. Click on that and It will be open list existed linked services details and integration runtimes
- Click on Integration runtimes tab. This will be connect SQL server installed on premises
- Click on New and Select “Perform data movement and dispatch activities to external computes.” Click on Continue
- Select “Self Hosted” and click on Continue
- Enter the name and click on Create. This open a new window with two options I.e Express Setup and Manual Setup and with two authentication keys. Copy the keys and store
- Select option 2 manual setup. Click on Download and install integration runtime
- Integration runtime application will be downloaded. Click on Install
- Enter name and any one of authentication key which we copied in above steps. Click on OK
- After installation successful it will show in tab with the status as Running
- Click on Linked Services tab. Click on New Connection and it will open a list of available data stores. Select SQL server and click on Continue
- Enter the name. To connect SQL server installed in local machine here we need to select connect via integration runtime. Here select the integration runtime which we installed in above steps
- Enter the database connection details like host name, database name, user credentials
- Click on Test Connection and click on Create
- SQL server will be created and it will be appear in the linked services tab
Make data easy with Helical Insight.
Helical Insight is world’s best open source business intelligence tool.
In case if you have any queries please get us at support@helicaltech.com
Thank You
Ramu Vudugula
BI Developer
Helical IT Solutions Pvt Ltd
Best Open Source Business Intelligence Software Helical Insight Here
A Business Intelligence Framework
Best Open Source Business Intelligence Software Helical Insight is Here