- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Building an Azure ARM-Based Packer Image
Packer allows us to use JSON or HCL code to describe and generate machine images, such as Azure virtual hard disks and managed images. In this lab, we'll explore using Packer alongside Azure to create an image based on Ubuntu that hosts our website's landing page, as well as address any tips and tricks for provisioning Linux on Azure.

Lab Info
Table of Contents
-
Challenge
Access the Console and Pull Down Files
- Click the Cloud Shell icon (
>_
) in the upper right. - Select Bash.
- Click No storage account required.
- Select the only available subscription and click Apply.
- In Cloud Shell, create a working directory and add the necessary lab files.
- Click the Cloud Shell icon (
-
Challenge
Write Template Based on Provided Instructions
Create a
packer.json
file, build the template, and install the Packer plugin. -
Challenge
Test the Build
Validate and test the build.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.