Introduction
This template allows you to deploy a secure 5 node, Single Node Type Service Fabric Cluster running Ubuntu Server on a Standard_D2_v2 Size Virtual Machine Scale set with Azure Diagnostics turned on.
The original template is taken from GitHub. Only small adjustments are made on naming and parameters.
Related Azure Resources
| Resource | Description | Automation |
|---|---|---|
| KeyVault | Creates a key vault for the storage of secrets, keys and certificates | ARM |
| KeyVault update secret | Update or add a secret to an existing Azure KeyVault. Used during release when a resource is created which exposes a secret. | ARM |
| KeyVault | Creates a key vault for the storage of secrets, keys and certificates | Bicep |
Pre activities
The following activities need to be preformed first before deploying the ASF cluster.
1 Create KeyVault
Use the CloudBoost KeyVault template to provision the Key Vault in the same region as you are planning to deploy the Azure Service Fabric Cluster.
Set the parameters kvtEnabledForDeployment and kvtEnabledForTemplateDeployment on True.
2 Create Certificate
Run the New-ServiceFabricClusterCertificate.ps1 file. See file for details.
This activity is done manually because it requires a local location to store the certificate.
Post Activities
Added the certificate to the local storage and browse to the Service Fabric Cluster portal.
The certificate is stored in your Personal Certificate store, to share it export it from here with a password and the private key.
Deployment via Eclipse works by first creating a PEM file via Bash.