Deploy a 5 Node Secure Cluster

Last updated: 11/01/2017

This template allows you to deploy a secure 5 node Service fabric Cluster running Windows server 2012 R2 Data center on a Standard_D2 Size VMs.

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service, and are made available AS IS without warranty of any kind.


Parameter Name Description
clusterLocation Location of the Cluster
clusterName Name of your cluster - Between 3 and 23 characters. Letters and numbers only
adminUserName Remote desktop user Id
adminPassword Remote desktop user password. Must be a strong password
vmImagePublisher VM image Publisher
vmImageOffer VM image offer
vmImageSku VM image SKU
vmImageVersion VM image version
loadBalancedAppPort1 Input endpoint1 for the application to use. Replace it with what your application uses
loadBalancedAppPort2 Input endpoint2 for the application to use. Replace it with what your application uses
certificateStoreValue The store name where the cert will be deployed in the virtual machine
certificateThumbprint Certificate Thumbprint
sourceVaultValue Resource Id of the key vault, is should be in the format of /subscriptions/<Sub ID>/resourceGroups/<Resource group name>/providers/Microsoft.KeyVault/vaults/<vault name>
certificateUrlValue Refers to the location URL in your key vault where the certificate was uploaded, it is should be in the format of https://<name of the vault><exact location>
clusterProtectionLevel Protection level.Three values are allowed - EncryptAndSign, Sign, None. It is best to keep the default of EncryptAndSign, unless you have a need not to
storageAccountType Replication option for the VM image storage account
supportLogStorageAccountType Replication option for the support log storage account
applicationDiagnosticsStorageAccountType Replication option for the application diagnostics storage account
nt0InstanceCount Instance count for node type

Use the template

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri
Installing and configuring Azure PowerShell
Command line
azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri
Installing and configuring the Azure cross-platform command-line interface