Skip to content

Commit 65a05a2

Browse files
committed
links
1 parent 57d2004 commit 65a05a2

File tree

1 file changed

+37
-39
lines changed

1 file changed

+37
-39
lines changed

articles/virtual-machines/deprecated-images.yml

Lines changed: 37 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ sections:
4141
4242
**What do I need to do?**
4343
44-
If you want your scale set to scale out after the deprecation date, you will need to identify the scale set running on the deprecated image and then migrate your workload to a supported image. (The steps to identify and migrate your workload are outlined below). If you want to remain on the image after deprecation, you can create your own custom image and migrate to it (Steps outlined below). If you already have auto updates configured for your VM or scale set, you will only be impacted when an Offer or plan version is deprecated (No impact on image version deprecation).
44+
If you want your scale set to scale out after the deprecation date, you will need to identify the scale set running on the deprecated image and then migrate your workload to a supported image. If you want to remain on the image after deprecation, you can create your own custom image and migrate to it (Steps outlined below). If you already have auto updates configured for your VM or scale set, you will only be impacted when an Offer or plan version is deprecated (No impact on image version deprecation).
4545
4646
4747
@@ -123,61 +123,59 @@ sections:
123123
124124
- question: How do I migrate my workloads to another image?
125125
answer: |
126-
You might want to keep using an image that is scheduled for deprecation for specific reasons or you might want to migrate your workloads to another Offer/Plan/Version. Both steps are outlined below:
127-
- You want to keep using an image that is scheduled for deprecation:
128-
- If you want to remain on an older image version even after it has been scheduled for deprecation, follows the steps below:
129-
- First generalize (sysprep) the powered off VM and create a custom image (Azure Compute Gallery formally called Shared Image Gallery) out of it and use that custom image for your VM or scale set.
130-
- Modify the VM or scale set deployment you want to point to the custom image.
131-
- 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
126+
You might want to keep using an image that is scheduled for deprecation for specific reasons or you might want to migrate your workloads to another Offer/Plan/Version.
132127
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.
128+
If you want to keep using an image that is scheduled for deprecation, generalize the powered off VM and create a custom image out of it and use that custom image for your VM or scale set. Then change the VM or scale set deployment to point to the custom image. For more information, see [Capture an image of a VM in the portal](capture-image-portal.md).
129+
130+
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.
134131
135132
**You want to migrate to another offer/plan/version:**
136133
First search for other offers, plans or versions from the same publisher with the following commands (Replace all highlighted values as needed):
137134
138135
**To migrate to another offer:**
139136
140-
PowerShell:
137+
PowerShell:
141138
142-
```
143-
Get-AzVMImage -Location "west europe" -PublisherName “MicrosoftWindowsServer”
144-
```
139+
```
140+
Get-AzVMImage -Location "west europe" -PublisherName “MicrosoftWindowsServer”
141+
```
145142
146-
Azure CLI:
143+
Azure CLI:
147144
148-
```
149-
az vm image list --location "west europe" --publisher "MicrosoftWindowsServer"
150-
```
145+
```
146+
az vm image list --location "west europe" --publisher "MicrosoftWindowsServer"
147+
```
151148
152149
**To migrate to another Plan:**
153-
Search for other plans under the same offer and then migrate to that plan.
150+
Search for other plans under the same offer and then migrate to that plan.
154151
155-
PowerShell:
152+
PowerShell:
156153
157-
```
158-
Get-AzVMImage -Location "west europe" -PublisherName “MicrosoftWindowsServer” -Offer “WindowsServer”
159-
```
154+
```
155+
Get-AzVMImage -Location "west europe" -PublisherName “MicrosoftWindowsServer” -Offer “WindowsServer”
156+
```
160157
161-
Azure CLI:
158+
Azure CLI:
162159
163-
```
164-
az vm image list --location "west europe" --publisher "MicrosoftWindowsServer" --offer "WindowsServer"
165-
```
160+
```
161+
az vm image list --location "west europe" --publisher "MicrosoftWindowsServer" --offer "WindowsServer"
162+
```
166163
167164
**To migrate to another version:**
168-
Search for another version (we suggest migrating to the latest version)
165+
166+
Search for another version (we suggest migrating to the latest version)
169167
170-
PowerShell:
168+
PowerShell:
171169
172-
```
173-
Get-AzVMImage -Location "west europe" -PublisherName “MicrosoftWindowsServer” -Offer “WindowsServer” -Skus "2019-Datacenter-with-Containers"
174-
```
170+
```
171+
Get-AzVMImage -Location "west europe" -PublisherName “MicrosoftWindowsServer” -Offer “WindowsServer” -Skus "2019-Datacenter-with-Containers"
172+
```
175173
176-
Azure CLI:
174+
Azure CLI:
177175
178-
```
179-
az vm image list --location "west europe" --publisher "MicrosoftWindowsServer" --offer "WindowsServer" --sku "2019-Datacenter-with-Containers" --all"
180-
```
176+
```
177+
az vm image list --location "west europe" --publisher "MicrosoftWindowsServer" --offer "WindowsServer" --sku "2019-Datacenter-with-Containers" --all"
178+
```
181179
182180
183181
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.
@@ -190,23 +188,23 @@ sections:
190188
191189
Scale set, suggestions for updating the version should include:
192190
- 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
191+
- If set to manual, existing instances won’t be reimaged until it’s manually upgraded.
192+
- If set to rolling, existing instances will be automatically upgraded and reimaged by batch.
193+
- Update image reference using the steps in [Modify an Azure virtual machine scale set](/virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-scale-set.md).
196194
- 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.
197195
- Once the existing instances are all upgraded to the new image, change the upgrade policy back to what it was if needed.
198196
199197
200198
201199
- question: Are all image versions lower than the indicated version also deprecated?
202200
answer: |
203-
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
201+
Generally, yes. However, it is recommended to confirm against the list of valid versions in a Plan using [Virtual Machine Images - List](/rest/api/compute/virtual-machine-images/list?tabs=HTTP).
204202
205203
- question: How can I check if a specific image is deprecated or scheduled for deprecation?
206204
answer: |
207205
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).
208206
209-
207+
210208
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.
211209
212210

0 commit comments

Comments
 (0)