You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/deprecated-images.yml
+37-39Lines changed: 37 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ sections:
41
41
42
42
**What do I need to do?**
43
43
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).
45
45
46
46
47
47
@@ -123,61 +123,59 @@ sections:
123
123
124
124
- question: How do I migrate my workloads to another image?
125
125
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.
132
127
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.
134
131
135
132
**You want to migrate to another offer/plan/version:**
136
133
First search for other offers, plans or versions from the same publisher with the following commands (Replace all highlighted values as needed):
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
+
```
181
179
182
180
183
181
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:
190
188
191
189
Scale set, suggestions for updating the version should include:
192
190
- 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 virtualmachinescale 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).
196
194
- 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
195
- Once the existing instances are all upgraded to the new image, change the upgrade policy back to what it was if needed.
198
196
199
197
200
198
201
199
- question: Are all image versions lower than the indicated version also deprecated?
202
200
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).
204
202
205
203
- question: How can I check if a specific image is deprecated or scheduled for deprecation?
206
204
answer: |
207
205
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
206
209
-
207
+
210
208
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.
0 commit comments