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

Onboarding a Kubernetes cluster to Azure Arc

In order to onboard Kubernetes to Azure Arc, we need to create a service principal for authentication and deploy the Helm chart to deploy and configure the Azure Arc agents. We will continue to use Azure Cloud Shell for this section.

Registering the required resource providers

Azure Arc enabled Kubernetes requires the following ARM resource providers to be registered on your subscription. Please run the following commands in Cloud Shell to register the resource providers:

az provider register --namespace Microsoft.Kubernetes
az provider register --namespace Microsoft.KubernetesConfiguration

It may take 5 to 10 minutes for this operation to be completed. You can view the status by running the following commands:

az provider show -n Microsoft.Kubernetes -o table
az provider show -n Microsoft.KubernetesConfiguration -o table

The output of the preceding commands is as shown in the following screenshot:

...