Book Image

Azure Data Engineering Cookbook - Second Edition

By : Nagaraj Venkatesan, Ahmad Osama
Book Image

Azure Data Engineering Cookbook - Second Edition

By: Nagaraj Venkatesan, Ahmad Osama

Overview of this book

The famous quote 'Data is the new oil' seems more true every day as the key to most organizations' long-term success lies in extracting insights from raw data. One of the major challenges organizations face in leveraging value out of data is building performant data engineering pipelines for data visualization, ingestion, storage, and processing. This second edition of the immensely successful book by Ahmad Osama brings to you several recent enhancements in Azure data engineering and shares approximately 80 useful recipes covering common scenarios in building data engineering pipelines in Microsoft Azure. You’ll explore recipes from Azure Synapse Analytics workspaces Gen 2 and get to grips with Synapse Spark pools, SQL Serverless pools, Synapse integration pipelines, and Synapse data flows. You’ll also understand Synapse SQL Pool optimization techniques in this second edition. Besides Synapse enhancements, you’ll discover helpful tips on managing Azure SQL Database and learn about security, high availability, and performance monitoring. Finally, the book takes you through overall data engineering pipeline management, focusing on monitoring using Log Analytics and tracking data lineage using Azure Purview. By the end of this book, you’ll be able to build superior data engineering pipelines along with having an invaluable go-to guide.
Table of Contents (16 chapters)

Applying Azure tags using PowerShell to multiple Azure resources

Azure tags help us organize the Azure resources we have created in Azure data engineering projects. Tags add key-value pairs to resources, which can help us easily categorize the resources and identify them. For example, adding a tag with the key set to Environment and the value set to production for resources can help us identify all production environment resources in our tenant. You can add multiple tags to the same resource too. For example, you may have two tags with Environment and Project as keys. Environment helps identify the environment that the resource belongs to, while Project helps identify which project the resource is part of.

It is always good practice to add tags at the time of resource creation. However, in some scenarios, you may need to add tags to several resources after they have been created. In this recipe, we will use a PowerShell script to tag several resources in one go.

Getting ready...