Azure Data Engineering Cookbook
eBook - ePub

Azure Data Engineering Cookbook

Ahmad Osama

Share book
  1. 454 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Azure Data Engineering Cookbook

Ahmad Osama

Book details
Book preview
Table of contents
Citations

About This Book

Over 90 recipes to help you orchestrate modern ETL/ELT workflows and perform analytics using Azure services more easilyKey Features• Build highly efficient ETL pipelines using the Microsoft Azure Data services• Create and execute real-time processing solutions using Azure Databricks, Azure Stream Analytics, and Azure Data Explorer• Design and execute batch processing solutions using Azure Data FactoryBook DescriptionData engineering is one of the faster growing job areas as Data Engineers are the ones who ensure that the data is extracted, provisioned and the data is of the highest quality for data analysis. This book uses various Azure services to implement and maintain infrastructure to extract data from multiple sources, and then transform and load it for data analysis.It takes you through different techniques for performing big data engineering using Microsoft Azure Data services. It begins by showing you how Azure Blob storage can be used for storing large amounts of unstructured data and how to use it for orchestrating a data workflow. You'll then work with different Cosmos DB APIs and Azure SQL Database. Moving on, you'll discover how to provision an Azure Synapse database and find out how to ingest and analyze data in Azure Synapse. As you advance, you'll cover the design and implementation of batch processing solutions using Azure Data Factory, and understand how to manage, maintain, and secure Azure Data Factory pipelines. You'll also design and implement batch processing solutions using Azure Databricks and then manage and secure Azure Databricks clusters and jobs. In the concluding chapters, you'll learn how to process streaming data using Azure Stream Analytics and Data Explorer.By the end of this Azure book, you'll have gained the knowledge you need to be able to orchestrate batch and real-time ETL workflows in Microsoft Azure.What you will learn• Use Azure Blob storage for storing large amounts of unstructured data• Perform CRUD operations on the Cosmos Table API• Implement elastic pools and business continuity with Azure SQL Database• Ingest and analyze data using Azure Synapse Analytics• Develop Data Factory data flows to extract data from multiple sources• Manage, maintain, and secure Azure Data Factory pipelines• Process streaming data using Azure Stream Analytics and Data ExplorerWho this book is forThis book is for Data Engineers, Database administrators, Database developers, and extract, load, transform (ETL) developers looking to build expertise in Azure Data engineering using a recipe-based approach. Technical architects and database architects with experience in designing data or ETL applications either on-premise or on any other cloud vendor who wants to learn Azure Data engineering concepts will also find this book useful. Prior knowledge of Azure fundamentals and data engineering concepts is needed.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Azure Data Engineering Cookbook an online PDF/ePUB?
Yes, you can access Azure Data Engineering Cookbook by Ahmad Osama in PDF and/or ePUB format, as well as other popular books in Computer Science & Data Modelling & Design. We have over one million books available in our catalogue for you to explore.

Information

Year
2021
ISBN
9781800201545
Edition
1

Chapter 1: Working with Azure Blob Storage

Azure Blob storage is a highly scalable and durable object-based cloud storage solution from Microsoft. Blob storage is optimized to store large amounts of unstructured data such as log files, images, video, and audio.
It is an important data source in structuring an Azure data engineering solution. Blob storage can be used as a data source and destination. As a source, it can be used to stage unstructured data, such as application logs, images, and video and audio files. As a destination, it can be used to store the result of a data pipeline.
In this chapter, we'll learn to read, write, manage, and secure Azure Blob storage and will cover the following recipes:
  • Provisioning an Azure storage account using the Azure portal
  • Provisioning an Azure storage account using PowerShell
  • Creating containers and uploading files to Azure Blob storage using PowerShell
  • Managing blobs in Azure Storage using PowerShell
  • Managing an Azure blob snapshot in Azure Storage using PowerShell
  • Configuring blob life cycle management for blob objects using the Azure portal
  • Configuring a firewall for an Azure storage account using the Azure portal
  • Configuring virtual networks for an Azure storage account using the Azure portal
  • Configuring a firewall for an Azure storage account using PowerShell
  • Configuring virtual networks for an Azure storage account using PowerShell
  • Creating an alert to monitor an Azure storage account
  • Securing an Azure storage account with SAS using PowerShell

Technical requirements

For this chapter, the following are required:
  • An Azure subscription
  • Azure PowerShell
The code samples can be found at https://github.com/PacktPublishing/azure-data-engineering-cookbook.

Provisioning an Azure storage account using the Azure portal

In this recipe, we'll provision an Azure storage account using the Azure portal. Azure Blob storage is one of the four storage services available in Azure Storage. The other storage services are Table, Queue, and file share.

Getting ready

Before you start, open a web browser and go to the Azure portal at https://portal.azure.com.

How to do it…

The steps for this recipe are as follows:
  1. In the Azure portal, select Create a resource and choose Storage account – blob, file, table, queue (or, search for storage accounts in the search bar. Do not choose Storage accounts (classic)).
  2. A new page, Create storage account, will open. There are five tabs on the Create storage account page – Basics, Networking, Advanced, Tags, and Review + create.
  3. In the Basics tab, we need to provide the Azure Subscription, Resource group, Storage account name, Location, Performance, Account kind, Replication, and Access tier values, as shown in the following screenshot:
    Figure 1.1 – The Create storage account Basics tab
    Figure 1.1 – The Create storage account Basics tab
  4. In the Networking tab, we need to provide the connectivity method:
    Figure 1.2 – Create storage account – Networking
    Figure 1.2 – Create storage account – Networking
  5. In the Advanced tab, we need to select the Security, Azure Files, Data protection, and Data Lake Storage Gen2 settings:
    Figure 1.3 – Create storage account – Advanced
    Figure 1.3 – Create storage account – Advanced
  6. In the Review + create tab, review the configuration settings and select Create to provision the Azure storage account:
Figure 1.4 – Create storage account – Review + create
Figure 1.4 – Create storage account – Review + create

How it works…

The Azure storage account is deployed in the selected subscription, resource group, and location. The Performance tier can be either Standard or Premium. A Standard performance tier is a low-cost magnetic drive-backed storage. It's sui...

Table of contents