Running Service Fabric on non-Azure clouds

后端 未结 1 1058
梦谈多话
梦谈多话 2021-02-05 15:26

I have just started exploring Azure Service Fabric & I\'m finding the concepts involved a little overwhelming

Consider these 2 statements -

  • \"Service F
相关标签:
1条回答
  • 2021-02-05 15:49

    When using Azure as the cloud platform to host your Service Fabric cluster then you get some benefits from being able to setup and manage (some aspects of) your cluster directly in the Azure portal, as well as connecting it to other Azure resources such as Azure Key Vault for storing your cluster certificate securely and OMS/Azure Log Analytics for analyzing your log data from the cluster. You still get a set of IaaS resources created for you though when you set up a Service Fabric cluster in Azure, a minimum of the following IaaS resources are at least created for you:

    • Virtual Machine Scaleset
    • Public IP address
    • Virtual Network
    • Load Balancer
    • Storage accounts

    Depending on the number of nodes and nodetypes there may be multiple instances of these. Each of the nodes are in turn a VM running (by default) Windows Server 2012 R2 Datacenter (you can change that in your template as well). Running Azure Service Fabric on Azure is not really a PaaS solution, you are far to much in contact with the supporting infrastucture for that to be true. It is a mix of IaaS and PaaS I would say.

    On you local development machine you can run a local development cluster that emulates running a 1 or 5 nodes cluser on you local machine. It is only intended for development and there are some features of this local cluster that will behave differently (for instance, you cannot run a reverse proxy there). https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-get-started

    If you want to run Service Fabric on any other platform than Azure, such as an on premice data center or in another cloud platform (AWS for instance), then you should look at Create and manage a cluster running on Windows Server. You will then need to create an infrastructure similar to the infrastructure created by Azure when you create an Azure Service Fabric resource directly in Azure. You will need to create a number of VMs (or physical machines) with Windows Server 2012 R2 (or later) that are connected on the same network (virtual or physical) and you will likely need some form of load balancer. When you run Azure Service Fabric in this way you are yourself responsible for maintaining your infrastructure in terms of monitoring and maintaining them (patching the OS on your VM's, monitoring the network for vulnerabilities, etc.).

    There is also a preview for running Service Fabric on Linux machines but it does not support Standalone installations yet. https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-linux-overview.

    When you have your Service Fabric cluster running on either Azure, local development cluster or as a Standalone cluster, then you could in a way consider that installation as your PaaS platform for adding new microservices.

    0 讨论(0)
提交回复
热议问题