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 (Azmodule). Both produce identical outcomes unless noted. - ARM template examples use the
2019-04-01deployment 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.
