简体   繁体   English

云中的Service Fabric部署

[英]Service Fabric deployment in the cloud

We are switching to an actor based architecture for a subsystem in our product (We use C#), and we are considering either Akka.NET or Service Fabric actors. 我们正在为产品中的子系统转换为基于参与者的体系结构(我们使用C#),并且正在考虑使用Akka.NET或Service Fabric参与者。 We have experience with Akka and Akka Clusters (in Scala), but the Service Fabric actors suits our purpose perfectly. 我们有使用Akka和Akka群集(在Scala中)的经验,但是Service Fabric参与者非常适合我们的目的。 It is, however, really difficult to find any material about deployment. 但是,实际上很难找到有关部署的任何材料。

Is it possible at all to deploy on Azure at the moment (or can you join any preview programmes)? 目前是否可以在Azure上进行部署(或者可以加入任何预览程序)? I can't find any indications of when a preview will be available, if it is not possible already. 如果尚无法提供预览,我找不到任何指示。

Azure deployment is not available yet. Azure部署尚不可用。 It will be launched as a preview later this year. 它将在今年晚些时候作为预览发布。

Update : Service Fabric is now available in public preview. 更新 :Service Fabric现在可以在公共预览中使用。

Update: Microsoft now provides Service Fabric Continuous Integration documentation 更新:Microsoft 现在提供Service Fabric持续集成文档

I have continuous delivery running w/the development SDK (all nodes on one VM) like this: 我使用开发SDK(一个VM上的所有节点)运行连续交付,如下所示:

  1. push to github.com 推送到github.com
  2. github.com tells Visual Studio Online to trigger a build. github.com告诉Visual Studio Online触发构建。
  3. A custom build definition with a custom ‪#PowerShell‬ script step who 7z's the build artifacts and curl's the file to the Windows Server 2012 R2 Azure VM instance 具有自定义‪#PowerShell‬脚本步骤的自定义生成定义,谁将7z作为生成工件并将文件卷曲到Windows Server 2012 R2 Azure VM实例
  4. IIS is loaded on the VM to host basic auth over TLS, & the WebDav module simply for this upload (easier to configure than FTP or WebRM on Azure, for sure) 将IIS加载到VM上以通过TLS托管基本身份验证,并仅为此上载提供WebDav模块(肯定比在Azure上配置FTP或WebRM更容易)
  5. I wrote custom open-source code who monitors for a trigger file ( https://github.com/corlib/trigger ) and invokes a command, configured to invoke a custom deployment script. 我编写了自定义开源代码,该代码监视触发器文件( https://github.com/corlib/trigger )并调用一个命令,该命令配置为调用自定义部署脚本。 (very early, but functional for this purpose) (很早,但是可以实现此目的)
  6. The deployment script decompresses the archive, loads the ServiceFabric application manifest to obtain the application type version. 部署脚本解压缩存档,加载ServiceFabric应用程序清单以获得应用程序类型版本。 This version is used to deploy the application package to a unique location in the cluster, register it, and then start a monitored application upgrade (w/rollback to previous version on failure) 此版本用于将应用程序包部署到群集中的唯一位置,进行注册,然后启动受监视的应用程序升级(失败时回滚到以前的版本)

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

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