Skip to content

Commit 745d4bf

Browse files
committed
Add intro, prereqs
1 parent 1a6a0ed commit 745d4bf

File tree

1 file changed

+67
-8
lines changed

1 file changed

+67
-8
lines changed

articles/service-fabric/quickstart-cluster-template.md

Lines changed: 67 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,86 @@
11
---
2-
title: Create a Service Fabric cluster by using Azure Resource Manager template
3-
description: Learn how to create an Azure Service Fabric cluster by using Azure Resource Manager template.
2+
title: Create a Service Fabric cluster using Azure Resource Manager template
3+
description: In this quickstart, you will create an Azure Service Fabric test cluster by using Azure Resource Manager template.
44
author: erikadoyle
55
ms.service: service-fabric
66
ms.topic: quickstart
77
ms.custom: subject-armqs
88
ms.author: edoyle
9-
ms.date: 04/22/20
9+
ms.date: 04/24/20
1010
---
11-
# The H1 heading must include words "Resource Manager template"
12-
13-
<!-- The second paragraph must be the following include file. You might need to change the file path of the include file depending on your content structure. This include is a paragraph that consistently introduces ARM concepts before doing a deployment and includes all our desired links to ARM content.-->
11+
# Quickstart: Create a Service Fabric cluster using Resource Manager template
1412

13+
Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices and containers. An Service Fabric *cluster* is a network-connected set of virtual machines into which your microservices are deployed and managed.
1514

1615
[!INCLUDE [About Azure Resource Manager](../../includes/resource-manager-quickstart-introduction.md)]
1716

17+
This article describes how to deploy a Service Fabric test cluster in Azure using the Resource Manager. This 5-node Windows cluster is secured with a self-signed certificate and thus only intended for instructional purposes (rather than production workloads).
18+
1819
If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/) account before you begin.
1920

2021
## Prerequisites
2122

22-
<!-- If there aren't any prerequisites, just place "None" in the section. -->
23+
### Install Service Fabric SDK and PowerShell modules
24+
25+
To complete this quickstart, you'll need to:
26+
27+
* Install the [Service Fabric SDK and PowerShell module](service-fabric-get-started.md).
28+
29+
* Install [Azure Powershell](https://docs.microsoft.com/powershell/azure/install-Az-ps).
30+
31+
### Download the sample template and certificate helper script
32+
33+
Clone or download the [Azure Resource Manager QuickStart Templates](https://github.com/Azure/azure-quickstart-templates) repo. Alternatively, simply copy down locally the following files we'll be using from the *service-fabric-secure-cluster-5-node-1-nodetype* folder:
34+
35+
* [New-ServiceFabricClusterCertificate.ps1](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/service-fabric-secure-cluster-5-node-1-nodetype/New-ServiceFabricClusterCertificate.ps1)
36+
* [azuredeploy.json](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/service-fabric-secure-cluster-5-node-1-nodetype/azuredeploy.json)
37+
* [azuredeploy.parameters.json](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/service-fabric-secure-cluster-5-node-1-nodetype/azuredeploy.parameters.json)
38+
39+
### Sign in to Azure
40+
41+
Sign in to Azure and designate the subscription to use for creating your Service Fabric cluster.
42+
43+
```powershell
44+
# Sign in to your Azure account
45+
Login-AzAccount -SubscriptionId "<subscription ID>"
46+
```
47+
48+
### Create a self-signed certificate stored in Key Vault
49+
50+
Service Fabric uses X.509 certificates to [secure a cluster](./service-fabric-cluster-security.md) and provide application security features, and [Key Vault](../key-vault/general/overview) to manage those certificates. Successful cluster creation requires a cluster certificate to enable node-to-node communication. For the purpose of creating this quickstart test cluster, we'll create a self-signed certificate for cluster authentication. Production workloads require certificates created using a correctly configured Windows Server certificate service or one from an approved certificate authority (CA).
51+
52+
```powershell
53+
# Designate unique (within cloudapp.azure.com) names for your resources
54+
55+
$resourceGroupName = "SFQuickstartRG"
56+
$keyVaultName = "SFQuickstartKV"
57+
58+
# Create a new resource group for your Key Vault and Service Fabric cluster
59+
New-AzResourceGroup -Name $resourceGroupName -Location SouthCentralUS
60+
61+
# Create a Key Vault enabled for deployment
62+
New-AzKeyVault -VaultName $KeyVaultName -ResourceGroupName $resourceGroupName -Location SouthCentralUS -EnabledForDeployment
63+
64+
# Generate a certificate and upload it to Key Vault
65+
.\New-ServiceFabricClusterCertificate.ps1
66+
```
67+
68+
The script will prompt you for the following (be sure to modify *CertDNSName* and *KeyVaultName* from the example values below):
69+
70+
* **Password:** Password!1
71+
* **CertDNSName:** sfquickstart.southcentralus.cloudapp.azure.com
72+
* **KeyVaultName:** SFQuickstartKV0416
73+
* **KeyVaultSecretName:** clustercert
74+
75+
Upon completion, the script will provide the parameter values needed for template deployment. Be sure to store these in the following variables, as they will be needed to deploy your cluster template:
76+
77+
```powershell
78+
$sourceVaultId = ""
79+
$certUrlValue = ""
80+
$certThumbprint = ""
81+
```
2382

24-
## Create a ...
83+
## Create a Service Fabric cluster
2584

2685
<!-- The second H2 must start with "Create a". For example, 'Create a Key Vault', 'Create a virtual machine', etc. -->
2786

0 commit comments

Comments
 (0)