Create custom Azure Fabric cluster

When you start working with Azure Service Fabric you might be disappointed with customisation possibilities.

So even if you just want to add a few Internal Load balancers you have to customise ARM template.

When you working with ARM templates it might be good idea to split VNet and KeyVaults from computing resources.

To make provision easier you can use PowerShell scripts, like this one for certificates.

Full solution you can find in my GitHub – https://github.com/kagarlickij/arm-fabric 

Now let’s see how it can be implemented:

  1. Ensure that you don’t have any Fabric management certificates:

2. Create public IP address (ensure that pip1 is present in .\pip\parameters.json):

3. Create Fabric Cluster and Server certificates using DnsName created on previous step:

4. Create virtual network:

5. Add clientCertificateThumbprint, clusterCertificateThumbprint, certificateVaultValue and clusterCertificateUrlValue (stored in C:\AzureCertificates\) to .\fabric\parameters.json :

6. Create Fabric cluster:

7. Check cluster certificates:

8. Deploy jumpbox in VNet created earlier using portal:

9. Install certificates on jumpbox to ‘Cert:\CurrentUser\My\’:

10. Check RDP to VMSS nodes from jumpbox:

I hope this info will be useful for you, and if you need any help feel free to use contact from on the main page.