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/dedicated-hosts-how-to.md
+20-17Lines changed: 20 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,20 +24,21 @@ This article guides you through how to create an Azure [dedicated host](dedicate
24
24
## Limitations
25
25
26
26
- The sizes and hardware types available for dedicated hosts vary by region. Refer to the host [pricing page](https://aka.ms/ADHPricing) to learn more.
27
+
- The fault domain count of the virtual machine scale set can't exceed the fault domain count of the host group.
27
28
28
29
## Create a host group
29
30
30
-
A **host group** is a resource that represents a collection of dedicated hosts. You create a host group in a region and an availability zone, and add hosts to it. When planning for high availability, there are additional options. You can use one or both of the following options with your dedicated hosts:
31
-
- Span across multiple availability zones. In this case, you are required to have a host group in each of the zones you wish to use.
32
-
- Span across multiple fault domains which are mapped to physical racks.
31
+
A **host group** is a resource that represents a collection of dedicated hosts. You create a host group in a region and an availability zone, and add hosts to it. When planning for high availability, there are more options. You can use one or both of the following options with your dedicated hosts:
32
+
- Span across multiple availability zones. In this case, you're required to have a host group in each of the zones you wish to use.
33
+
- Span across multiple fault domains, which are mapped to physical racks.
33
34
34
-
In either case, you are need to provide the fault domain count for your host group. If you do not want to span fault domains in your group, use a fault domain count of 1.
35
+
In either case, you need to provide the fault domain count for your host group. If you don't want to span fault domains in your group, use a fault domain count of 1.
35
36
36
37
You can also decide to use both availability zones and fault domains.
37
38
38
39
### [Portal](#tab/portal)
39
40
40
-
In this example, we will create a host group using 1 availability zone and 2 fault domains.
41
+
In this example, we will create a host group using one availability zone and two fault domains.
41
42
42
43
1. Open the Azure [portal](https://portal.azure.com).
43
44
1. Select **Create a resource** in the upper left corner.
@@ -89,7 +90,7 @@ az vm host group create \
89
90
--platform-fault-domain-count 1
90
91
```
91
92
92
-
The following uses [az vm host group create](/cli/azure/vm/host/group#az-vm-host-group-create) to create a host group by using fault domains only (to be used in regions where availability zones are not supported).
93
+
The following code snippet uses [az vm host group create](/cli/azure/vm/host/group#az-vm-host-group-create) to create a host group by using fault domains only (to be used in regions where availability zones aren't supported).
93
94
94
95
```azurecli-interactive
95
96
az vm host group create \
@@ -124,11 +125,11 @@ Add the `-SupportAutomaticPlacement true` parameter to have your VMs and scale s
124
125
125
126
## Create a dedicated host
126
127
127
-
Now create a dedicated host in the host group. In addition to a name for the host, you are required to provide the SKU for the host. Host SKU captures the supported VM series as well as the hardware generation for your dedicated host.
128
+
Now create a dedicated host in the host group. In addition to a name for the host, you're required to provide the SKU for the host. Host SKU captures the supported VM series and the hardware generation for your dedicated host.
128
129
129
130
For more information about the host SKUs and pricing, see [Azure Dedicated Host pricing](https://aka.ms/ADHPricing).
130
131
131
-
If you set a fault domain count for your host group, you will need to specify the fault domain for your host.
132
+
If you set a fault domain count for your host group, you'll need to specify the fault domain for your host.
132
133
133
134
### [Portal](#tab/portal)
134
135
@@ -139,7 +140,7 @@ If you set a fault domain count for your host group, you will need to specify th
139
140
1. Select *myDedicatedHostsRG* as the **Resource group**.
140
141
1. In **Instance details**, type *myHost* for the **Name** and select *East US* for the location.
141
142
1. In **Hardware profile**, select *Standard Es3 family - Type 1* for the **Size family**, select *myHostGroup* for the **Host group** and then select *1* for the **Fault domain**. Leave the defaults for the rest of the fields.
142
-
1. When you are done, select **Review + create** and wait for validation.
143
+
1. When you're done, select **Review + create** and wait for validation.
143
144
1. Once you see the **Validation passed** message, select **Create** to create the host.
144
145
145
146
### [CLI](#tab/cli)
@@ -195,7 +196,7 @@ It will take a few minutes for your VM to be deployed.
195
196
196
197
### [CLI](#tab/cli)
197
198
198
-
Create a virtual machine within a dedicated host using [az vm create](/cli/azure/vm#az-vm-create). If you specified an availability zone when creating your host group, you are required to use the same zone when creating the virtual machine. Replace the values like image and host name with your own. If you are creating a Windows VM, remove `--generate-ssh-keys` to be prompted for a password.
199
+
Create a virtual machine within a dedicated host using [az vm create](/cli/azure/vm#az-vm-create). If you specified an availability zone when creating your host group, you're required to use the same zone when creating the virtual machine. Replace the values like image and host name with your own. If you're creating a Windows VM, remove `--generate-ssh-keys` to be prompted for a password.
199
200
200
201
```azurecli-interactive
201
202
az vm create \
@@ -254,7 +255,7 @@ When you deploy a scale set, you specify the host group.
254
255
255
256
### [CLI](#tab/cli)
256
257
257
-
When you deploy a scale set using [az vmss create](/cli/azure/vmss#az-vmss-create), you specify the host group using `--host-group`. In this example, we are deploying the latest Ubuntu LTS image. To deploy a Windows image, replace the value of `--image` and remove `--generate-ssh-keys` to be prompted for a password.
258
+
When you deploy a scale set using [az vmss create](/cli/azure/vmss#az-vmss-create), you specify the host group using `--host-group`. In this example, we're deploying the latest Ubuntu LTS image. To deploy a Windows image, replace the value of `--image` and remove `--generate-ssh-keys` to be prompted for a password.
258
259
259
260
```azurecli-interactive
260
261
az vmss create \
@@ -298,7 +299,7 @@ If you want to manually choose which host to deploy the scale set to, add `--hos
298
299
299
300
You can add an existing VM to a dedicated host, but the VM must first be Stop\Deallocated. Before you move a VM to a dedicated host, make sure that the VM configuration is supported:
300
301
301
-
- The VM size must be in the same size family as the dedicated host. For example, if your dedicated host is DSv3, then the VM size could be Standard_D4s_v3, but it could not be a Standard_A4_v2.
302
+
- The VM size must be in the same size family as the dedicated host. For example, if your dedicated host is DSv3, then the VM size could be Standard_D4s_v3, but it couldn't be a Standard_A4_v2.
302
303
- The VM needs to be located in same region as the dedicated host.
303
304
- The VM can't be part of a proximity placement group. Remove the VM from the proximity placement group before moving it to a dedicated host. For more information, see [Move a VM out of a proximity placement group](./windows/proximity-placement-groups.md#move-an-existing-vm-out-of-a-proximity-placement-group)
304
305
- The VM can't be in an availability set.
@@ -312,7 +313,7 @@ Move the VM to a dedicated host using the [portal](https://portal.azure.com).
312
313
1. Select **Stop** to stop\deallocate the VM.
313
314
1. Select **Configuration** from the left menu.
314
315
1. Select a host group and a host from the drop-down menus.
315
-
1. When you are done, select **Save** at the top of the page.
316
+
1. When you're done, select **Save** at the top of the page.
316
317
1. After the VM has been added to the host, select **Overview** from the left menu.
317
318
1. At the top of the page, select **Start** to restart the VM.
318
319
@@ -554,7 +555,9 @@ Tags : {}
554
555
---
555
556
556
557
## Deleting hosts
557
-
You are being charged for your dedicated hosts even when no virtual machines are deployed. You should delete any hosts you are currently not using to save costs.
558
+
559
+
560
+
being charged for your dedicated hosts even when no virtual machines are deployed. You should delete any hosts you're currently not using to save costs.
558
561
559
562
You can only delete a host when there are no any longer virtual machines using it.
560
563
@@ -580,7 +583,7 @@ After deleting the VMs, you can delete the host using [az vm host delete](/cli/a
580
583
az vm host delete -g myDHResourceGroup --host-group myHostGroup --name myHost
581
584
```
582
585
583
-
Once you have deleted all of your hosts, you may delete the host group using [az vm host group delete](/cli/azure/vm/host/group#az-vm-host-group-delete).
586
+
Once you've deleted all of your hosts, you may delete the host group using [az vm host group delete](/cli/azure/vm/host/group#az-vm-host-group-delete).
584
587
585
588
```azurecli-interactive
586
589
az vm host group delete -g myDHResourceGroup --host-group myHostGroup
@@ -607,7 +610,7 @@ After deleting the VMs, you can delete the host using [Remove-AzHost](/powershel
- For more information, see the [Dedicated hosts](dedicated-hosts.md) overview.
627
630
628
-
- There is sample template, available at [Azure quickstart templates](https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.compute/vm-dedicated-hosts/README.md), that uses both zones and fault domains for maximum resiliency in a region.
631
+
- There's sample template, available at [Azure quickstart templates](https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.compute/vm-dedicated-hosts/README.md), that uses both zones and fault domains for maximum resiliency in a region.
0 commit comments