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-18Lines changed: 20 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,21 +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 cannot exceed the fault domain count of the host group.
27
+
- The fault domain count of the virtual machine scale set can't exceed the fault domain count of the host group.
28
28
29
29
## Create a host group
30
30
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 additional 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 are 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.
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.
34
34
35
-
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.
36
36
37
37
You can also decide to use both availability zones and fault domains.
38
38
39
39
### [Portal](#tab/portal)
40
40
41
-
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.
42
42
43
43
1. Open the Azure [portal](https://portal.azure.com).
44
44
1. Select **Create a resource** in the upper left corner.
@@ -90,7 +90,7 @@ az vm host group create \
90
90
--platform-fault-domain-count 1
91
91
```
92
92
93
-
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).
94
94
95
95
```azurecli-interactive
96
96
az vm host group create \
@@ -125,11 +125,11 @@ Add the `-SupportAutomaticPlacement true` parameter to have your VMs and scale s
125
125
126
126
## Create a dedicated host
127
127
128
-
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.
129
129
130
130
For more information about the host SKUs and pricing, see [Azure Dedicated Host pricing](https://aka.ms/ADHPricing).
131
131
132
-
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.
133
133
134
134
### [Portal](#tab/portal)
135
135
@@ -140,7 +140,7 @@ If you set a fault domain count for your host group, you will need to specify th
140
140
1. Select *myDedicatedHostsRG* as the **Resource group**.
141
141
1. In **Instance details**, type *myHost* for the **Name** and select *East US* for the location.
142
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.
143
-
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.
144
144
1. Once you see the **Validation passed** message, select **Create** to create the host.
145
145
146
146
### [CLI](#tab/cli)
@@ -196,7 +196,7 @@ It will take a few minutes for your VM to be deployed.
196
196
197
197
### [CLI](#tab/cli)
198
198
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 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.
200
200
201
201
```azurecli-interactive
202
202
az vm create \
@@ -255,7 +255,7 @@ When you deploy a scale set, you specify the host group.
255
255
256
256
### [CLI](#tab/cli)
257
257
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 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.
259
259
260
260
```azurecli-interactive
261
261
az vmss create \
@@ -299,7 +299,7 @@ If you want to manually choose which host to deploy the scale set to, add `--hos
299
299
300
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:
301
301
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 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.
303
303
- The VM needs to be located in same region as the dedicated host.
304
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)
305
305
- The VM can't be in an availability set.
@@ -313,7 +313,7 @@ Move the VM to a dedicated host using the [portal](https://portal.azure.com).
313
313
1. Select **Stop** to stop\deallocate the VM.
314
314
1. Select **Configuration** from the left menu.
315
315
1. Select a host group and a host from the drop-down menus.
316
-
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.
317
317
1. After the VM has been added to the host, select **Overview** from the left menu.
318
318
1. At the top of the page, select **Start** to restart the VM.
319
319
@@ -555,7 +555,9 @@ Tags : {}
555
555
---
556
556
557
557
## Deleting hosts
558
-
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.
559
561
560
562
You can only delete a host when there are no any longer virtual machines using it.
561
563
@@ -581,7 +583,7 @@ After deleting the VMs, you can delete the host using [az vm host delete](/cli/a
581
583
az vm host delete -g myDHResourceGroup --host-group myHostGroup --name myHost
582
584
```
583
585
584
-
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).
585
587
586
588
```azurecli-interactive
587
589
az vm host group delete -g myDHResourceGroup --host-group myHostGroup
@@ -608,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.
628
630
629
-
- 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