Table of Contents About the Authors Acknowledgments Foreword Introduction Chapter 1: A Kubernetes Primer Introducing Kubernetes Benefits of Kubernetes The Kubernetes API API Objects API Server Core Kubernetes API Primitives Pods Controllers Services Storage Storage Provisioning Kubernetes Cluster Components Exploring Kubernetes Cluster Architecture Control Plane Nodes Worker Node Understanding Scheduling and Resource Allocation Scheduling in Kubernetes Resource Consumption Networking Fundamentals Kubernetes Network Model Rules Communication Patterns Kubernetes Role in Azure Arc-enabled Data Services Summary and Key Takeaways Chapter 2: Azure Arc-enabled Data Services The Challenge Introducing Azure Arc Azure Arc-enabled Resources Azure Arc-enabled Servers Azure Arc-enabled Kubernetes Azure Arc-enabled SQL Server Azure Arc-enabled Data Services Tooling Azure Tools Native Tools Introducing Azure Arc-enabled Data Services Azure Arc-enabled Data Services Architecture Hardware Layer Kubernetes Layer Azure Arc Management Control Plane Layer Data Services Layer Azure Arc Management Control Plane Layer: A Closer Look Indirectly Connected Mode Directly Connected Mode Azure Arc-enabled Data Services Management Functions Data Services Layer: A Closer Look Azure Arc-enabled SQL Managed Instance Azure Arc-enabled PostgreSQL Hyperscale Deployment Sizing Considerations Compute Storage Summary and Key Takeaways Chapter 3: Getting Ready for Deployment Prerequisites Chocolatey Tools on Windows Tools on Ubuntu Getting Azure Data Studio Ready azure-cli Extensions and Providers Have a Resource Group in Azure Summary and Key Takeaways Chapter 4: Installing Kubernetes Installation Considerations and Methods Where to Deploy? Further Considerations Installation Methods Additional Options Installation Requirements Network Requirements Getting Kubernetes Building a Self-Managed Cluster Virtual Machine-Based Kubernetes Cluster Requirements Getting the VMs Ready Virtual Machine Network Configuration System Swap Settings Software Package Installation Installing and Configuring containerd Installing and Configuring Kubernetes Packages Creating a Control Plane Pod Networking Bootstrapping Your Control Plane Deploying a Pod Network Adding Nodes to a Cluster Provisioning Storage in Your Cluster Accessing Your Cluster with kubectl Renaming a kubeconfig Context From a Windows Workstation From a Linux Workstation Summary Chapter 5: Deploying a Data Controller in Indirect Mode Deciding on a Kubernetes Storage Class Deployment Through the Command Line Deployment Through Azure Data Studio Summary and Key Takeaways Chapter 6: Deploying a Data Controller in Direct Mode Get Your Kubernetes Cluster Azure Arc-enabled Get Your Azure Subscription Ready Deploy a Direct Mode Data Controller Summary and Key Takeaways Chapter 7: Deploying an Azure Arc-enabled SQL Managed Instance Deployment Through the azure-cli Deployment Through Azure Data Studio Deployment Through Kubernetes Tools Deployment Through the Azure Portal Active Directory Authentication Getting Data into Your Instance Copying Backup Files into Your Instance Restoring Backup Files in Your Instance Managed Backup and Restore Removing a Deployed Managed Instance Summary and Key Takeaways Chapter 8: Deploying Azure Arc-enabled PostgreSQL Hyperscale Deployment Through the Command Line Deployment Through Azure Data Studio Scale Up of a Server Group Removing a Deployed Server Group Summary and Key Takeaways Chapter 9: Monitoring and Management Monitoring Through the Data Controller Retrieving Endpoints Metrics (Grafana Dashboard) Log Search Analytics (Kibana) Monitoring Through the Azure Portal Directly Connected Mode Indirectly Connected Mode Preparing for Upload Uploading Logs, Usage, and Metrics Monitor Your Resources in the Azure Portal Upgrading Azure Arc-enabled Data Services Summary and Key Takeaways Index Get introduced to Azure Arc-enabled Data Services and the powerful capabilities to deploy and manage local, on-premises, and hybrid cloud data resources using the same centralized management and tooling you get from the Azure cloud. This book shows how you can deploy and manage databases running on SQL Server and Postgres in your corporate data center or any cloud as if they were part of the Azure platform. This second edition has been updated to the latest codebase, allowing you to use this book as your handbook to get started with Azure Arc-enabled Data Services today. Learn how to benefit from Azure's centralized management, the automated rollout of patches and updates, managed backups, and more. This book is the perfect choice for anyone looking for a hybrid or multi-vendor cloud strategy for their data estate. The authors walk you through the possibilities and requirements to get Azure SQL Managed Instance and PostgresSQL Hyperscale deployed outside of Azure, so the services are accessible to companies that cannot move to the cloud or do not want to use the Microsoft cloud exclusively. The technology described in this book will benefit those required to keep sensitive services, such as medical databases, away from the public cloud equally as those who can't move to a public cloud for other reasons such as infrastructure constraints but still want to benefit from the Azure cloud and the centralized management and tooling that it supports. What You Will Learn Understand the fundamentals and architecture of Azure Arc-enabled data services Build a multi-cloud strategy based on Azure Data Services Deploy Azure Arc-enabled data services on premises or in any cloud Deploy Azure Arc-enabled SQL Managed Instance on premises or in any cloud Deploy Azure Arc-enabled PostgreSQL Hyperscale on premises or in any cloud Backup and Restore your data that is managed by Azure Arc-enabled data services Manage Azure-enabled data services running outside of Azure Monitor Azure-enabled data services through Grafana and Kibana Monitor Azure-enabled data services running outside of Azure through Azure Monitor Who This Book Is For Database administrators and architects who want to manage on-premises or hybrid cloud data resources from the Microsoft Azure cloud. Especially for those wishing to take advantage of cloud technologies while keeping sensitive data on premises and under physical control. Get introduced to Azure Arc-enabled Data Services and the powerful capabilities to deploy and manage local, on-premises, and hybrid cloud data resources using the same centralized management and tooling you get from the Azure cloud. This book shows how you can deploy and manage databases running on SQL Server and Postgres in your corporate data center or any cloud as if they were part of the Azure platform. This second edition has been updated to the latest codebase, allowing you to use this book as your handbook to get started with Azure Arc-enabled Data Services today. Learn how to benefit from Azure's centralized management, the automated rollout of patches and updates, managed backups, and more. This book is the perfect choice for anyone looking for a hybrid or multi-vendor cloud strategy for their data estate. The authors walk you through the possibilities and requirements to get Azure SQL Managed Instance and PostgresSQL Hyperscale deployed outside of Azure, so the services are accessible to companies that cannot move to the cloud or do not want to use the Microsoft cloud exclusively. The technology described in this book will benefit those required to keep sensitive services, such as medical databases, away from the public cloud equally as those who can{u2019}t move to a public cloud for other reasons such as infrastructure constraints but still want to benefit from the Azure cloud and the centralized management and tooling that it supports. What You Will Learn Understand the fundamentals and architecture of Azure Arc-enabled data services Build a multi-cloud strategy based on Azure Data Services Deploy Azure Arc-enabled data services on premises or in any cloud Deploy Azure Arc-enabled SQL Managed Instance on premises or in any cloud Deploy Azure Arc-enabled PostgreSQL Hyperscale on premises or in any cloud Backup and Restore your data that is managed by Azure Arc-enabled data services Manage Azure-enabled data services running outside of Azure Monitor Azure-enabled data services through Grafana and Kibana Monitor Azure-enabled data services running outside of Azure through Azure Monitor