Try Playground
Show / Hide Table of Contents

Azure Service Fabric - Create Service Fabric Cluster

Let us get started by creating an Azure Service Fabric cluster. A Service Fabric cluster is basically a set of virtual machines connected to each other with microservices deployed and managed on them.

Here we are using Azure Resource Manager template, which is a JSON file and defines the configurations for your Service Fabric project. You just have to provide the parameters and their values and on deployment, Azure creates your cluster based on the parameters provided. You can read our blog on using ARM template for your Azure deployments to achieve better understanding.

Azure Service Fabric: Prerequisites to Create Service Fabric Cluster

Before creating the Azure Service Fabric cluster, make sure to have the following requirements fulfiled:

  • Sign in to Microsoft Azure Portal with your credentials.

  • Create a resource group with the key-vault resources, i.e., the certificate to be used with the Service Fabric cluster.

  • Download a sample template from Azure Resource Manager templates repository.

Note

We will be using the Azure template for 5-node Service Fabric cluster for demonstration in the documentation.

Create the Service Fabric Cluster

After setting up the requirements for creating the cluster, make the following changes in the ARM template:

  • In the json file, change the default value of the vmImageSku parameter in the parameters section from 2016-Datacenter to 2016-Datacenter-with-Containers. This will set up VMSS nodes with Docker capabilities pre-installed.
  • Update the ARM template to allow for Open networking mode. Here is how to change the networking mode. We will learn in the later chapter about this mode and why to use it.
  • Among the load balancer ports that you would like to expose, add one with a value of 8251 which is the port value on which the NCache Management Center will be running. Change the distribution mode for this port to SourceIP. This would allow for the NCache Management Center to be accessed with a sticky session to provide a consistent state between server and client when in the process of creating caches and adding nodes to them.

After successfully adjusting the template, click on Deploy from your application to successfully deploy the parameters and create the application.

Service Fabric Cluster

Once done move forward to the next step of creating NCache Cluster service.

See Also

Deploying NCache in Azure Service Fabric
Create NCache Cluster Service
Create NCache Discovery Service
Create NCache Management Service

In This Article
  • Azure Service Fabric: Prerequisites to Create Service Fabric Cluster
  • Create the Service Fabric Cluster
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top