Azure Databricks Cookbook
eBook - ePub

Azure Databricks Cookbook

Phani Raj, Vinod Jaiswal

Partager le livre
  1. 452 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Azure Databricks Cookbook

Phani Raj, Vinod Jaiswal

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

Get to grips with building and productionizing end-to-end big data solutions in Azure and learn best practices for working with large datasets

Key Features

  • Integrate with Azure Synapse Analytics, Cosmos DB, and Azure HDInsight Kafka Cluster to scale and analyze your projects and build pipelines
  • Use Databricks SQL to run ad hoc queries on your data lake and create dashboards
  • Productionize a solution using CI/CD for deploying notebooks and Azure Databricks Service to various environments

Book Description

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.

What you will learn

  • Read and write data from and to various Azure resources and file formats
  • Build a modern data warehouse with Delta Tables and Azure Synapse Analytics
  • Explore jobs, stages, and tasks and see how Spark lazy evaluation works
  • Handle concurrent transactions and learn performance optimization in Delta tables
  • Learn Databricks SQL and create real-time dashboards in Databricks SQL
  • Integrate Azure DevOps for version control, deploying, and productionizing solutions with CI/CD pipelines
  • Discover how to use RBAC and ACLs to restrict data access
  • Build end-to-end data processing pipeline for near real-time data analytics

Who this book is for

This recipe-based book is for data scientists, data engineers, big data professionals, and machine learning engineers who want to perform data analytics on their applications. Prior experience of working with Apache Spark and Azure is necessary to get the most out of this book.

]]>

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Azure Databricks Cookbook est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Azure Databricks Cookbook par Phani Raj, Vinod Jaiswal en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Data Modelling & Design. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2021
ISBN
9781789618556

Chapter 1: Creating an Azure Databricks Service

Azure Databricks is a high-performance Apache Spark-based platform that has been optimized for the Microsoft Azure cloud.
It offers three environments for building and developing data applications:
  • Databricks Data Science and Engineering: This provides an interactive workspace that enables collaboration between data engineers, data scientists, machine learning engineers, and business analysts and allows you to build big data pipelines.
  • Databricks SQL: This allows you to run ad hoc SQL queries on your data lake and supports multiple visualization types to explore your query results.
  • Databricks Machine Learning: Provides end-to-end machine learning environment for feature development, model training , experiment tracking along with model serving and management.
In this chapter, we will cover how to create an Azure Databricks service using the Azure portal, Azure CLI, and ARM templates. We will learn about different types of clusters available in Azure Databricks, how to create jobs, and how to use a personal access token (PAT) to authenticate Databricks.
By the end of this chapter, you will have learned how to create a Databricks service using the Azure portal, Azure CLI, and ARM templates and how to create different types of clusters. You will also start working with Notebooks and scheduling them as Databricks jobs. Finally, you will understand how to authenticate to Azure Databricks using a PAT.
We're going to cover the following recipes:
  • Creating a Databricks service in the Azure portal
  • Creating a Databricks service using the Azure CLI (Command-Line Interface)
  • Creating a Databricks Service using Azure Resource Manager (ARM) templates
  • Adding users and groups to the workspace
  • Creating a cluster from the user interface (UI)
  • Getting started with Notebooks and jobs in Azure Databricks
  • Authenticating to Databricks using a personal access token (PAT)

Technical requirements

To follow along with the examples in this chapter, you will need to have the following:
  • An Azure subscription
  • The Azure CLI installed on one of the following platforms:
    (a) For Windows (install the Azure CLI for Windows | Microsoft Docs https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli)
    (b) For Mac (install the Azure CLI for macOS | Microsoft Docs https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-macos)
    (c) For Linux (install the Azure CLI for Linux manually | Microsoft Docs https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt)
  • You can find the scripts for this chapter at https://github.com/PacktPublishing/Azure-Databricks-Cookbook/tree/main/Chapter01. The Chapter-01 folder contains the script for this chapter.
  • As an Azure AD user, you will need the Contributor role in your subscription and create the Azure Databricks service via the Azure portal. You must also be the admin of the Azure Databricks workspace.
  • The latest version of Power BI Desktop (https://www.microsoft.com/en-in/download/details.aspx?id=58494). We will use this to access Spark tables using PAT authentication.

Creating a Databricks workspace in the Azure portal

There are multiple ways we can create an Azure Databricks service. This recipe will focus on creating the service in the Azure portal. This method is usually used for learning purposes or ad hoc requests. The preferred methods for creating services are using the Azure PowerShell, Azure CLI and ARM templates.
By the end of this recipe, you will have learned how to create an Azure Databricks service instance using the Azure portal.

Getting ready

You will need access via a subscription to the service and have a Contributor role available in it.

How to do it


Follow these steps to create a Databricks service using the Azure portal:
  1. Log into the Azure portal (https://port...

Table des matiĂšres