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
title: Generation 2 VMs (preview) on Azure | Microsoft Docs
3
-
description: Overview of Azure Generation 2 VMs
2
+
title: Azure support for generation 2 VMs (preview) | Microsoft Docs
3
+
description: Overview of Azure support for generation 2 VMs
4
4
services: virtual-machines-linux
5
5
documentationcenter: ''
6
6
author: laurenhughes
@@ -17,24 +17,24 @@ ms.date: 05/23/2019
17
17
ms.author: lahugh
18
18
---
19
19
20
-
# Generation 2 VMs (preview) on Azure
20
+
# Support for generation 2 VMs (preview) on Azure
21
21
22
22
> [!IMPORTANT]
23
-
> Generation 2 VMs are currently in public preview.
24
-
> This preview version is provided without a servicelevel agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
25
-
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
23
+
> Azure support for generation 2 VMs is currently in preview.
24
+
> This preview version is provided without a service-level agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
25
+
> For more information, see [Supplemental terms of use for Microsoft Azure previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
26
26
27
-
Support for generation 2 virtual machines (VMs) is now available in public preview on Azure. You can't change a virtual machine's generation after you've created it. So, we recommend that you review the considerations [here](https://docs.microsoft.com/windows-server/virtualization/hyper-v/plan/should-i-create-a-generation-1-or-2-virtual-machine-in-hyper-v) as well as the information on this page before choosing a generation.
27
+
Support for generation 2 virtual machines (VMs) is now available in preview in Azure. You can't change a virtual machine's generation after you've created it, so review the considerations on this page before you choose a generation.
28
28
29
-
Generation 2 VMs support key features that aren't supported on generation 1 VMs, such as: increased memory, Intel® Software Guard Extensions (SGX), and virtual persistent memory (vPMEM). Generation 2 VMs also have some features that aren't supported on Azure yet. For more information, see the [Features and capabilities](#features-and-capabilities) section.
29
+
Generation 2 VMs support key features that aren't supported in generation 1 VMs. These features include increased memory, Intel Software Guard Extensions (Intel SGX), and virtualized persistent memory (vPMEM). Generation 2 VMs also have some features that aren't supported in Azure yet. For more information, see the [Features and capabilities](#features-and-capabilities) section.
30
30
31
-
Generation 2 VMs use the new UEFI-based Boot architecture vs the BIOS-based architecture used by generation 1 VMs. Compared to generation 1 VMs, generation 2 VMs may have improved boot and installation times. For an overview of generation 2 VMs and some of the key differences between generation 1 and generation 2, see [Should I create a generation 1 or 2 virtual machine 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).
31
+
Generation 2 VMs use the new UEFI-based boot architecture rather than the BIOS-based architecture used by generation 1 VMs. Compared to generation 1 VMs, generation 2 VMs might have improved boot and installation times. For an overview of generation 2 VMs and some of the differences between generation 1 and generation 2, see [Should I create a generation 1 or 2 virtual machine 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).
32
32
33
33
## Generation 2 VM sizes
34
34
35
-
Generation 1 VMs are supported by all VM sizes in Azure. Azure now offers Generation 2 support for the following selected VM series in public preview:
35
+
Generation 1 VMs are supported by all VM sizes in Azure. Azure now offers preview generation 2 support for the following selected VM series:
36
36
37
-
*[Dsv2](https://docs.microsoft.com/azure/virtual-machines/linux/sizes-general#dsv2-series) and [Dsv3-series](https://docs.microsoft.com/azure/virtual-machines/linux/sizes-general#dsv3-series-1)
37
+
*[Dsv2-series](https://docs.microsoft.com/azure/virtual-machines/linux/sizes-general#dsv2-series) and [Dsv3-series](https://docs.microsoft.com/azure/virtual-machines/linux/sizes-general#dsv3-series-1)
| VM Sizes|Available on all VM sizes |Premium storage supported VMs only|
73
+
| VM sizes|All VM sizes |Only VMs that support premium storage|
74
74
75
-
### Generation 1 vs generation 2 capabilities
75
+
### Generation 1 vs. generation 2 capabilities
76
76
77
77
| Capability | Generation 1 | Generation 2 |
78
78
|------------|--------------|--------------|
79
79
| OS disk > 2 TB |:x:|:heavy_check_mark:|
80
-
| Custom Disk/Image/Swap OS |:heavy_check_mark:|:heavy_check_mark:|
80
+
| Custom disk/image/swap OS |:heavy_check_mark:|:heavy_check_mark:|
81
81
| Virtual machine scale set support |:heavy_check_mark:|:heavy_check_mark:|
82
-
| ASR/Backup|:heavy_check_mark:|:x:|
83
-
| Shared Image Gallery|:heavy_check_mark:|:x:|
84
-
| Azure Disk Encryption|:heavy_check_mark:|:x:|
82
+
| ASR/backup|:heavy_check_mark:|:x:|
83
+
| Shared image gallery|:heavy_check_mark:|:x:|
84
+
| Azure disk encryption|:heavy_check_mark:|:x:|
85
85
86
86
## Creating a generation 2 VM
87
87
88
88
### Marketplace image
89
89
90
-
Generation 2 VMs can be created from a marketplace image (which supports UEFI boot) via the Azure portal or Azure CLI.
90
+
In the Azure portal or Azure CLI, you can create generation 2 VMs from a Marketplace image that supports UEFI boot.
91
91
92
-
The `windowsserver-gen2preview` offer contains Windows generation 2 images only. This avoids confusion with regards to generation 1 vs generation 2 images. To create generation 2 VMs, select **Images** from this offer and follow the standard VM creation process.
92
+
The `windowsserver-gen2preview` offer contains Windows generation 2 images only. This packaging avoids confusion between generation 1 and generation 2 images. To create a generation 2 VM, select **Images** from this offer and follow the standard process to create the VM.
93
93
94
-
Currently, the following Windows generation 2 images are published in the Azure Marketplace:
94
+
Currently, Marketplace offers the following Windows generation 2 images:
95
95
96
96
* 2019-datacenter-gen2
97
97
* 2016-datacenter-gen2
98
98
* 2012-r2-datacenter-gen2
99
99
* 2012-datacenter-gen2
100
100
101
-
See the capabilities section for a list of supported marketplace images as we will continue adding additional images that support generation 2.
101
+
See the [Features and capabilities](#features-and-capabilities) section for a current list of supported Marketplace images.
102
102
103
103
### Managed image or managed disk
104
104
105
-
Generation 2 VMs can be created from managed image or managed disk in the same way you would create a generation 1 VM.
105
+
You can create a generation 2 VM from a managed image or managed disk in the same way you would create a generation 1 VM.
106
106
107
107
### Virtual machine scale sets
108
108
109
-
Generation 2 VMs can also be created using virtual machine scale sets. You can create generation 2 VMs using Azure virtual machine scale sets via Azure CLI.
109
+
You can also create generation 2 VMs by using virtual machine scale sets. In the Azure CLI, use Azure scale sets to create generation 2 VMs.
110
110
111
111
## Frequently asked questions
112
112
113
113
***Are generation 2 VMs available in all Azure regions?**
114
-
Yes; however, not all [generation 2 VM sizes](#generation-2-vm-sizes) are available in every region. The availability of generation 2 VMs is dependent upon the availability of the VM size.
114
+
Yes. But not all [generation 2 VM sizes](#generation-2-vm-sizes) are available in every region. The availability of the generation 2 VM depends on the availability of the VM size.
115
115
116
116
***Is there a price difference between generation 1 and generation 2 VMs?**
117
-
There is no difference in pricing between generation 1 and generation 2 VMs.
117
+
No.
118
118
119
119
***How do I increase the OS disk size?**
120
-
OS disks larger than 2 TB are new to generation 2 VMs. By default, most OS disks are less than 2 TB for generation 2 VMs, but the disk size can be increased to a recommended maximum of 4 TB. You can increase the OS disk size via the Azure CLI or the Azure portal. For more information on expanding disks programmatically, see [Resize a disk](expand-disks.md).
120
+
OS disks larger than 2 TB are new to generation 2 VMs. By default, OS disks are smaller than 2 TB for generation 2 VMs. You can increase the disk size up to a recommended maximum of 4 TB. Use the Azure CLI or the Azure portal to increase the OS disk size. For information about how to expand disks programmatically, see [Resize a disk](expand-disks.md).
121
121
122
-
To increase the OS disk size via Azure portal:
122
+
To increase the OS disk size from the Azure portal:
123
123
124
-
* Navigate to the VM properties page on the Azure portal.
124
+
1. In the Azure portal, go to the VM properties page.
125
+
1. To shut down and deallocate the VM, select the **Stop** button.
126
+
1. In the **Disks** section, select the OS disk you want to increase.
127
+
1. In the **Disks** section, select **Configuration**, and update the **Size** to the value you want.
128
+
1. Go back to the VM properties page and **Start** the VM.
125
129
126
-
* Shut down and deallocate the VM using the **Stop** button.
130
+
You might see a warning for OS disks larger than 2 TB. The warning doesn't apply to generation 2 VMs. However, OS disk sizes larger than 4 TB are *not recommended.*
127
131
128
-
* In the **Disks** section, select the OS disk that you'd like to increase.
132
+
***Do generation 2 VMs support accelerated networking?**
133
+
Yes. For more information, see [Create a VM with accelerated networking](../../virtual-network/create-vm-accelerated-networking-cli.md).
129
134
130
-
* Select **Configuration** in the **Disks** section and update the **Size** to the desired value.
131
-
132
-
* Navigate back to the VM properties page and **Start** the VM.
135
+
***Is VHDX supported on generation 2?**
136
+
No, generation 2 VMs support only VHD.
133
137
134
-
You may see a warning for OS disks larger than 2 TB. The warning does not apply to generation 2 VMs; however, OS disk sizes larger than 4 TB are **not recommended.**
138
+
***Do generation 2 VMs support Azure Ultra Disk Storage?**
139
+
Yes.
135
140
136
-
***Do generation 2 VMs support Accelerated Networking?**
137
-
Yes, generation 2 VMs support [Accelerated Networking](../../virtual-network/create-vm-accelerated-networking-cli.md).
138
-
139
-
***Is .vhdx supported on generation 2?**
140
-
No, only .vhd is supported on generation 2 VMs.
141
-
142
-
***Do generation 2 VMs support Ultra Solid State Drives (SSD)?**
143
-
Yes, generation 2 VMs support Ultra SSD.
144
-
145
-
***Can I migrate from generation 1 to generation 2 VMs?**
146
-
No, you can't change the generation of a VM after you've created it. If you need to switch between VM generations, you need to create a new VM of a different generation.
141
+
***Can I migrate a VM from generation 1 to generation 2?**
142
+
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.
147
143
148
144
## Next steps
149
145
150
-
* Learn more 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).
146
+
* 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