Introduction to Azure Data Factory - Azure Data Factory (2024)

  • Article

APPLIES TO: Introduction to Azure Data Factory - Azure Data Factory (1)Azure Data Factory Introduction to Azure Data Factory - Azure Data Factory (2)Azure Synapse Analytics

Tip

Try out Data Factory in Microsoft Fabric, an all-in-one analytics solution for enterprises. Microsoft Fabric covers everything from data movement to data science, real-time analytics, business intelligence, and reporting. Learn how to start a new trial for free!

In the world of big data, raw, unorganized data is often stored in relational, non-relational, and other storage systems. However, on its own, raw data doesn't have the proper context or meaning to provide meaningful insights to analysts, data scientists, or business decision makers.

Big data requires a service that can orchestrate and operationalize processes to refine these enormous stores of raw data into actionable business insights. Azure Data Factory is a managed cloud service that's built for these complex hybrid extract-transform-load (ETL), extract-load-transform (ELT), and data integration projects.

Usage scenarios

For example, imagine a gaming company that collects petabytes of game logs that are produced by games in the cloud. The company wants to analyze these logs to gain insights into customer preferences, demographics, and usage behavior. It also wants to identify up-sell and cross-sell opportunities, develop compelling new features, drive business growth, and provide a better experience to its customers.

To analyze these logs, the company needs to use reference data such as customer information, game information, and marketing campaign information that is in an on-premises data store. The company wants to utilize this data from the on-premises data store, combining it with additional log data that it has in a cloud data store.

To extract insights, it hopes to process the joined data by using a Spark cluster in the cloud (Azure HDInsight), and publish the transformed data into a cloud data warehouse such as Azure Synapse Analytics to easily build a report on top of it. They want to automate this workflow, and monitor and manage it on a daily schedule. They also want to execute it when files land in a blob store container.

Azure Data Factory is the platform that solves such data scenarios. It is the cloud-based ETL and data integration service that allows you to create data-driven workflows for orchestrating data movement and transforming data at scale. Using Azure Data Factory, you can create and schedule data-driven workflows (called pipelines) that can ingest data from disparate data stores. You can build complex ETL processes that transform data visually with data flows or by using compute services such as Azure HDInsight Hadoop, Azure Databricks, and Azure SQL Database.

Additionally, you can publish your transformed data to data stores such as Azure Synapse Analytics for business intelligence (BI) applications to consume. Ultimately, through Azure Data Factory, raw data can be organized into meaningful data stores and data lakes for better business decisions.

How does it work?

Data Factory contains a series of interconnected systems that provide a complete end-to-end platform for data engineers.

Introduction to Azure Data Factory - Azure Data Factory (3)

This visual guide provides a detailed overview of the complete Data Factory architecture:

To see more detail, select the preceding image to zoom in, or browse to the high resolution image.

Connect and collect

Enterprises have data of various types that are located in disparate sources on-premises, in the cloud, structured, unstructured, and semi-structured, all arriving at different intervals and speeds.

The first step in building an information production system is to connect to all the required sources of data and processing, such as software-as-a-service (SaaS) services, databases, file shares, and FTP web services. The next step is to move the data as needed to a centralized location for subsequent processing.

Without Data Factory, enterprises must build custom data movement components or write custom services to integrate these data sources and processing. It's expensive and hard to integrate and maintain such systems. In addition, they often lack the enterprise-grade monitoring, alerting, and the controls that a fully managed service can offer.

With Data Factory, you can use the Copy Activity in a data pipeline to move data from both on-premises and cloud source data stores to a centralization data store in the cloud for further analysis. For example, you can collect data in Azure Data Lake Storage and transform the data later by using an Azure Data Lake Analytics compute service. You can also collect data in Azure Blob storage and transform it later by using an Azure HDInsight Hadoop cluster.

Transform and enrich

After data is present in a centralized data store in the cloud, process or transform the collected data by using ADF mapping data flows. Data flows enable data engineers to build and maintain data transformation graphs that execute on Spark without needing to understand Spark clusters or Spark programming.

If you prefer to code transformations by hand, ADF supports external activities for executing your transformations on compute services such as HDInsight Hadoop, Spark, Data Lake Analytics, and Machine Learning.

CI/CD and publish

Data Factory offers full support for CI/CD of your data pipelines using Azure DevOps and GitHub. This allows you to incrementally develop and deliver your ETL processes before publishing the finished product. After the raw data has been refined into a business-ready consumable form, load the data into Azure Data Warehouse, Azure SQL Database, Azure Cosmos DB, or whichever analytics engine your business users can point to from their business intelligence tools.

Monitor

After you have successfully built and deployed your data integration pipeline, providing business value from refined data, monitor the scheduled activities and pipelines for success and failure rates. Azure Data Factory has built-in support for pipeline monitoring via Azure Monitor, API, PowerShell, Azure Monitor logs, and health panels on the Azure portal.

Top-level concepts

An Azure subscription might have one or more Azure Data Factory instances (or data factories). Azure Data Factory is composed of the following key components:

  • Pipelines
  • Activities
  • Datasets
  • Linked services
  • Data Flows
  • Integration Runtimes

These components work together to provide the platform on which you can compose data-driven workflows with steps to move and transform data.

Pipeline

A data factory might have one or more pipelines. A pipeline is a logical grouping of activities that performs a unit of work. Together, the activities in a pipeline perform a task. For example, a pipeline can contain a group of activities that ingests data from an Azure blob, and then runs a Hive query on an HDInsight cluster to partition the data.

The benefit of this is that the pipeline allows you to manage the activities as a set instead of managing each one individually. The activities in a pipeline can be chained together to operate sequentially, or they can operate independently in parallel.

Mapping data flows

Create and manage graphs of data transformation logic that you can use to transform any-sized data. You can build-up a reusable library of data transformation routines and execute those processes in a scaled-out manner from your ADF pipelines. Data Factory will execute your logic on a Spark cluster that spins-up and spins-down when you need it. You won't ever have to manage or maintain clusters.

Activity

Activities represent a processing step in a pipeline. For example, you might use a copy activity to copy data from one data store to another data store. Similarly, you might use a Hive activity, which runs a Hive query on an Azure HDInsight cluster, to transform or analyze your data. Data Factory supports three types of activities: data movement activities, data transformation activities, and control activities.

Datasets

Datasets represent data structures within the data stores, which simply point to or reference the data you want to use in your activities as inputs or outputs.

Linked services

Linked services are much like connection strings, which define the connection information that's needed for Data Factory to connect to external resources. Think of it this way: a linked service defines the connection to the data source, and a dataset represents the structure of the data. For example, an Azure Storage-linked service specifies a connection string to connect to the Azure Storage account. Additionally, an Azure blob dataset specifies the blob container and the folder that contains the data.

Linked services are used for two purposes in Data Factory:

  • To represent a data store that includes, but isn't limited to, a SQL Server database, Oracle database, file share, or Azure blob storage account. For a list of supported data stores, see the copy activity article.

  • To represent a compute resource that can host the execution of an activity. For example, the HDInsightHive activity runs on an HDInsight Hadoop cluster. For a list of transformation activities and supported compute environments, see the transform data article.

Integration Runtime

In Data Factory, an activity defines the action to be performed. A linked service defines a target data store or a compute service. An integration runtime provides the bridge between the activity and linked Services. It's referenced by the linked service or activity, and provides the compute environment where the activity either runs on or gets dispatched from. This way, the activity can be performed in the region closest possible to the target data store or compute service in the most performant way while meeting security and compliance needs.

Triggers

Triggers represent the unit of processing that determines when a pipeline execution needs to be kicked off. There are different types of triggers for different types of events.

Pipeline runs

A pipeline run is an instance of the pipeline execution. Pipeline runs are typically instantiated by passing the arguments to the parameters that are defined in pipelines. The arguments can be passed manually or within the trigger definition.

Parameters

Parameters are key-value pairs of read-only configuration.  Parameters are defined in the pipeline. The arguments for the defined parameters are passed during execution from the run context that was created by a trigger or a pipeline that was executed manually. Activities within the pipeline consume the parameter values.

A dataset is a strongly typed parameter and a reusable/referenceable entity. An activity can reference datasets and can consume the properties that are defined in the dataset definition.

A linked service is also a strongly typed parameter that contains the connection information to either a data store or a compute environment. It is also a reusable/referenceable entity.

Control flow

Control flow is an orchestration of pipeline activities that includes chaining activities in a sequence, branching, defining parameters at the pipeline level, and passing arguments while invoking the pipeline on-demand or from a trigger. It also includes custom-state passing and looping containers, that is, For-each iterators.

Variables

Variables can be used inside of pipelines to store temporary values and can also be used in conjunction with parameters to enable passing values between pipelines, data flows, and other activities.

Related content

Here are important next step documents to explore:

  • Dataset and linked services
  • Pipelines and activities
  • Integration runtime
  • Mapping Data Flows
  • Data Factory UI in the Azure portal
  • Copy Data tool in the Azure portal
  • PowerShell
  • .NET
  • Python
  • REST
  • Azure Resource Manager template
Introduction to Azure Data Factory - Azure Data Factory (2024)

FAQs

What is Azure Data Factory in Azure? ›

Azure Data Factory is Azure's cloud ETL service for scale-out serverless data integration and data transformation.

What is Azure Data Factory for beginners? ›

Azure Data Factory is a cloud-based ETL and data integration service that allows us to create data-driven pipelines for orchestrating data movement and transforming data at scale.

How many days will it take to learn Azure Data Factory? ›

Your accelerated 2-day Azure Academy course will teach you how to unleash the analytics power of Azure Data Lake and Data Factory.

What are the prerequisites to learn Azure Data Factory? ›

To effectively learn Azure Data Factory, it's recommended to have a basic understanding of:
  • Cloud computing concepts and Azure fundamentals.
  • Data storage and processing technologies.
  • SQL and data querying languages.
  • ETL (Extract, Transform, Load) concepts and data integration patterns.
Apr 15, 2024

What is the difference between ETL and Azure Data Factory? ›

The ETL tool also has to be maintained and upgraded when necessary. Azure Data Factory on the other hand is a cloud-based, serverless service that doesn't require any hardware or any installation. Since no server is required, no monitoring or managing is needed.

Why do you need Azure Data Factory? ›

Azure Data Factory can help organizations looking to modernize SSIS. Gain up to 88 percent cost savings with Azure Hybrid Benefit. Enjoy the only fully compatible data integration service that makes it easy to move all your SSIS packages to the cloud.

Which 3 types of activities can you run in Microsoft Azure data Factory? ›

Data Factory supports three types of activities: data movement activities, data transformation activities, and control activities.

Is Azure Data Factory PaaS or SaaS? ›

Azure Data Factory (or ADF) is a cloud-based PaaS (Platform as a Service) offered by the Microsoft Azure platform. The pre-built connectors make the tool suitable for hybrid Extract-Load-Transform (ELT), Extract-Transform-Load (ETL), and other data integration pipelines.

What kind of tool is Azure Data Factory? ›

Azure Data Factory is a user interface tool which offers a very graphical overview to create/manage activities and pipelines. It doesn't require coding skills, yet complex transformation will require Azure Data Factory experience.

What is the salary of Azure Data Factory? ›

The average azure data factory salary in India is ₹ 2,000,000 per year or ₹ 801 per hour.

Can I learn Azure without coding? ›

Yes, someone with little to no coding experience can still work with Microsoft Azure AI. They can use pre-built AI models and services such as Azure Cognitive Services without needing to write code.

Is Azure Data Factory in demand? ›

Azure Data Factory (ADF) is one of the in-demand data engineering tool in the Cloud.

What is Azure Data Factory step by step? ›

Step 1: Click on create a resource and search for Data Factory then click on create. Step 2: Provide a name for your data factory, select the resource group, and select the location where you want to deploy your data factory and the version. Step 3: After filling all the details, click on create.

Can I run Python in Azure Data Factory? ›

This tutorial walks you through creating and running an Azure Data Factory pipeline that runs an Azure Batch workload. A Python script runs on the Batch nodes to get comma-separated value (CSV) input from an Azure Blob Storage container, manipulate the data, and write the output to a different storage container.

What is the basic of Azure Data Factory? ›

It is the cloud-based ETL and data integration service that allows you to create data-driven workflows for orchestrating data movement and transforming data at scale. Using Azure Data Factory, you can create and schedule data-driven workflows (called pipelines) that can ingest data from disparate data stores.

What is role for Azure Data Factory? ›

Scope of the Data Factory Contributor role

Create, edit, and delete data factories and child resources including datasets, linked services, pipelines, triggers, and integration runtimes. Deploy Resource Manager templates. Resource Manager deployment is the deployment method used by Data Factory in the Azure portal.

Is Azure Data Lake and Azure Data Factory same? ›

Azure Data Lake Storage Gen2 is a set of capabilities dedicated to big data analytics, built into Azure Blob storage. It allows you to interface with your data using both file system and object storage paradigms. Azure Data Factory (ADF) is a fully managed cloud-based data integration service.

What is Azure Data Factory vs DataBricks? ›

The biggest difference is that Azure Data Factory is a fully managed service, while DataBricks is an on-premises software. This means that you have to take care of your own infrastructure with DataBricks, but it also allows you more control over the data pipeline because you can customize it to fit your needs.

Top Articles
Merchant ID Numbers: The Basics | MIDs | SeamlessChex
Inequalities - Math Steps, Examples & Questions
Devin Mansen Obituary
Compare Foods Wilson Nc
Dlnet Retiree Login
Part time Jobs in El Paso; Texas that pay $15, $25, $30, $40, $50, $60 an hour online
What is Mercantilism?
Citibank Branch Locations In Orlando Florida
Aadya Bazaar
PontiacMadeDDG family: mother, father and siblings
Employeeres Ual
Grand Park Baseball Tournaments
Xm Tennis Channel
Morgan Wallen Pnc Park Seating Chart
อพาร์ทเมนต์ 2 ห้องนอนในเกาะโคเปนเฮเกน
Breakroom Bw
Download Center | Habasit
Daily Voice Tarrytown
London Ups Store
Dumb Money, la recensione: Paul Dano e quel film biografico sul caso GameStop
Divina Rapsing
Lowes Undermount Kitchen Sinks
eHerkenning (eID) | KPN Zakelijk
Viha Email Login
Buying Cars from Craigslist: Tips for a Safe and Smart Purchase
How to Watch Every NFL Football Game on a Streaming Service
Craigslist Pennsylvania Poconos
Stihl Dealer Albuquerque
Cpt 90677 Reimbursem*nt 2023
Drying Cloths At A Hammam Crossword Clue
Meowiarty Puzzle
Red Sox Starting Pitcher Tonight
Gasbuddy Lenoir Nc
Gwen Stacy Rule 4
Haley Gifts :: Stardew Valley
Tamilyogi Ponniyin Selvan
Final Exam Schedule Liberty University
Quake Awakening Fragments
The Boogeyman Showtimes Near Surf Cinemas
SOC 100 ONL Syllabus
Studentvue Columbia Heights
Snohomish Hairmasters
Myanswers Com Abc Resources
Compare Plans and Pricing - MEGA
How much does Painttool SAI costs?
Husker Football
18006548818
Rage Of Harrogath Bugged
Greg Steube Height
Walmart Listings Near Me
Craigslist Pet Phoenix
Latest Posts
Article information

Author: Msgr. Refugio Daniel

Last Updated:

Views: 5738

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Msgr. Refugio Daniel

Birthday: 1999-09-15

Address: 8416 Beatty Center, Derekfort, VA 72092-0500

Phone: +6838967160603

Job: Mining Executive

Hobby: Woodworking, Knitting, Fishing, Coffee roasting, Kayaking, Horseback riding, Kite flying

Introduction: My name is Msgr. Refugio Daniel, I am a fine, precious, encouraging, calm, glamorous, vivacious, friendly person who loves writing and wants to share my knowledge and understanding with you.