Deploys a 3 node Consul Cluster

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Deploy To Azure Deploy To Azure US Gov Visualize

This will create a 3 node Consul cluster in Azure and put them into an internal load balancer.

NOTE you will need to have an Atlas account and token in order for auto-join to work.

The Atlas documentation on how to create a token is located here

This template is a bit odd as it gives each of the 3 nodes a public IP but then blocks all incoming traffic. Consul should probably be something you use internally (not publicly accessible) but I didn't want to include spinning up a NAT box just for this. The hack is to give each box a public IP and then block off everything from the outside world accept for SSH. That is why the load balancer is internal as the idea is only internal resources will be using it.

Tags: Microsoft.Storage/storageAccounts, Microsoft.Network/publicIPAddresses, Microsoft.Compute/availabilitySets, Microsoft.Network/networkSecurityGroups, Microsoft.Network/virtualNetworks, Microsoft.Network/loadBalancers, Microsoft.Network/networkInterfaces, Microsoft.Compute/virtualMachines, Microsoft.Compute/virtualMachines/extensions, CustomScript