Microsoft - AZ-104 Study Guide

    3: Deploy and Manage Azure Compute Resources

    This chapter teaches you how to provision and manage the core compute services in Azure. You will learn to automate infrastructure deployments with ARM templates and Bicep, create and configure virtual machines for every workload pattern, run containers without managing infrastructure using Azure Container Instances, and host web applications on the fully managed Azure App Service platform.

    Learning Objectives

    By the end of this chapter, you will be able to:

    • Automate deployment of resources by using Azure Resource Manager templates or Bicep files.
    • Create and configure virtual machines.
    • Provision and manage containers in the Azure portal.
    • Create and configure Azure App Service.

    Executive Summary

    • Every interaction with Azure passes through the Azure Resource Manager (ARM) control plane; ARM templates (JSON) and Bicep (a domain-specific language that compiles to ARM JSON) let you define infrastructure declaratively so that deployments are repeatable, auditable, and version-controlled.
    • Azure Virtual Machines give you full control over the operating system and software stack; understanding VM families, disk types, availability options (availability sets, availability zones, scale sets), and extensions is the foundation of most Azure workloads.
    • Azure Container Instances (ACI) provide the fastest way to run a container in Azure without managing servers; the unit of deployment is the container group, which shares a lifecycle, network, and storage volumes.
    • Azure App Service is a fully managed PaaS for hosting web apps, REST APIs, and mobile back ends; the App Service plan defines the underlying compute, and features such as deployment slots, autoscaling, and custom domains unlock zero-downtime releases and production-grade hosting.

    Assumptions

    • All CLI examples use Azure CLI (az) or Azure PowerShell (Az module). Both produce identical outcomes unless noted.
    • ARM template examples use the 2019-04-01 deployment schema unless a different version is required for the resource.
    • VM pricing, region availability, and quota limits vary by subscription type and region. Check your subscription's quotas before deploying.
    • Terms defined in Chapter 1 (such as resource group, subscription, managed identity, Azure RBAC, Azure Policy) and Chapter 2 (such as storage account, access tier) are used without full re-definition.

    Sections in this chapter

    1. Free
    2. Free with account
    3. Free with account
    4. Free with account
    5. Free with account