Preview: Deploy VMs to dedicated hosts using the portal

This article guides you through how to create an Azure dedicated host to host your virtual machines (VMs).

Important

Azure Dedicated Hosts is currently in public preview. 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. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.

Known preview limitations

  • Virtual machine scale sets are not currently supported on dedicated hosts.
  • The preview initial release supports the following VM series: DSv3 and ESv3.

Create a host group

A host group is a new 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:

  • 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.
  • Span across multiple fault domains which are mapped to physical racks.

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.

You can also decide to use both availability zones and fault domains.

In this example, we will create a host group using 1 availability zone and 2 fault domains.

  1. Open the Azure portal.

  2. Select Create a resource in the upper left corner.

  3. Search for Host group and then select Host Groups (preview) from the results.

    Host groups search result.

  4. In the Host Groups (preview) page, select Create.

  5. Select the subscription you would like to use, and then select Create new to create a new resource group.

  6. Type myDedicatedHostsRG as the Name and then select OK.

  7. For Host group name, type myHostGroup.

  8. For Location, select East US.

  9. For Availability Zone, select 1.

  10. For Fault domain count, select 2.

  11. Select Review + create and then wait for validation.

    Host group settings

  12. Once you see the Validation passed message, select Create to create the host group.

It should only take a few moments to create the host group.

Create a dedicated host

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. During the preview, we will support the following host SKU values: DSv3_Type1 and ESv3_Type1.

For more information about the host SKUs and pricing, see Azure Dedicated Host pricing.

If you set a fault domain count for your host group, you will be asked to specify the fault domain for your host.

  1. Select Create a resource in the upper left corner.

  2. Search for Dedicated host and then select Dedicated hosts (preview) from the results.

    Host groups search result.

  3. In the Dedicated Hosts (preview) page, select Create.

  4. Select the subscription you would like to use.

  5. Select myDedicatedHostsRG as the Resource group.

  6. In Instance details, type myHost for the Name and select East US for the location.

  7. In Hardware profile, select Standard Es3 family - Type 1 for the Size family, select myHostGrup for the Host group and then select 1 for the Fault domain. Leave the defaults for the rest of the fields.

  8. When you are done, select Review + create and wait for validation.

    Host settings

  9. Once you see the Validation passed message, select Create to create the host.

Create a VM

  1. Choose Create a resource in the upper left corner of the Azure portal.

  2. In the search box above the list of Azure Marketplace resources, search for and select Ubuntu Server 16.04 LTS by Canonical, then choose Create.

  3. In the Basics tab, under Project details, make sure the correct subscription is selected and then select myDedicatedHostsRG as the Resource group.

  4. Under Instance details, type myVM for the Virtual machine name and choose East US for your Location.

  5. In Availability options select Availability zone, select 1 from the drop-down.

  6. For the size, select Change size. In the list of available sizes, choose one from the Esv3 series, like Standard E2s v3. You may need to clear the filter in order to see all of the available sizes.

  7. Under Administrator account, select SSH public key, type your user name, then paste your public key into the text box. Remove any leading or trailing white space in your public key.

    Administrator account

  8. Under Inbound port rules > Public inbound ports, choose Allow selected ports and then select SSH (22) from the drop-down.

  9. At the top of the page, select the Advanced tab and in the Host section, select myHostGroup for Host group and myHost for the Host. Select host group and host

  10. Leave the remaining defaults and then select the Review + create button at the bottom of the page.

  11. When you see the message that validation has passed, select Create.

It will take a few minutes for your VM to be deployed.

Next steps

  • For more information, see the Dedicated hosts overview.

  • There is sample template, found here, that uses both zones and fault domains for maximum resiliency in a region.

  • You can also deploy a dedicated host using the Azure CLI.