Fully Automated Azure VM Image Builds with Packer - A Complete Solution

Опубликовано: 18 Май 2026
на канале: Mike's Cloud Solutions
7,090
280

#Packer #Azure #AzureAutomation #InfrastructureAsCode #DevOps

Fully Automated Azure Image Builds with Packer - A Complete Solution

In this video, we walk through the complete process of building custom Linux and Windows images in Azure using Packer.

We’ll start by creating a Linux image provisioned over SSH with Apache and a retro-style web interface. Then we’ll build a Windows image that installs Chrome and Firefox, applies Windows Updates, and is generalized using Sysprep. Packer configures WinRM automatically in Azure, making the Windows build process almost as easy as Linux.

You’ll also see how we:
Create a local 'packer' account on both images
Store credentials securely in an Azure vault
Deploy the VMs from these custom images
Use Azure Bastion to securely connect to both Linux and Windows without exposing public ports

By the end of this walkthrough, you’ll have a fully automated and reusable image build pipeline in Azure that you can adapt for your own projects.

Watch the full series to see how we implement this solution across AWS, Azure, and GCP.

---

📚 *Project Repository*: https://github.com/mamonaco1973/azure...

🔔 Subscribe for more hands-on cloud tutorials covering Azure, AWS, GCP, Terraform, and DevOps workflows.

---

00:00 Introduction
03:42 Packer Workflow
08:01 Prerequisites
08:51 Build
10:49 Demo
15:09 Azure Issues