Search code examples
azure-service-fabric

Is it safe to use http inside service fabric cluster for service to service commiunication?


I created a secure service fabric and have full control. Only services developed by me will be deployed and all public facing apis are using https. The question is for communication between service to service in cluster, is it safe to use http instead of https?

Thanks,


Solution

  • This is related to how do you set up your cluster with your network. Public facing services and internal services should be in a different NSG networks. You should control very strict communication between public and internal. If you can do that then http or any protocol between services is not a problem

    Personally, i prefer http over remoting because there will be less dependency between services. Communication between services can be defined using Open API and therefore become vendor neutral.

    There is a very good course on MVA for how to set up Service fabric class and best practice

    https://mva.microsoft.com/en-US/training-courses/16925?l=E5B3nJSGD_805167344