Search code examples
azure-service-fabric

Remote into SF nodes via RDP


How does one go about remoting into a node in a SF cluster? Since these are just VMs it feels like I should be able to RDP into them, even if that is something I would normally like to avoid.

How would I go about remoting in?


Solution

  • Adding a few Service Fabric-specific details to Vaclav's answer:

    The standard Service Fabric template defines a NAT that maps ports 3389 through 4500 to each VM's RDP port. To access the first VM in the scale set, use port 3389, the second VM, port 3390, etc. The host name is derived from the cluster's name, e.g. mycluster.eastus.cloudapp.azure.com (same address as SF Explorer).

    So, for example, to access the third VM, use the following command:

    mstsc /v:mycluster.eastus.cloudapp.azure.com:3391