Configuring a self-hosted IR
In this recipe, we’ll learn how to configure a self-hosted IR and then use the IR to copy files from on-premises to Azure Storage using the Copy data activity.
Getting ready
To get started, do the following:
- Log in to https://portal.azure.com using your Azure credentials.
- Open a new PowerShell prompt and execute the following command to log into your Azure account from PowerShell:
Connect-AzAccount
- You will need an existing Data Factory account. If you don’t have one, create one by executing the following PowerShell script:
$resourceGroupName = "PacktADE"; $location = 'east us' $dataFactoryName = "ADFPacktADE2"; $DataFactory = Set-AzDataFactoryV2 -ResourceGroupName $resourceGroupName -Location $location -Name $dataFactoryName
How to do it…
To configure a self-hosted IR, follow these steps:
- In the Azure portal, open Data Factory, and then open the Manage tab: