Skip to content

Commit 57d2004

Browse files
committed
formatting'
1 parent 14baca0 commit 57d2004

File tree

2 files changed

+49
-42
lines changed

2 files changed

+49
-42
lines changed

articles/virtual-machines/deprecated-images.yml

Lines changed: 49 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ sections:
3131
- question: I received an email that my workloads are running on images that are scheduled for deprecation. What does this mean and does deprecation impact my existing workloads?
3232
answer: |
3333
Before the scheduled deprecation date, you can continue to deploy new VM or scale set instances up until the deprecation date.
34+
3435
After the scheduled deprecation date, you won't be able to deploy new instances using the affected images. If the plan is scheduled for deprecation, all image versions within the plan will no longer be available and if the entire offer is scheduled for deprecation, all plans within the offer will no longer be available following deprecation.
36+
3537
- Active VM instances won't be impacted.
3638
- New VM instances cannot be created from any of the impacted images.
3739
- Existing virtual machine scale sets deployments cannot be scaled out if configured with any of the impacted images. When a plan or offer is being deprecated, all existing scale sets deployments pinned to any image within the plan or offer respectively cannot be scaled out.
@@ -49,10 +51,10 @@ sections:
4951
If you are notified that an image is deprecated on only the Offer or plan (SKU) level, you can search for all virtual machines from the top search bar on the Azure Portal and edit the columns as seen below to include Publisher, Offer, Plan as below. This will not give the version information, only up to the Plan information.
5052
5153
52-
If you are notified that an image is deprecated on the offer, plan (SKU) or version level:
53-
Using Azure Resource Graph Explorer:
54-
You can use Azure Resource Graph Explorer on the Azure portal to find the specific version for images in your subscription that your VM or scale set is running on.
54+
If you are notified that an image is deprecated on the offer, plan (SKU) or version level, you can use Azure Resource Graph Explorer on the Azure portal to find the specific version for images in your subscription that your VM or scale set is running on.
55+
5556
Run the queries below in the Azure Resource Graph explorer query window and uncomment the optional filters (delete the “//” to uncomment a line) to the Offer, Plan (SKU) or version level you are looking for.
57+
5658
To find the details of the image versions that are being used by VMs:
5759
5860
```
@@ -117,7 +119,7 @@ sections:
117119
az vm list --query "[?storageProfile.imageReference.version=='14393.4402.2105052108'].{VM:id, imageOffer:storageProfile.imageReference.offer, imagePublisher:StorageProfile.imageReference.publisher, imageSku: storageProfile.imageReference.sku, imageVersion:storageProfile.imageReference.version}"
118120
```
119121
120-
Note: When an image is deprecated, there is no impact on existing VMs and no action is required. You can choose to migrate your workloads to a new image if you have a specific concern.
122+
When an image is deprecated, there is no impact on existing VMs and no action is required. You can choose to migrate your workloads to a new image if you have a specific concern.
121123
122124
- question: How do I migrate my workloads to another image?
123125
answer: |
@@ -128,78 +130,83 @@ sections:
128130
- Modify the VM or scale set deployment you want to point to the custom image.
129131
- Here is how to create a custom image by capturing a VM and sharing in to Azure Compute Gallery (formerly known as Shared Image Gallery (SIG): Capture an image of a VM using the portal - Azure Virtual Machines | Microsoft Docs
130132
131-
Note: We recommend that you create custom images from Free Marketplace images (images that do not have Plan Info) that are scheduled for deprecation or already deprecated. For Paid Marketplace images, we suggest you create custom images from the latest version of the image. Workloads running on custom images created from a deprecated paid image will no longer work after the paid image is deprecated.
133+
We recommend that you create custom images from Free Marketplace images (images that do not have Plan Info) that are scheduled for deprecation or already deprecated. For Paid Marketplace images, we suggest you create custom images from the latest version of the image. Workloads running on custom images created from a deprecated paid image will no longer work after the paid image is deprecated.
132134
133-
- You want to migrate to another Offer/Plan/Version:
135+
**You want to migrate to another offer/plan/version:**
134136
First search for other offers, plans or versions from the same publisher with the following commands (Replace all highlighted values as needed):
135137
136-
- To migrate to another Offer:
138+
**To migrate to another offer:**
137139
138-
PowerShell:
140+
PowerShell:
139141
140-
```
141-
Get-AzVMImage -Location "west europe" -PublisherName “MicrosoftWindowsServer”
142-
```
142+
```
143+
Get-AzVMImage -Location "west europe" -PublisherName “MicrosoftWindowsServer”
144+
```
143145
144-
Azure CLI:
146+
Azure CLI:
145147
146-
```
147-
az vm image list --location "west europe" --publisher "MicrosoftWindowsServer"
148-
```
148+
```
149+
az vm image list --location "west europe" --publisher "MicrosoftWindowsServer"
150+
```
149151
150-
- To migrate to another Plan: Search for other plans under the same offer and then migrate to that plan.
152+
**To migrate to another Plan:**
153+
Search for other plans under the same offer and then migrate to that plan.
151154
152-
PowerShell:
155+
PowerShell:
153156
154-
```
155-
Get-AzVMImage -Location "west europe" -PublisherName “MicrosoftWindowsServer” -Offer “WindowsServer”
156-
```
157+
```
158+
Get-AzVMImage -Location "west europe" -PublisherName “MicrosoftWindowsServer” -Offer “WindowsServer”
159+
```
157160
158-
Azure CLI:
161+
Azure CLI:
159162
160-
```
161-
az vm image list --location "west europe" --publisher "MicrosoftWindowsServer" --offer "WindowsServer"
162-
```
163+
```
164+
az vm image list --location "west europe" --publisher "MicrosoftWindowsServer" --offer "WindowsServer"
165+
```
163166
164-
- To migrate to another version: Search for another version (we suggest migrating to the latest version)
167+
**To migrate to another version:**
168+
Search for another version (we suggest migrating to the latest version)
165169
166-
PowerShell:
170+
PowerShell:
167171
168-
```
169-
Get-AzVMImage -Location "west europe" -PublisherName “MicrosoftWindowsServer” -Offer “WindowsServer” -Skus "2019-Datacenter-with-Containers"
170-
```
172+
```
173+
Get-AzVMImage -Location "west europe" -PublisherName “MicrosoftWindowsServer” -Offer “WindowsServer” -Skus "2019-Datacenter-with-Containers"
174+
```
171175
172-
Azure CLI:
176+
Azure CLI:
173177
174-
```
175-
az vm image list --location "west europe" --publisher "MicrosoftWindowsServer" --offer "WindowsServer" --sku "2019-Datacenter-with-Containers" --all"
176-
```
178+
```
179+
az vm image list --location "west europe" --publisher "MicrosoftWindowsServer" --offer "WindowsServer" --sku "2019-Datacenter-with-Containers" --all"
180+
```
177181
178182
179183
You need to verify that your workloads are supported and will run properly on the new image before migrating your workloads to the new image.
180184
181-
Scale sets, in general, support [image reference replacement](../virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-scale-set#os-updates.md) but VMs do not.
185+
Scale sets, in general, support [image reference replacement](../virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-scale-set.md#os-updates) but VMs do not.
182186
183187
184188
185-
Migrating scale set workloads to newer image with minimal downtime:
189+
**Migrating scale set workloads to newer image with minimal downtime**
186190
187191
Scale set, suggestions for updating the version should include:
188-
1. To avoid downtime, ensure the upgrade policy is set to manual or rolling.
189-
a. If set to manual, existing instances won’t be reimaged until it’s manually upgraded.
190-
b. If set to rolling, existing instances will be automatically upgraded and reimaged by batch.
191-
2. Update image reference using steps in Modify an Azure virtual machine scale set: Modify an Azure virtual machine scale set - Azure Virtual Machine Scale Sets | Microsoft Docs
192-
3. Ensure that all existing instances are upgraded and on the latest model. You can also scale out and migrate workload to the new instances then delete the old instances, instead of upgrading the existing instances.
193-
4. Once the existing instances are all upgraded to the new image, change the upgrade policy back to what it was if needed.
192+
- To avoid downtime, ensure the upgrade policy is set to manual or rolling.
193+
If set to manual, existing instances won’t be reimaged until it’s manually upgraded.
194+
If set to rolling, existing instances will be automatically upgraded and reimaged by batch.
195+
- Update image reference using steps in Modify an Azure virtual machine scale set: Modify an Azure virtual machine scale set - Azure Virtual Machine Scale Sets | Microsoft Docs
196+
- Ensure that all existing instances are upgraded and on the latest model. You can also scale out and migrate workload to the new instances then delete the old instances, instead of upgrading the existing instances.
197+
- Once the existing instances are all upgraded to the new image, change the upgrade policy back to what it was if needed.
194198
195199
196200
197201
- question: Are all image versions lower than the indicated version also deprecated?
198202
answer: |
199203
Generally, yes. However, it is recommended to confirm against the list of valid versions in a Plan using Virtual Machine Images - List - REST API (Azure Compute) | Microsoft Docs
200204
201-
How can I check if a specific image is deprecated or scheduled for deprecation:
205+
- question: How can I check if a specific image is deprecated or scheduled for deprecation?
206+
answer: |
202207
You can check if an image is deprecated or scheduled for deprecation using the [REST API](/rest/api/compute/virtual-machine-images/get?tabs=HTTP).
208+
209+
203210
If the image is deprecated, you will get a **VM Image is Deprecated** response. If the image is scheduled for deprecation, the response would show the date of the scheduled deprecation.
204211
205212
37 KB
Loading

0 commit comments

Comments
 (0)