简体   繁体   English

在非Azure云上运行Service Fabric

[英]Running Service Fabric on non-Azure clouds

I have just started exploring Azure Service Fabric & I'm finding the concepts involved a little overwhelming 我刚刚开始探索Azure Service Fabric,我发现涉及的概念有点压倒性

Consider these 2 statements - 考虑这两个陈述 -

As per my understanding, 据我了解,

1) in Azure, app can be deployed to "Azure Service Fabric" PaaS platform. 1)在Azure中,app可以部署到“Azure Service Fabric”PaaS平台。

2) On a local development machine, it can be deployed to physical or virtual machine(S) that support Azure Service Fabric SDK 2)在本地开发计算机上,可以将其部署到支持Azure Service Fabric SDK的物理或虚拟机(S)

3) On "other cloud providers", "Azure Service Fabric for Windows Server" has to be installed(?) on VMs before app can be deployed. 3)在“其他云提供商”之前,必须在部署应用程序之前在VM上安装“Azure Service Fabric for Windows Server”。

So when an app runs on Azure, it is the "Azure Service Fabric" PaaS platform but if it is deployed to any other cloud provider, it is in an IaaS mode and the maintenance of the SF infrastructure & supporting functions have to be done by deployer of the app 因此,当应用程序在Azure上运行时,它是“Azure Service Fabric”PaaS平台,但如果它部署到任何其他云提供商,则它处于IaaS模式,并且SF基础架构和支持功能的维护必须通过以下方式完成:该应用程序的部署者

Is my understanding correct? 我的理解是否正确?

Is there any documentation on running Service Fabric on non-Azure cloud like AWS? 是否有关于在AWS等非Azure云上运行Service Fabric的文档?

Can someone elaborate on the purpose of " Azure Service Fabric for Windows Server " & Azure Service Fabric SDK? 有人可以详细说明“ Azure Service Fabric for Windows Server ”和Azure Service Fabric SDK的用途吗?

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. 使用Azure作为云平台来托管Service Fabric群集时,您可以直接在Azure门户中设置和管理(某些方面)群集,并将其连接到Azure等其他Azure资源,从而获得一些好处。用于安全存储群集证书的密钥保管库和用于分析群集中日志数据的OMS / Azure Log Analytics。 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: 您仍然可以获得为您创建的一组IaaS资源,但是当您在Azure中设置Service Fabric群集时,至少为您创建了以下至少IaaS资源:

  • Virtual Machine Scaleset 虚拟机规模集
  • Public IP address 公共IP地址
  • 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). 每个节点又是一个运行(默认情况下) Windows Server 2012 R2 Datacenter的VM(您也可以在模板中更改它)。 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. 在Azure上运行Azure Service Fabric并不是一个真正的PaaS解决方案,因此您很难与支持的基础架构联系。 It is a mix of IaaS and PaaS I would say. 我想说它是IaaS和PaaS的混合体。

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. 在本地开发计算机上,您可以运行本地开发群集,该群集模拟在本地计算机上运行1或5个节点cluser。 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 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 . 如果要在Azure之外的任何其他平台上运行Service Fabric,例如在本地数据中心或其他云平台(例如AWS),那么您应该查看创建和管理在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. 然后,当您直接在Azure中创建Azure Service Fabric资源时,您将需要创建类似于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. 您需要使用连接在同一网络(虚拟或物理)上的Windows Server 2012 R2(或更高版本)创建许多VM(或物理机),并且您可能需要某种形式的负载平衡器。 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.). 以这种方式运行Azure Service Fabric时,您自己负责维护基础架构的监视和维护(在VM上修补操作系统,监视网络中的漏洞等)。

There is also a preview for running Service Fabric on Linux machines but it does not support Standalone installations yet. 还有一个在Linux机器上运行Service Fabric的预览,但它还不支持Standalone安装。 https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-linux-overview . 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. 当您在Azure,本地开发群集或独立群集上运行Service Fabric群集时,您可以在某种程度上将该安装视为用于添加新微服务的PaaS平台。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM