Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (31 sloc) 2.5 KB

Azure Dedicated Hosts sample template

Table of Contents

  1. Overview
  2. Important Notes
  3. Teardown Deployment
  4. References


This templates provisions a dedicated environment using Azure Dedicated Hosts. You provide the number of zones, how many hosts in each zone and the rest is taken care of by the template.

Note: This is the infrastructure only, no VMs or other resources will be provisioned.

Important Notes

  • Azure Dedicated Hosts support high availability topologies by spreading your hosts across Availability Zone and Fault domains. You may select to use one, the other, or both.
  • This template cover all options for achieving high availability using Azure Dedicated Hosts.
  • The number of availability zones parameter determines whether the deployment will be using zones or not. Use 0 in case you do not want to use availability zones at all (e.g. in a region which does not support them).
  • The template creates one host group per each zone and will spread host across the zones and fault domains provided.
  • In case you are using availability zones, you will be required to provision the virtual machines and IP in the same AZ as the host group. Failing to do so will result in allocation failure. In case you are not using availability zones (set number of AZ to 0), there is no need to provide an AZ number for your VM.


The easiest way to delete the created resources in this template is to simply delete the entire resource group.

Note that Azure will block an attempt to delete a dedicated host which has virtual machines deployed on. In case your hosts are used by virtual machines provisioned elsewhere (in another resource group), make sure those are deleted first before attempting to delete the host.


References to Azure Dedicated Hosts documentation will be added once publicly available

You can’t perform that action at this time.