Book Image

Implementing Hybrid Cloud with Azure Arc

By : Amit Malik, Daman Kaur
Book Image

Implementing Hybrid Cloud with Azure Arc

By: Amit Malik, Daman Kaur

Overview of this book

With all the options available for deploying infrastructure on multi-cloud platforms and on-premises comes the complexity of managing it, which is adeptly handled by Azure Arc. This book will show you how you can manage environments across platforms without having to migrate workloads from on-premises or multi-cloud to Azure every time. Implementing Hybrid Cloud with Azure Arc starts with an introduction to Azure Arc and hybrid cloud computing, covering use cases and various supported topologies. You'll learn to set up Windows and Linux servers as Arc-enabled machines and get to grips with deploying applications on Kubernetes clusters with Azure Arc and GitOps. The book then demonstrates how to onboard an on-premises SQL Server infrastructure as an Arc-enabled SQL Server and deploy and manage a hyperscale PostgreSQL infrastructure on-premises through Azure Arc. Along with deployment, the book also covers security, backup, migration, and data distribution aspects. Finally, it shows you how to deploy and manage Azure's data services on your own private cloud and explore multi-cloud solutions with Azure Arc. By the end of this book, you'll have a firm understanding of Azure Arc and how it interacts with various cutting-edge technologies such as Kubernetes and PaaS data services.
Table of Contents (12 chapters)
1
Section 1: Azure Arc Enabled Infrastructure
6
Section 2: Azure Arc Enabled Data Services
9
Section 3: Azure Arc Enabled Multi-Cloud Governance

Deploying an Azure Arc data controller (direct mode)

In this section, we will set up an Azure Arc data controller in direct connectivity mode on our AKS cluster. Let's start by preparing the prerequisites for direct mode.

Preparing prerequisites for direct mode

Using direct mode requires additional prerequisites, including Azure CLI extensions and service principal name (SPN), among others. Let's start by installing the required extensions in your CLI session, as follows:

  1. Launch Azure Cloud Shell (https://shell.azure.com).
  2. Install the required Azure CLI extensions by running the following commands:
    az extension add --name connectedk8s
    az extension add --name k8s-configuration
    az extension add --name k8s-extension
    az extension add --name customlocation
  3. Create a service principal with rights to upload data to Azure Monitor. Please refer to Chapter 5, Azure Arc Enabled PostgreSQL Hyperscale, to follow instructions on how to create this. Please make a note...