Skip to content

Commit b04accd

Browse files
Merge pull request #225038 from mattmcinnes/freshness-customimages
Freshness Pass on Custom Images
2 parents 1d35ad6 + 6743d59 commit b04accd

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

articles/virtual-machines/linux/tutorial-custom-images.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
title: Tutorial - Create custom VM images with the Azure CLI
33
description: In this tutorial, you learn how to use the Azure CLI to create a custom virtual machine image in Azure
4-
author: cynthn
4+
author: mattmcinnes
55
ms.service: virtual-machines
66
ms.subservice: gallery
77
ms.topic: tutorial
88
ms.workload: infrastructure
9-
ms.date: 05/04/2020
10-
ms.author: cynthn
9+
ms.date: 01/25/2023
10+
ms.author: mattmcinnes
1111
ms.custom: mvc, devx-track-azurecli
12-
ms.reviewer: mimckitt
12+
ms.reviewer: cynthn
1313

1414
#Customer intent: As an IT administrator, I want to learn about how to create custom VM images to minimize the number of post-deployment configuration tasks.
1515
---
@@ -30,21 +30,21 @@ Custom images are like marketplace images, but you create them yourself. Custom
3030

3131
This tutorial uses the CLI within the [Azure Cloud Shell](../../cloud-shell/overview.md), which is constantly updated to the latest version. To open the Cloud Shell, select **Try it** from the top of any code block.
3232

33-
If you choose to install and use the CLI locally, this tutorial requires that you are running the Azure CLI version 2.35.0 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI]( /cli/azure/install-azure-cli).
33+
If you choose to install and use the CLI locally, this tutorial requires that you're running the Azure CLI version 2.35.0 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI]( /cli/azure/install-azure-cli).
3434

3535
## Overview
3636

3737
An [Azure Compute Gallery](../shared-image-galleries.md) simplifies custom image sharing across your organization. Custom images are like marketplace images, but you create them yourself. Custom images can be used to bootstrap configurations such as preloading applications, application configurations, and other OS configurations.
3838

39-
The Azure Compute Gallery lets you share your custom VM images with others. Choose which images you want to share, which regions you want to make them available in, and who you want to share them with.
39+
The Azure Compute Gallery lets you share your custom VM images with others. Choose which images you want to share, which regions you want them to be available in, and who you want to share them with.
4040

4141
The Azure Compute Gallery feature has multiple resource types:
4242

4343
[!INCLUDE [virtual-machines-shared-image-gallery-resources](../includes/virtual-machines-shared-image-gallery-resources.md)]
4444

4545
## Before you begin
4646

47-
The steps below detail how to take an existing VM and turn it into a reusable custom image that you can use to create new VM instances.
47+
The following steps show how to take an existing VM and turn it into a reusable custom image that you can use to create new VM instances.
4848

4949
To complete the example in this tutorial, you must have an existing virtual machine. If needed, you can see the [CLI quickstart](quick-create-cli.md) to create a VM to use for this tutorial. When working through the tutorial, replace the resource names where needed.
5050

@@ -58,7 +58,7 @@ To open the Cloud Shell, just select **Try it** from the upper right corner of a
5858

5959
A gallery is the primary resource used for enabling image sharing.
6060

61-
Allowed characters for gallery name are uppercase or lowercase letters, digits, dots, and periods. The gallery name cannot contain dashes. Gallery names must be unique within your subscription.
61+
Allowed characters for gallery name are uppercase or lowercase letters, digits, dots, and periods. The gallery name can't contain dashes. Gallery names must be unique within your subscription.
6262

6363
Create a gallery using [az sig create](/cli/azure/sig#az-sig-create). The following example creates a resource group named gallery named *myGalleryRG* in *East US*, and a gallery named *myGallery*.
6464

@@ -85,7 +85,7 @@ Copy the ID of your VM to use later.
8585

8686
## Create an image definition
8787

88-
Image definitions create a logical grouping for images. They are used to manage information about the image versions that are created within them.
88+
Image definitions create a logical grouping for images. They're used to manage information about the image versions that are created within them.
8989

9090
Image definition names can be made up of uppercase or lowercase letters, digits, dots, dashes, and periods.
9191

@@ -115,7 +115,7 @@ Create an image version from the VM using [az sig image-version create](/cli/azu
115115

116116
Allowed characters for image version are numbers and periods. Numbers must be within the range of a 32-bit integer. Format: *MajorVersion*.*MinorVersion*.*Patch*.
117117

118-
In this example, the version of our image is *1.0.0* and we are going to create 2 replicas in the *West Central US* region, 1 replica in the *South Central US* region and 1 replica in the *East US 2* region using zone-redundant storage. The replication regions must include the region the source VM is located.
118+
In this example, the version of our image is *1.0.0* and we're going to create two replicas in the *West Central US* region, one replica in the *South Central US* region and one replica in the *East US 2* region using zone-redundant storage. The replication regions must include the region the source VM is located.
119119

120120
Replace the value of `--managed-image` in this example with the ID of your VM from the previous step.
121121

@@ -139,11 +139,11 @@ az sig image-version create \
139139

140140
## Create the VM
141141

142-
Create the VM using [az vm create](/cli/azure/vm#az-vm-create) using the --specialized parameter to indicate the image is a specialized image.
142+
Create the VM using [az vm create](/cli/azure/vm#az-vm-create) using the `--specialized` parameter to indicate the image is a specialized image.
143143

144144
Use the image definition ID for `--image` to create the VM from the latest version of the image that is available. You can also create the VM from a specific version by supplying the image version ID for `--image`.
145145

146-
In this example, we are creating a VM from the latest version of the *myImageDefinition* image.
146+
In this example, we're creating a VM from the latest version of the *myImageDefinition* image.
147147

148148
```azurecli
149149
az group create --name myResourceGroup --location eastus
@@ -179,7 +179,7 @@ For more information about how to share resources using Azure RBAC, see [Add or
179179

180180
## Azure Image Builder
181181

182-
Azure also offers a service, built on Packer, [Azure VM Image Builder](../image-builder-overview.md). Simply describe your customizations in a template, and it will handle the image creation.
182+
Azure also offers a service, built on Packer, [Azure VM Image Builder](../image-builder-overview.md). Describe your customizations in a template, and it will handle the image creation.
183183

184184
## Next steps
185185

0 commit comments

Comments
 (0)