Skip to content

Commit e667c08

Browse files
authored
Merge pull request #104044 from ju-shim/gen2vm
Gen2vm
2 parents 5be47eb + 87d4725 commit e667c08

File tree

4 files changed

+42
-24
lines changed

4 files changed

+42
-24
lines changed

articles/virtual-machines/linux/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@ The following passwords are not allowed:
105105
<td style="text-align:center">Password22</td>
106106
<td style="text-align:center">iloveyou!</td>
107107
</tr>
108-
</table>
108+
</table>

articles/virtual-machines/linux/generation-2.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.workload: infrastructure-services
1313
ms.tgt_pltfrm: vm-linux
1414

1515
ms.topic: article
16-
ms.date: 01/28/2020
16+
ms.date: 02/11/2020
1717
ms.author: jushiman
1818
---
1919

@@ -55,7 +55,8 @@ Generation 2 VMs support the following Marketplace images:
5555
* SUSE Linux Enterprise Server 15 SP1
5656
* SUSE Linux Enterprise Server 12 SP4
5757
* Ubuntu Server 16.04, 18.04, 19.04, 19.10
58-
* RHEL 8.0
58+
* RHEL 8.0, 7.6, 7.5, 7.4, 7.0
59+
* Cent OS 8.0
5960

6061
## On-premises vs. Azure generation 2 VMs
6162

@@ -99,16 +100,17 @@ In the Azure portal or Azure CLI, you can create generation 2 VMs from a Marketp
99100

100101
#### Azure portal
101102

102-
Generation 2 images for Windows and SLES are included in the same server offer as the Gen1 images. What that means from a flow perspective is that, you select the Offer and the SKU from the Portal for your VM. If the SKU supports both generation 1 and generation 2 images, you can select to create a generation 2 VM from the *Advanced* tab in the VM creation flow.
103+
Below are the steps to create a generation 2 (Gen2) VM in Azure portal.
103104

104-
Currently, the following SKUs support both generation 1 and generation 2 images:
105-
106-
* Windows Server 2012
107-
* Windows Server 2012 R2
108-
* Windows Server 2016
109-
* Windows Server 2019
110-
111-
When you select a Windows Server SKU as the offer, in the **Advanced** tab, there's an option to create either a **Gen 1** (BIOS) or **Gen 2** (UEFI) VM. If you select **Gen 2**, ensure the VM size selected in the **Basics** tab is [supported for generation 2 VMs](#generation-2-vm-sizes).
105+
1. Sign in to the Azure portal at https://portal.azure.com.
106+
1. Select **Create a resource**.
107+
1. Click **See all** from the Azure Marketplace on the left.
108+
1. Select an image which supports Gen2.
109+
1. Click **Create**.
110+
1. In the **Advanced** tab, under the **VM generation** section, select the **Gen 2** option.
111+
1. In the **Basics** tab, Under **Instance details**, go to **Size** and open the **Select a VM size** blade.
112+
1. Select a [supported generation 2 VM](#generation-2-vm-sizes).
113+
1. Go through the [Azure portal creation flow](quick-create-portal.md) to finish creating the VM.
112114

113115
![Select Gen 1 or Gen 2 VM](./media/generation-2/gen1-gen2-select.png)
114116

@@ -193,6 +195,13 @@ You can also create generation 2 VMs by using virtual machine scale sets. In the
193195
* **Can I migrate a VM from generation 1 to generation 2?**
194196
No, you can't change the generation of a VM after you create it. If you need to switch between VM generations, create a new VM of a different generation.
195197
198+
* **Why is my VM size not enabled in the size selector when I try to create a Gen2 VM?**
199+
200+
This may be solved by doing the following:
201+
202+
1. Verify that the **VM generation** property is set to **Gen 2** in the **Advanced** tab.
203+
1. Verify you are searching for a [VM size which supports Gen2 VMs](#generation-2-vm-sizes).
204+
196205
## Next steps
197206
198207
* Learn about [generation 2 virtual machines in Hyper-V](https://docs.microsoft.com/windows-server/virtualization/hyper-v/plan/should-i-create-a-generation-1-or-2-virtual-machine-in-hyper-v).

articles/virtual-machines/windows/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ The following passwords are not allowed:
125125
<td>Password1</td>
126126
<td>Password22</td>
127127
</tr>
128-
</table>
128+
</table>

articles/virtual-machines/windows/generation-2.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.workload: infrastructure-services
1313
ms.tgt_pltfrm: vm-windows
1414

1515
ms.topic: article
16-
ms.date: 01/28/2020
16+
ms.date: 02/11/2020
1717
ms.author: jushiman
1818
---
1919

@@ -55,7 +55,8 @@ Generation 2 VMs support the following Marketplace images:
5555
* SUSE Linux Enterprise Server 15 SP1
5656
* SUSE Linux Enterprise Server 12 SP4
5757
* Ubuntu Server 16.04, 18.04, 19.04, 19.10
58-
* RHEL 8.0
58+
* RHEL 8.0, 7.6, 7.5, 7.4, 7.0
59+
* Cent OS 8.0
5960

6061
## On-premises vs. Azure generation 2 VMs
6162

@@ -99,16 +100,17 @@ In the Azure portal or Azure CLI, you can create generation 2 VMs from a Marketp
99100

100101
#### Azure portal
101102

102-
Generation 2 images for Windows and SLES are included in the same server offer as the Gen1 images. What that means from a flow perspective is that, you select the Offer and the SKU from the Portal for your VM. If the SKU supports both generation 1 and generation 2 images, you can select to create a generation 2 VM from the *Advanced* tab in the VM creation flow.
103+
Below are the steps to create a generation 2 (Gen2) VM in Azure portal.
103104

104-
Currently, the following SKUs support both generation 1 and generation 2 images:
105-
106-
* Windows Server 2012
107-
* Windows Server 2012 R2
108-
* Windows Server 2016
109-
* Windows Server 2019
110-
111-
When you select a Windows Server SKU as the offer, in the **Advanced** tab, there's an option to create either a **Gen 1** (BIOS) or **Gen 2** (UEFI) VM. If you select **Gen 2**, ensure the VM size selected in the **Basics** tab is [supported for generation 2 VMs](#generation-2-vm-sizes).
105+
1. Sign in to the Azure portal at https://portal.azure.com.
106+
1. Select **Create a resource**.
107+
1. Click **See all** from the Azure Marketplace on the left.
108+
1. Select an image which supports Gen2.
109+
1. Click **Create**.
110+
1. In the **Advanced** tab, under the **VM generation** section, select the **Gen 2** option.
111+
1. In the **Basics** tab, Under **Instance details**, go to **Size** and open the **Select a VM size** blade.
112+
1. Select a [supported generation 2 VM](#generation-2-vm-sizes).
113+
1. Go through the [Azure portal creation flow](quick-create-portal.md) to finish creating the VM.
112114

113115
![Select Gen 1 or Gen 2 VM](./media/generation-2/gen1-gen2-select.png)
114116

@@ -193,6 +195,13 @@ You can also create generation 2 VMs by using virtual machine scale sets. In the
193195
* **Can I migrate a VM from generation 1 to generation 2?**
194196
No, you can't change the generation of a VM after you create it. If you need to switch between VM generations, create a new VM of a different generation.
195197
198+
* **Why is my VM size not enabled in the size selector when I try to create a Gen2 VM?**
199+
200+
This may be solved by doing the following:
201+
202+
1. Verify that the **VM generation** property is set to **Gen 2** in the **Advanced** tab.
203+
1. Verify you are searching for a [VM size which supports Gen2 VMs](#generation-2-vm-sizes).
204+
196205
## Next steps
197206
198207
* Learn about [generation 2 virtual machines in Hyper-V](https://docs.microsoft.com/windows-server/virtualization/hyper-v/plan/should-i-create-a-generation-1-or-2-virtual-machine-in-hyper-v).

0 commit comments

Comments
 (0)