وبلاگ بلیان

ساخت برنامه‌ها با مدیر منابع آژور (ARM): بهره‌برداری از IaC برای بهبود چشمگیر چرخه عمر برنامه‌های شما

Building Applications with Azure Resource Manager (ARM) : Leverage IaC to Vastly Improve the Life Cycle of Your Applications

معرفی کتاب «ساخت برنامه‌ها با مدیر منابع آژور (ARM): بهره‌برداری از IaC برای بهبود چشمگیر چرخه عمر برنامه‌های شما» (با عنوان لاتین Building Applications with Azure Resource Manager (ARM) : Leverage IaC to Vastly Improve the Life Cycle of Your Applications) نوشتهٔ David Rendón، منتشرشده توسط نشر Apress : Imprint: Apress در سال 2021. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

Learn how to leverage infrastructure as code with Azure Resource Manager (ARM) and the best practices to build, test, debug, and deploy your applications in Microsoft Azure using ARM templates and the new domain-specific language Bicep. As organizations consider moving partially or fully to the cloud, infrastructure as code (IaC) has become a key component to improving time to market for their applications. However, it is critical that enterprise infrastructure professionals use the right resources and strategies to build the infrastructure required to run applications in the cloud. Azure cloud-native components and capabilities automate the build and deployment process, offering a myriad of compelling reasons to leverage IaC to build your applications in Azure. Starting with the evolution of the software-defined approach and building on the basic concepts of infrastructure as code, this book provides you with comprehensive guidance to learn Azure Resource Manager from the ground up. You will learn the best practices for deploying and maintaining application infrastructure, such as template authoring tooling enhancements, Azure DevOps integrations, and updates to the deployment platform. After reading this book, you will understand the breadth and use cases of ARM capabilities and tooling within Microsoft Azure. You will be able to build, test, debug, and deploy your ARM templates and know how to use infrastructure as code to better manage the life cycle of your applications in Azure. What You Will Learn Introduces the concepts of infrastructure as code and how to leverage it using Azure Resource Manager Teaches how to enable and deploy Azure Resource Manager templates Covers the basic core elements of an ARM template to start authoring your templates and building your applications in the cloud Dives into core components such as parameters, variables, functions, dependencies, deployment modes, loops, conditions), enabling nested templates Reveals the built-in services and features in Azure, allowing the debugging process and validation process of the ARM templates Discusses “Bicep” the language for ARM templates and the DevOps integration to deploy ARM templates Who This Book Is For People who build, install, repair, or maintain the hardware and software associated with computer systems on-premises and who want to learn about the deployment and provisioning process of applications in the Microsoft Cloud using an infrastructure as code approach through Azure Resource Manager. Readers should have an Azure account and be familiar with the main Azure services (storage, compute, networking, management). Basic knowledge of PowerShell is also useful. Table of Contents About the Author About the Technical Reviewer Acknowledgments Introduction Chapter 1: Why Infrastructure as Code? Evolution of Software-Defined Everything Overview of Infrastructure as Code Increased Efficiency Reduced Operation Costs Improved Time to Market Current State of IaC Summary Chapter 2: Azure Resource Manager Azure Resource Manager Life Cycle Why Use ARM Templates? Benefits of Using ARM Deployments Anatomy of an ARM Template Azure Resource Manager Template Core Elements Summary Chapter 3: Preparing Your Environment Installing ARM Extensions Azure Resource Manager Tools Extension ARM Template Viewer Extension Configuring Azure PowerShell Installing Azure CLI Summary Chapter 4: Building Your First Azure Resource Manager Template Creating a Storage Account on Your ARM Template Deploying Your First ARM Template Deployment Workflow of Your First ARM Template Summary Chapter 5: Deployment Scopes Targeting Your Deployment to a Resource Group Target Your Deployment Scope to Other Resource Groups in the Same Subscription Use Case: Deploy a Storage Account to Multiple Resource Groups in the Same Subscription Targeting Your Deployment to a Resource Group in a Different Subscription Targeting Your Deployment to a Subscription Targeting Your Deployment to Multiple Subscriptions Targeting Your Deployment to a Management Group Targeting Your Deployment to a Tenant Summary Chapter 6: Working with Parameters on Your ARM Template Introduction to Parameters in Your ARM Template Working with the array Data Type Working with the bool Data Type Working with the int Data Type Working with the object Data Type Working with the string Data Type Working with the secureString Data Type Working with the secureObject Data Type Creating Unique Identifiers (IDs) for Your Parameters Utilizing Objects as Parameters in Your ARM Template Summary Chapter 7: Using Variables in Your ARM Template Introduction to Variables in Your ARM Template Parameters as a Form Factor Use of Arrays Use of Objects How to Reference Variables Values How to Leverage Configuration Variables Variable Iteration Summary Chapter 8: Working with the Resources Section of Your ARM Template Understanding the resources Section in Your ARM Template Working with Child Resources Specify a Child Resource Within a Parent Resource Specify a Child Resource Outside of a Parent Resource Conditional Deployments Deploy the condition Construct Summary Chapter 9: Understanding Dependencies in Your ARM Template Setting Resource Dependencies and Location Resource Location Resource Dependencies Practice: Provisioning a Virtual Machine Considering Resource Dependencies Using Circular Dependencies Summary Chapter 10: Using Functions in Your ARM Template Understanding Functions in ARM Templates Declaring an ARM Template Function Example: Creating an Azure Storage Account Using ARM Template Functions Example: Creating Multiple Azure Storage Accounts Using ARM Template Functions Example: Conditional Deployment for Web Applications Using ARM Template Functions Creating Your Own Function Declaring User-Defined Functions Example: Creating a Unique Prefix for Resources in Your Environment Summary Chapter 11: Deployment Modes of Your ARM Template Introduction to Scopes and Modes Understanding Incremental Mode Understanding Complete Mode Setting Deployment Mode Summary Chapter 12: Working with Loops in Your ARM Template Understanding the copy Element The copy Element in Action Example: Create N Storage Accounts Understanding Resource Iteration: Serial Mode and Parallel Mode Resource Dependencies in a Loop Summary Chapter 13: Understanding Post-Deployment Configurations: Extensions and Deployment Scripts Understanding Extensions Understanding Deployment Scripts How Deployment Scripts Work Considerations When Working with Deployment Scripts Definition of Deployment Scripts in the ARM Template Using Deployment Scripts in Your ARM Template Summary Chapter 14: Working with Larger and More Complex Environments Understanding Linked Templates Working with Dynamic Values for Linked Templates Understanding Nested Templates Template Specs Creating a Simple Template Spec Creating a Template Spec Using PowerShell Deploying Template Spec Template Spec with Linked Templates Consuming Template Spec as Modules Summary Chapter 15: Working with Secrets in Your ARM Template Understanding Security in ARM Templates Working with Secrets in ARM Templates Leveraging Azure Key Vault Creating an Instance of Azure Key Vault Working with Static and Dynamic Values Reference Secrets with Static ID Example: Reference Secrets with Static ID Prerequisites Reference Secrets with Dynamic ID Example: Reference Secrets with Dynamic ID Summary Chapter 16: Validating Your ARM Template Why You Should Debug and Validate ARM Templates The ARM Template Test Toolkit What Is the Toolkit? Running a Test Using ARM-TTK Fixing Your ARM Template Running Your Own Tests Working with What-IF to Validate Your Deployment How Does What-IF Work? Summary Chapter 17: Building Your Environment with Azure DevOps and ARM Templates The Fundamentals of Azure DevOps Azure DevOps Components Azure DevOps Initial Setup Configuring Azure Repos Creating Azure Repo Pushing an Existing Repository from the Command Line Configuring a Build Pipeline in Azure DevOps Configuring a Release Pipeline in Azure DevOps Creating a Release Pipeline Summary Chapter 18: Deploy ARM Templates Using GitHub Actions The Fundamentals of GitHub Actions Defining GitHub Actions Example: GitHub Action “Hello World” Working with Events Working with Jobs Working with Steps Example: Deploy ARM Template Using GitHub Actions Configure the Service Principal Configure GitHub Secrets Create GitHub Action to Deploy the ARM Template Run Workflow Summary Chapter 19: Project Bicep Why Bicep Is Relevant for You How Bicep Works Preparing Your Environment to Work with Bicep Files Configure Your Bicep Environment Building Your First Bicep File Example: Creating an App Service Plan in Bicep Example: Working with Parameters in Bicep Files Deploying Bicep Files Example: Working with Modules in Bicep Files Create App Service Bicep File Create Main Bicep File Converting ARM Templates into Bicep Files Using Loops in Bicep: Create Multiple Sites Creating a Loop in Bicep Creating Multiple Sites Summary Index Learn how to leverage infrastructure as code with Azure Resource Manager (ARM) and the best practices to build, test, debug, and deploy your applications in Microsoft Azure using ARM templates and the new domain-specific language Bicep. As organizations consider moving partially or fully to the cloud, infrastructure as code (IaC) has become a key component to improving time to market for their applications. However, it is critical that enterprise infrastructure professionals use the right resources and strategies to build the infrastructure required to run applications in the cloud. Azure cloud-native components and capabilities automate the build and deployment process, offering a myriad of compelling reasons to leverage IaC to build your applications in Azure. Starting with the evolution of the software-defined approach and building on the basic concepts of infrastructure as code, this book provides you with comprehensive guidance to learn Azure Resource Manager from the ground up. You will learn the best practices for deploying and maintaining application infrastructure, such as template authoring tooling enhancements, Azure DevOps integrations, and updates to the deployment platform. After reading this book, you will understand the breadth and use cases of ARM capabilities and tooling within Microsoft Azure. You will be able to build, test, debug, and deploy your ARM templates and know how to use infrastructure as code to better manage the life cycle of your applications in Azure. What You Will Learn Introduces the concepts of infrastructure as code and how to leverage it using Azure Resource Manager Teaches how to enable and deploy Azure Resource Manager templates Covers the basic core elements of an ARM template to start authoring your templates and building your applications in the cloud Dives into core components such as parameters, variables, functions, dependencies, deployment modes, loops, conditions), enabling nested templates Reveals the built-in services and features in Azure, allowing the debugging process and validation process of the ARM templates Discusses "Bicep" the language for ARM templates and the DevOps integration to deploy ARM templates This book is for people who build, install, repair, or maintain the hardware and software associated with computer systems on-premises and who want to learn about the deployment and provisioning process of applications in the Microsoft Cloud using an infrastructure as code approach through Azure Resource Manager. Readers should have an Azure account and be familiar with the main Azure services (storage, compute, networking, management). Basic knowledge of PowerShell is also useful. David Rendon is an eight time awarded Microsoft MVP currently working as a Solutions Architect at Kemp Technologies. As an Azure expert and IT professional with more than 15 years of experience, most of his professional experience has been with Microsoft technologies. He conducts private training classes globally (India, South America, USA) that help companies migrate critical applications to the cloud and train their staff to be certified cloud architects. He is passionate about travel, action-packed tech days with peers, and getting down in the trenches of technology road maps. He regularly presents at public IT events such as Microsoft Ignite, Global Azure, local user group events across the US, Europe, and Latin America and is active on Twitter @DaveRndn
دانلود کتاب ساخت برنامه‌ها با مدیر منابع آژور (ARM): بهره‌برداری از IaC برای بهبود چشمگیر چرخه عمر برنامه‌های شما