Implementing Hybrid Cloud with Azure Arc: Explore the new-generation hybrid cloud and learn how to build Azure Arc-enabled solutions
By Amit Malik, Daman Kaur and Raja N
()
About this ebook
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.
Read more from Amit Malik
Migrating Applications to the Cloud with Azure: Re-architect and rebuild your applications using cloud-native technologies Rating: 0 out of 5 stars0 ratingsBuilding Clouds with Windows Azure Pack Rating: 0 out of 5 stars0 ratings
Related to Implementing Hybrid Cloud with Azure Arc
Related ebooks
Optimizing Microsoft Azure Workloads: Leverage the Well-Architected Framework to boost performance, scalability, and cost efficiency Rating: 0 out of 5 stars0 ratingsMastering Multi-Cloud Paradigm for Enterprises Rating: 0 out of 5 stars0 ratingsDemystifying the Azure Well-Architected Framework: Guiding Principles and Design Best Practices for Azure Workloads Rating: 0 out of 5 stars0 ratingsAzure Cloud Adoption Framework Handbook: A comprehensive guide to adopting and governing the cloud for your digital transformation Rating: 0 out of 5 stars0 ratingsThe Azure Cloud Native Architecture Mapbook: Explore Microsoft Cloud's infrastructure, application, data, and security architecture Rating: 0 out of 5 stars0 ratingsArchitecting Cloud-Native Serverless Solutions: Design, build, and operate serverless solutions on cloud and open source platforms Rating: 0 out of 5 stars0 ratingsAzure Architecture Explained: A comprehensive guide to building effective cloud solutions Rating: 0 out of 5 stars0 ratingsA Developer's Guide to .NET in Azure: Build quick, scalable cloud-native applications and microservices with .NET 6.0 and Azure Rating: 0 out of 5 stars0 ratingsHardening Azure Applications: Techniques and Principles for Building Large-Scale, Mission-Critical Applications Rating: 0 out of 5 stars0 ratingsMastering Azure Rating: 0 out of 5 stars0 ratingsAzure Integration Guide for Business: Master effective architecture strategies for business innovation Rating: 0 out of 5 stars0 ratingsAzure Containers Explained: Leverage Azure container technologies for effective application migration and deployment Rating: 0 out of 5 stars0 ratingsAzure for Developers.: Implement rich Azure PaaS ecosystems using containers, serverless services, and storage solutions Rating: 0 out of 5 stars0 ratingsKubernetes Secrets Handbook: Design, implement, and maintain production-grade Kubernetes Secrets management solutions Rating: 0 out of 5 stars0 ratingsHands-On Azure for Developers: Implement rich Azure PaaS ecosystems using containers, serverless services, and storage solutions Rating: 0 out of 5 stars0 ratingsAzure Stack Hub Demystified: Building hybrid cloud, IaaS, and PaaS solutions Rating: 0 out of 5 stars0 ratingsAzure for Decision Makers: The essential guide to Azure for business leaders Rating: 0 out of 5 stars0 ratingsOptimizing Your Modernization Journey with AWS: Best practices for transforming your applications and infrastructure on the cloud Rating: 0 out of 5 stars0 ratingsMastering Azure Machine Learning.: Execute large-scale end-to-end machine learning with Azure Rating: 0 out of 5 stars0 ratingsVMware Cross-Cloud Architecture: Automate and orchestrate your Software-Defined Data Center on AWS Rating: 0 out of 5 stars0 ratingsMulti-Cloud Strategy for Cloud Architects: Learn how to adopt and manage public clouds by leveraging BaseOps, FinOps, and DevSecOps Rating: 0 out of 5 stars0 ratingsHands-On Networking with Azure: Build large-scale, real-world apps using Azure networking solutions Rating: 0 out of 5 stars0 ratingsModernizing Legacy Applications to Microsoft Azure: Plan and execute your modernization journey seamlessly Rating: 0 out of 5 stars0 ratings
Software Development & Engineering For You
Python For Dummies Rating: 4 out of 5 stars4/5Agile Practice Guide Rating: 4 out of 5 stars4/5Coding with AI For Dummies Rating: 0 out of 5 stars0 ratingsBlender 3D Printing Essentials Rating: 0 out of 5 stars0 ratingsHand Lettering on the iPad with Procreate: Ideas and Lessons for Modern and Vintage Lettering Rating: 4 out of 5 stars4/5Adobe Illustrator CC For Dummies Rating: 5 out of 5 stars5/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Managing Humans: Biting and Humorous Tales of a Software Engineering Manager Rating: 4 out of 5 stars4/5Learning Python Rating: 5 out of 5 stars5/5Coding All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsHacking for Beginners: Mastery Guide to Learn and Practice the Basics of Computer and Cyber Security Rating: 0 out of 5 stars0 ratingsLearn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5After Steve: How Apple Became a Trillion-Dollar Company and Lost Its Soul Rating: 4 out of 5 stars4/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Beginning Programming For Dummies Rating: 4 out of 5 stars4/5SQL For Dummies Rating: 0 out of 5 stars0 ratingsHow Do I Do That in Photoshop?: The Quickest Ways to Do the Things You Want to Do, Right Now! Rating: 4 out of 5 stars4/5How Do I Do That In InDesign? Rating: 5 out of 5 stars5/5Gray Hat Hacking the Ethical Hacker's Rating: 5 out of 5 stars5/5Lua Game Development Cookbook Rating: 0 out of 5 stars0 ratingsFlutter For Dummies Rating: 0 out of 5 stars0 ratingsLevel Up! The Guide to Great Video Game Design Rating: 4 out of 5 stars4/5Wordpress 2023 A Beginners Guide : Design Your Own Website With WordPress 2023 Rating: 0 out of 5 stars0 ratingsPython Handbook For Beginners. A Hands-On Crash Course For Kids, Newbies and Everybody Else Rating: 0 out of 5 stars0 ratingsKodi Made Easy: Complete Beginners Step by Step Guide on How to Install Kodi on Amazon Firestick Rating: 0 out of 5 stars0 ratingsThe Inmates Are Running the Asylum (Review and Analysis of Cooper's Book) Rating: 4 out of 5 stars4/5Beginning C++ Game Programming - Second Edition: Learn to program with C++ by building fun games, 2nd Edition Rating: 0 out of 5 stars0 ratings
Reviews for Implementing Hybrid Cloud with Azure Arc
0 ratings0 reviews
Book preview
Implementing Hybrid Cloud with Azure Arc - Amit Malik
BIRMINGHAM—MUMBAI
Implementing Hybrid Cloud with Azure Arc
Copyright © 2021 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Group Product Manager: Wilson D'souza
Publishing Product Manager: Rahul Nair
Senior Editor: Shazeen Iqbal
Content Development Editor: Romy Dias
Technical Editor: Nithik Cheruvakodan
Copy Editor: Safis Editing
Project Coordinator: Shagun Saini
Proofreader: Safis Editing
Indexer: Manju Arasan
Production Designer: Sinhayna Bais
First published: June 2021
Production reference: 1170621
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-80107-600-5
www.packt.com
To my parents, Sunita and Sat Prakash Malik
– Amit Malik
To my parents, Pardeep and Kawaljeet S Sachdeva, and all the girls who dream big...
– Daman Kaur
Foreword
Having had the pleasure of knowing and working with Daman in her role as an SME, I can attest to her intensity of her tech knowledge and specialization in a wide variety of Data and AI services Infrastructure, especially Cloud, Hybrid, Kubernetes, and Big Data solutions. In this book, Daman guides you through a comprehensive learning journey, diving into Azure Arc. The book covers topics ranging from initial setup to implementing best practices for various use cases.
Since the launch of Azure Arc in mid-2020, it has continued to evolve rapidly through innovation to meet customer and market needs, and has reached the point at which we can manage and operate on-prem and poly cloud infrastructure and run various Azure services on that infrastructure as it would run on Azure Hyper cloud, all of which can be achieved through the familiar Azure control plane.
During this evolution, Daman has focused on researching and mastering Health, Compliance, and Resiliency feature releases. She is an excellent learner and advocate who supports successful adoption of applications and their unified management across Azure Arc enabled Servers, SQL and Postgres, and Kubernetes.
In her examples, Daman demonstrates the ease with which one can install, configure, and manage a wide range of hybrid and poly cloud infrastructure under Azure Arc to bring Azure services on those infrastructure with a single familiar Azure control plane. Daman also helps administrators and developers create and optimally manage the Azure Arc in an automated, secure, and compliant manner. She covers Monitoring, striking Consistency across on-prem, Edge and Cloud with full resiliency, backup, and migration all of which, supported by practical examples.
Implementing Hybrid Cloud with Azure Arc presents a comprehensive introduction to Azure Arc and hybrid cloud computing, including use cases and supported topologies. Topics include instruction on setting up Windows and Linux servers as Arc-enabled machines and allowing readers to get to grips with deploying applications on Kubernetes clusters with Azure Arc and GitOps. The book then demonstrates how to onboard an on-prem SQL Server infrastructure as an Arc-enabled SQL Server and deploy a hyperscale PostgreSQL infrastructure on-prem through Azure Arc. This book further includes a thorough overview of deployment and management of Azure's data services on your chosen Infrastructure.
As an entertaining presenter, active community contributor, and passionate advocate, Daman imparts the knowledge and experience gained through this period of progressive innovation. With her words, step-by-step instructions, screenshots, source code snippets, examples, and links to additional sources of information, mplementing Hybrid Cloud with Azure Arc facilitates a continual enhancement of skills that enables successful adoption and operation of Azure Arc environment.
Become a hybrid poly cloud whiz with Azure Arc and host powerful and familiar Azure services on multiple infrastructure including on-prem. Harness the power of Azure Arc and its integration with cutting-edge technologies such as Kubernetes and PaaS data services.
Raja N
Director – Customer Success,
Microsoft
Contributors
About the authors
Amit Malik is an IT enthusiast and technology evangelist focused on the cloud and emerging technologies. He is currently employed by Spektra Systems as the chief operating officer, where he helps Microsoft partners grow their cloud businesses by using effective tools and strategies. He specializes in the cloud, DevOps, software-defined infrastructure, application modernization, data platforms, and emerging technologies around AI. Amit holds various industry-admired certifications from all major OEMs in the cloud and data space, including Azure Solutions Architect Expert. He is also a Microsoft Certified Trainer (MCT). Amit is an active community member of various technology groups and is a regular speaker at industry conferences and events.
Special thanks to Daman Kaur, for she has lived and breathed this book for the past 6 months or so. She is meticulous in her approach and has an unparalleled talent for synthesizing research so it is concise and understandable.
Additionally, I am grateful for the assistance provided by the Packt team for their generous feedback and for making this publication even better, especially Rahul Nair for his support throughout the journey and for making our experience of writing wonderful.
Daman Kaur is an experienced cloud solution architect with a demonstrated history of designing, building, and managing high-performing IT solutions in big data, cloud infrastructure, containers, and virtualization. Currently working at Microsoft, she is responsible for solution design, enablement, and deployment solutions covering all areas and services on Azure. Primarily, her focus is on data and AI plus apps and infrastructure. In addition to this, she is an MCT and is certified on various Microsoft, and other, technologies.
I am grateful to my parents, for they believed in me and gave so much of themselves throughout my journey. My deepest thanks to my writing partner, Amit Malik. This book would not have been written if it were not for Amit. He put in nights, early mornings, weekends, and holidays to accommodate both of our schedules and meet the deadlines. I learned a great deal from his clear thinking, deep insight, and analytical rigor. Also, my deepest gratitude to the team at Packt.
About the reviewer
Firoz Shaik is a network and security architect with over 11 years of experience in the areas of designing and deploying geo-distributed solutions for hybrid and multi-cloud platforms with DevSecOps and cybersecurity as the key focus.
He is responsible for architecting security frameworks by evaluating business IT strategy, operating models, and risk mitigation strategies. He has built cybersecurity strategy frameworks with cloud governance and secure SDLC practices complying with standards and regulations such as NIST, HIPAA, GDPR, PCI, and ISO.
He built a security stack with Managed Detection and Response that provides threat intelligence, threat hunting, monitoring, incident analysis, and incident response.
Firoz loves to travel and is a volunteer technical blog writer.
I would like to thank my family for their continued support and encouragement in everything that I do.
Table of Contents
Preface
Section 1: Azure Arc Enabled Infrastructure
Chapter 1: Azure Arc Overview
Technical requirements
What is Azure Arc?
What Azure Arc isn't
Introducing Azure Arc use cases
Organizing and governing across environments
Building cloud-native apps at scale
Running Azure data services anywhere
Meeting security, compliance, and regulatory requirements
Example customer use case
Understanding Azure Arc
Azure Resource Manager
The Azure control plane beyond Azure – Azure Arc
Azure Arc-enabled servers
Azure Arc-enabled Kubernetes
Azure Arc-enabled data services
Azure Arc-enabled SQL Server
Building the lab prerequisite for Azure Arc
Getting started with Azure
Creating a resource group in Azure
Pricing
Summary
Chapter 2: Azure Arc Enabled Servers
Technical requirements
An overview of Azure Arc enabled servers
Supported environments
Supported management scenarios
Understanding how Azure Arc works
Connected Machine agent
Arc enabled servers in the Azure portal
Preparing on-premises machines for Azure Arc enabled servers
Getting the virtualization environment ready
Onboarding Windows and Linux machines to Azure Arc
Generating an onboarding script using the Azure portal
Onboarding a Windows Server
Onboarding a Linux Server
Onboarding servers at scale
Using azcmagent utility
Offboarding Azure Arc agents
Managing servers with Azure Arc
Reviewing the connected server state in the Azure portal
Applying an Azure Policy to arc enabled servers
Installing Azure VM Extensions on Arc enabled machines
Monitoring Arc enabled servers with Azure Monitor
Protecting Arc enabled machines with Azure Security Center
Managing updates and operations
Summary
Chapter 3: Azure Arc Enabled Kubernetes
Technical requirements
Getting an overview of Azure Arc enabled Kubernetes
Supported environments
Understanding how it works
Preparing the lab infrastructure for Azure Arc enabled Kubernetes
Getting the Kubernetes environment ready
Onboarding a Kubernetes cluster to Azure Arc
Registering the required resource providers
Preparing an Azure Active Directory service principal for authentication
Onboarding the Kubernetes cluster
Forking the Azure Voting App GitOps repository
Deploying the configuration using GitOps
Testing GitOps continuous deployment
Governing connected Kubernetes clusters with Azure Policy
Enforcing GitOps using Azure Policy
Validating Kubernetes configuration compliance using Azure Policy
Monitoring connected Kubernetes clusters with Azure Monitor
Enabling monitoring for connected Kubernetes clusters
Reviewing Container insights
Summary
Chapter 4: Azure Arc Enabled SQL Server
Technical requirements
Introducing Azure Arc enabled SQL Server
Supported environments
Preparing on-premises machines for Azure Arc enabled SQL Server
Onboarding SQL Server instances to Azure Arc
Generate a SQL onboarding script using the Azure portal
Onboarding SQL Server running on Windows
Onboarding SQL servers at scale
Managing SQL Servers with Azure Arc
Reviewing connected SQL Server state in the Azure portal
Configuring SQL Server assessment
Summary
Section 2: Azure Arc Enabled Data Services
Chapter 5: Azure Arc Enabled PostgreSQL Hyperscale
Technical requirements
Getting an overview of Azure Arc enabled data services
Supported environments
Resource providers
Understanding Azure Arc enabled data services
Understanding the Azure Arc data controller
Connectivity modes
Deployment flow
Network requirements
Storage configuration
Sizing configuration
Preparing the lab infrastructure and tools
Installing the Azure CLI and Kubernetes CLI
Deploying Azure Kubernetes Service
Installing Azure Data Studio and the CLI
Deploying an Azure Arc data controller (indirectly connected mode)
Connecting to the Azure Arc data controller
Deploying PostgreSQL Hyperscale services
Deploying a PostgreSQL Hyperscale server group
Create an Azure Arc enabled PostgreSQL database
Monitoring Azure Arc enabled PostgreSQL services
Overview of monitoring Azure Arc enabled data services
Accessing the Kibana and Grafana monitoring dashboards
Uploading data to Azure Monitor
Analyzing monitoring and logs in the Azure portal
Managing backup and restore
Backing up Arc enabled PostgreSQL server group data
Restoring Arc enabled PostgreSQL server group data
Summary
Further reading
Chapter 6: Azure Arc Enabled SQL Managed Instance
Technical requirements
Getting an overview of Azure Arc enabled SQL Managed Instance
Resource providers
Benefits of hosting databases on SQL Managed Instance
Preparing the lab infrastructure and tools
Onboarding a Kubernetes cluster to Azure Arc
Deploying an Azure Arc data controller (direct mode)
Preparing prerequisites for direct mode
Deploying Azure Arc data controller resources
Connecting to the Azure Arc data controller
Deploying Azure Arc enabled SQL Managed Instance services
Deploying a SQL managed instance
Create an Azure Arc enabled SQL database
Monitoring Azure Arc enabled SQL Managed Instances
Accessing Kibana and Grafana monitoring dashboards
Uploading data to Azure Monitor
Analyzing monitoring and logs in the Azure portal
Managing backup and restore
Always On availability groups in Azure Arc enabled SQL Managed Instance
Summary
Further reading
Section 3: Azure Arc Enabled Multi-Cloud Governance
Chapter 7: Multi-Cloud Management with Azure
Technical requirements
Azure Arc enabled multi-cloud solutions
Multi-cloud server management
Multi-cloud Kubernetes management
Hosting Azure data services on other cloud platforms
Azure managed multi-cloud solutions
Azure Active Directory multi-cloud solutions
Azure Monitor
Azure Security Center
Azure Sentinel
Azure Policy
Upcoming Azure Arc enabled services
Summary
Why subscribe?
Other Books You May Enjoy
Preface
Cloud computing is the preferred method of hosting applications for all sizes of organizations across the globe today. In