2
votes

Is it possible to join a Azure Service Fabric Cluster to a Virtual Network in Azure ?

Not simply join an existing Virtual Network, but also join the vm's where the cluster is running on into the domain. So that the cluster can use an domain user account to access network shares etc..

2

2 Answers

4
votes

Yes. The default SF template creates a VNET for the cluster, so I assume you mean join to an existing VNET.

If you take a look at the sample template for SF, you can see the subnet0Ref variable which is being used to set the network profile of the NICs that are part of the newly created scale set. You can modify the template to lookup your pre-existing subnet using the resourceid template expression function (documentation). Then you can just drop all the other resources from the template that you don't need created, like the VNET itself.

1
votes

Here is the document highlighting how to use and Existing Virtual Network / Subnet that was written by our support engineer. https://blogs.msdn.microsoft.com/kwill/2016/10/05/azure-service-fabric-common-networking-scenarios/

We are merging this content into our official documentation. sorry about the delay.