Book Image

Azure Databricks Cookbook

By : Phani Raj, Vinod Jaiswal
Book Image

Azure Databricks Cookbook

By: Phani Raj, Vinod Jaiswal

Overview of this book

Azure Databricks is a unified collaborative platform for performing scalable analytics in an interactive environment. The Azure Databricks Cookbook provides recipes to get hands-on with the analytics process, including ingesting data from various batch and streaming sources and building a modern data warehouse. The book starts by teaching you how to create an Azure Databricks instance within the Azure portal, Azure CLI, and ARM templates. You’ll work through clusters in Databricks and explore recipes for ingesting data from sources, including files, databases, and streaming sources such as Apache Kafka and EventHub. The book will help you explore all the features supported by Azure Databricks for building powerful end-to-end data pipelines. You'll also find out how to build a modern data warehouse by using Delta tables and Azure Synapse Analytics. Later, you’ll learn how to write ad hoc queries and extract meaningful insights from the data lake by creating visualizations and dashboards with Databricks SQL. Finally, you'll deploy and productionize a data pipeline as well as deploy notebooks and Azure Databricks service using continuous integration and continuous delivery (CI/CD). By the end of this Azure book, you'll be able to use Azure Databricks to streamline different processes involved in building data-driven apps.
Table of Contents (12 chapters)

Deploying Azure Databricks in a VNet and accessing a secure storage account

In this recipe, you will learn how to deploy an Azure Databrick service in your own Virtual Network (VNet). Deploying Azure Databricks in a VNet enables you to connect to services such as Azure Storage over private endpoints. It also allows you to connect to on-premises data sources and restrict outgoing traffic. Control plane resources will be deployed to a Microsoft-managed VNet. Only data plane resources can be deployed in your own VNet.

Getting ready

Before you start this recipe, you need to create a VNet. To do so, follow the steps mentioned in the following article:

https://docs.microsoft.com/en-us/azure/virtual-network/quick-create-portal

Ensure you have created two subnets, including the IP range, with the names shown in the following screenshot in the VNet you have created. Provide CIDR ranges in a block up to /26 in size (for this recipe, since we are creating a small cluster) while providing...