question

BiplovKC-1795 avatar image
0 Votes"
BiplovKC-1795 asked ·

Azure service fabric deployment costs

My problem is regarding deployment cost, I don't know if this is right place to post this question but i will do it for now.

I wanted to get to know azure service fabric stateless and statefull services. For this i have created a project with 1 stateless reliable service and 1 statefull reliable service in my project. This application calls a third party api and parses data and returns the information in json format via api. I deployed a service fabric application using the azure deployment template

I have used one vm instance and Standard_B2ms machine which according to vm documentation from microsoft should cost around 35 euros.

"vmInstanceCount": {
"type": "int",
"defaultValue": 1,
"metadata": {
"description": "Instance count for node type"
}
},
"vmNodeSize": {
"type": "string",
"defaultValue": "Standard_B2ms" //2cpu, 8gb ram, 4 data disks, temp storage 16 gb, cost/month = 59.10
}

However, when the application is deployed the cost forecast for virutamachinescaleset in a month is more than 400 euro.

B2COg.png

Can anyone suggest me why the cost is so high?

Could it be because of following resource?

 "resources": [
     {
         "apiVersion": "2016-01-01",
         "type": "Microsoft.Storage/storageAccounts",
         "name": "[variables('supportLogStorageAccountName')]",
         "location": "[resourceGroup().location]",
         "tags": {
             "resourceType": "Service Fabric",
             "clusterName": "[variables('clusterName')]",
             "displayName": "SupportLogStorageAccount"
         },
         "sku": {
             "name": "Standard_LRS"
         },
         "kind": "Storage"
     },
     {
         "apiVersion": "2016-01-01",
         "type": "Microsoft.Storage/storageAccounts",
         "name": "[variables('applicationDiagnosticsStorageAccountName')]",
         "location": "[resourceGroup().location]",
         "tags": {
             "resourceType": "Service Fabric",
             "clusterName": "[variables('clusterName')]",
             "displayName": "DiagnosticsStorageAccount"
         },
         "sku": {
             "name": "Standard_LRS"
         },
         "kind": "Storage"
     },

}

Here is the template i am using.

{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"namePart": {
"type": "string",
"metadata": {
"description": "Name tag"
}
},
"rdpPassword": {
"type": "string",
"metadata": {
"description": "Password to node VMs RDP connections"
}
},
"certificateThumbprint": {
"type": "string"
},
"sourceVaultResourceId": {
"type": "string",
"metadata": {
&#34;description&#34;: &#34;Resource ID of the key vault where cluster certificate is stored. The format is /subscriptions/<subscription ID>/resourceGroups/<resource group name>/providers/Microsoft.KeyVault/vaults/<vault name>&#34;
}
},
&#34;certificateUrlValue&#34;: {
&#34;type&#34;: &#34;string&#34;,
&#34;metadata&#34;: {
&#34;description&#34;: &#34;Refers to the location URL in your key vault where the cluster certificate was uploaded. The format is https://<name of the vault>.vault.azure.net:443/secrets/<exact location>&#34;
}
},
&#34;vmInstanceCount&#34;: {
&#34;type&#34;: &#34;int&#34;,
&#34;defaultValue&#34;: 1,
&#34;metadata&#34;: {
&#34;description&#34;: &#34;Instance count for node type&#34;
}
},
&#34;vmNodeSize&#34;: {
&#34;type&#34;: &#34;string&#34;,
&#34;defaultValue&#34;: &#34;Standard_B2ms&#34; //2cpu, 8gb ram, 4 data disks, temp storage 16 gb, cost/month = 59.10
}
},
&#34;variables&#34;: {
&#34;clusterName&#34;: &#34;[parameters('namePart')]&#34;,
&#34;virtualNetworkName&#34;: &#34;[concat('vnet-', variables('clusterName'))]&#34;,
&#34;addressPrefix&#34;: &#34;10.0.0.0/16&#34;,
&#34;subnet1Name&#34;: &#34;MiniSub&#34;,
&#34;subnet1Prefix&#34;: &#34;10.0.0.0/24&#34;,
&#34;lbName&#34;: &#34;[concat('lb-', parameters('namePart'))]&#34;,
&#34;lbIPName&#34;: &#34;[concat('ip-', parameters('namePart'))]&#34;,
&#34;vnetID&#34;: &#34;[resourceId('Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]&#34;,
&#34;subnet1Ref&#34;: &#34;[concat(variables('vnetID'), '/subnets/', variables('subnet1Name'))]&#34;,
&#34;supportLogStorageAccountName&#34;: &#34;[concat('logs', uniqueString(resourceGroup().id))]&#34;,
&#34;applicationDiagnosticsStorageAccountName&#34;: &#34;[concat('diags', uniqueString(resourceGroup().id))]&#34;,
&#34;lbID0&#34;: &#34;[resourceId('Microsoft.Network/loadBalancers', variables('lbName'))]&#34;,
&#34;lbIPConfig0&#34;: &#34;[concat(variables('lbID0'), '/frontendIPConfigurations/LoadBalancerIPConfig')]&#34;,
&#34;lbPoolID0&#34;: &#34;[concat(variables('lbID0'), '/backendAddressPools/LoadBalancerBEAddressPool')]&#34;,
&#34;lbProbeID0&#34;: &#34;[concat(variables('lbID0'), '/probes/FabricManagementProbe')]&#34;,
&#34;lbHttpProbeID0&#34;: &#34;[concat(variables('lbID0'), '/probes/FabricExplorerProbe')]&#34;,
&#34;lbNatPoolID0&#34;: &#34;[concat(variables('lbID0'), '/inboundNatPools/LoadBalancerBEAddressNatPool')]&#34;,
&#34;vmNodeType0Name&#34;: &#34;MiniSet&#34;,
&#34;fabricTcpGatewayPort&#34;: &#34;19000&#34;,
&#34;fabricHttpGatewayPort&#34;: &#34;19080&#34;,
&#34;applicationStartPort&#34;: &#34;20000&#34;,
&#34;applicationEndPort&#34;: &#34;30000&#34;,
&#34;ephemeralStartPort&#34;: &#34;49152&#34;,
&#34;ephemeralEndPort&#34;: &#34;65534&#34;,
&#34;certificateStoreValue&#34;: &#34;My&#34;,
&#34;vmImagePublisher&#34;: &#34;MicrosoftWindowsServer&#34;,
&#34;vmImageOffer&#34;: &#34;WindowsServer&#34;,
&#34;vmImageSku&#34;: &#34;2016-Datacenter-with-Containers&#34;,
&#34;vmImageVersion&#34;: &#34;latest&#34;,
&#34;rdpUserName&#34;: &#34;rdpadmin&#34;
},
&#34;resources&#34;: [
{
&#34;apiVersion&#34;: &#34;2016-01-01&#34;,
&#34;type&#34;: &#34;Microsoft.Storage/storageAccounts&#34;,
&#34;name&#34;: &#34;[variables('supportLogStorageAccountName')]&#34;,
&#34;location&#34;: &#34;[resourceGroup().location]&#34;,
&#34;tags&#34;: {
&#34;resourceType&#34;: &#34;Service Fabric&#34;,
&#34;clusterName&#34;: &#34;[variables('clusterName')]&#34;,
&#34;displayName&#34;: &#34;SupportLogStorageAccount&#34;
},
&#34;sku&#34;: {
&#34;name&#34;: &#34;Standard_LRS&#34;
},
&#34;kind&#34;: &#34;Storage&#34;
},
{
&#34;apiVersion&#34;: &#34;2016-01-01&#34;,
&#34;type&#34;: &#34;Microsoft.Storage/storageAccounts&#34;,
&#34;name&#34;: &#34;[variables('applicationDiagnosticsStorageAccountName')]&#34;,
&#34;location&#34;: &#34;[resourceGroup().location]&#34;,
&#34;tags&#34;: {
&#34;resourceType&#34;: &#34;Service Fabric&#34;,
&#34;clusterName&#34;: &#34;[variables('clusterName')]&#34;,
&#34;displayName&#34;: &#34;DiagnosticsStorageAccount&#34;
},
&#34;sku&#34;: {
&#34;name&#34;: &#34;Standard_LRS&#34;
},
&#34;kind&#34;: &#34;Storage&#34;
},
{
&#34;type&#34;: &#34;Microsoft.Network/virtualNetworks&#34;,
&#34;apiVersion&#34;: &#34;2016-03-30&#34;,
&#34;name&#34;: &#34;[variables('virtualNetworkName')]&#34;,
&#34;location&#34;: &#34;[resourceGroup().location]&#34;,
&#34;tags&#34;: {
&#34;resourceType&#34;: &#34;Service Fabric&#34;,
&#34;clusterName&#34;: &#34;[variables('clusterName')]&#34;,
&#34;displayName&#34;: &#34;VirtualNetwork&#34;
},
&#34;properties&#34;: {
&#34;addressSpace&#34;: {
&#34;addressPrefixes&#34;: [
&#34;[variables('addressPrefix')]&#34;
]
},
&#34;subnets&#34;: [
{
&#34;name&#34;: &#34;[variables('subnet1Name')]&#34;,
&#34;properties&#34;: {
&#34;addressPrefix&#34;: &#34;[variables('subnet1Prefix')]&#34;
}
}
]
}
},
{
&#34;apiVersion&#34;: &#34;2016-03-30&#34;,
&#34;type&#34;: &#34;Microsoft.Network/publicIPAddresses&#34;,
&#34;name&#34;: &#34;[variables('lbIPName')]&#34;,
&#34;location&#34;: &#34;[resourceGroup().location]&#34;,
&#34;tags&#34;: {
&#34;resourceType&#34;: &#34;Service Fabric&#34;,
&#34;clusterName&#34;: &#34;[variables('clusterName')]&#34;,
&#34;displayName&#34;: &#34;PublicIPAddress&#34;
},
&#34;properties&#34;: {
&#34;dnsSettings&#34;: {
&#34;domainNameLabel&#34;: &#34;[variables('clusterName')]&#34;
},
&#34;publicIPAllocationMethod&#34;: &#34;Dynamic&#34;
}
},
{
&#34;apiVersion&#34;: &#34;2016-03-30&#34;,
&#34;type&#34;: &#34;Microsoft.Network/loadBalancers&#34;,
&#34;name&#34;: &#34;[variables('lbName')]&#34;,
&#34;location&#34;: &#34;[resourceGroup().location]&#34;,
&#34;dependsOn&#34;: [
&#34;[variables('lbIPName')]&#34;
],
&#34;tags&#34;: {
&#34;resourceType&#34;: &#34;Service Fabric&#34;,
&#34;clusterName&#34;: &#34;[variables('clusterName')]&#34;,
&#34;displayName&#34;: &#34;LoadBalancer&#34;
},
&#34;properties&#34;: {
&#34;frontendIPConfigurations&#34;: [
{
&#34;name&#34;: &#34;LoadBalancerIPConfig&#34;,
&#34;properties&#34;: {
&#34;publicIPAddress&#34;: {
&#34;id&#34;: &#34;[resourceId('Microsoft.Network/publicIPAddresses', variables('lbIPName'))]&#34;
}
}
}
],
&#34;backendAddressPools&#34;: [
{
&#34;name&#34;: &#34;LoadBalancerBEAddressPool&#34;
}
],
&#34;loadBalancingRules&#34;: [
{
&#34;name&#34;: &#34;LBFabricManagementRule&#34;,
&#34;properties&#34;: {
&#34;backendAddressPool&#34;: {
&#34;id&#34;: &#34;[variables('lbPoolID0')]&#34;
},
&#34;backendPort&#34;: &#34;[variables('fabricTcpGatewayPort')]&#34;,
&#34;enableFloatingIP&#34;: false,
&#34;frontendIPConfiguration&#34;: {
&#34;id&#34;: &#34;[variables('lbIPConfig0')]&#34;
},
&#34;frontendPort&#34;: &#34;[variables('fabricTcpGatewayPort')]&#34;,
&#34;idleTimeoutInMinutes&#34;: 5,
&#34;probe&#34;: {
&#34;id&#34;: &#34;[variables('lbProbeID0')]&#34;
},
&#34;protocol&#34;: &#34;Tcp&#34;
}
},
{
&#34;name&#34;: &#34;LBFabricExplorerRule&#34;,
&#34;properties&#34;: {
&#34;backendAddressPool&#34;: {
&#34;id&#34;: &#34;[variables('lbPoolID0')]&#34;
},
&#34;backendPort&#34;: &#34;[variables('fabricHttpGatewayPort')]&#34;,
&#34;enableFloatingIP&#34;: false,
&#34;frontendIPConfiguration&#34;: {
&#34;id&#34;: &#34;[variables('lbIPConfig0')]&#34;
},
&#34;frontendPort&#34;: &#34;[variables('fabricHttpGatewayPort')]&#34;,
&#34;idleTimeoutInMinutes&#34;: 5,
&#34;probe&#34;: {
&#34;id&#34;: &#34;[variables('lbHttpProbeID0')]&#34;
},
&#34;protocol&#34;: &#34;Tcp&#34;
}
}
],
&#34;probes&#34;: [
{
&#34;name&#34;: &#34;FabricManagementProbe&#34;,
&#34;properties&#34;: {
&#34;intervalInSeconds&#34;: 5,
&#34;numberOfProbes&#34;: 2,
&#34;port&#34;: &#34;[variables('fabricTcpGatewayPort')]&#34;,
&#34;protocol&#34;: &#34;Tcp&#34;
}
},
{
&#34;name&#34;: &#34;FabricExplorerProbe&#34;,
&#34;properties&#34;: {
&#34;intervalInSeconds&#34;: 5,
&#34;numberOfProbes&#34;: 2,
&#34;port&#34;: &#34;[variables('fabricHttpGatewayPort')]&#34;,
&#34;protocol&#34;: &#34;Tcp&#34;
}
}
],
&#34;inboundNatPools&#34;: [
{
&#34;name&#34;: &#34;LoadBalancerBEAddressNatPool&#34;,
&#34;properties&#34;: {
&#34;backendPort&#34;: 3389,
&#34;frontendIPConfiguration&#34;: {
&#34;id&#34;: &#34;[variables('lbIPConfig0')]&#34;
},
&#34;frontendPortRangeEnd&#34;: 4500,
&#34;frontendPortRangeStart&#34;: 3389,
&#34;protocol&#34;: &#34;Tcp&#34;
}
}
]
}
},
{
&#34;apiVersion&#34;: &#34;2017-03-30&#34;,
&#34;type&#34;: &#34;Microsoft.Compute/virtualMachineScaleSets&#34;,
&#34;name&#34;: &#34;[variables('vmNodeType0Name')]&#34;,
&#34;location&#34;: &#34;[resourceGroup().location]&#34;,
&#34;dependsOn&#34;: [
&#34;[variables('supportLogStorageAccountName')]&#34;,
&#34;[variables('applicationDiagnosticsStorageAccountName')]&#34;
],
&#34;tags&#34;: {
&#34;resourceType&#34;: &#34;Service Fabric&#34;,
&#34;clusterName&#34;: &#34;[variables('clusterName')]&#34;,
&#34;displayName&#34;: &#34;Cluster scale set&#34;
},
&#34;properties&#34;: {
&#34;overprovision&#34;: false,
&#34;upgradePolicy&#34;: {
&#34;mode&#34;: &#34;Automatic&#34;
},
&#34;virtualMachineProfile&#34;: {
&#34;extensionProfile&#34;: {
&#34;extensions&#34;: [
{
&#34;name&#34;: &#34;[concat('ServiceFabricNodeVmExt', '', variables('vmNodeType0Name'))]&#34;,
&#34;properties&#34;: {
&#34;type&#34;: &#34;ServiceFabricNode&#34;,
&#34;autoUpgradeMinorVersion&#34;: true,
&#34;protectedSettings&#34;: {
&#34;StorageAccountKey1&#34;: &#34;[listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('supportLogStorageAccountName')),'2016-01-01').keys[0].value]&#34;,
&#34;StorageAccountKey2&#34;: &#34;[listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('supportLogStorageAccountName')),'2016-01-01').keys[1].value]&#34;
},
&#34;publisher&#34;: &#34;Microsoft.Azure.ServiceFabric&#34;,
&#34;settings&#34;: {
&#34;clusterEndpoint&#34;: &#34;[reference(variables('clusterName')).clusterEndpoint]&#34;,
&#34;nodeTypeRef&#34;: &#34;[variables('vmNodeType0Name')]&#34;,
&#34;enableParallelJobs&#34;: true,
&#34;dataPath&#34;: &#34;D:\\\\SvcFab&#34;,
&#34;durabilityLevel&#34;: &#34;Bronze&#34;,
&#34;certificate&#34;: {
&#34;thumbprint&#34;: &#34;[parameters('certificateThumbprint')]&#34;,
&#34;x509StoreName&#34;: &#34;[variables('certificateStoreValue')]&#34;
}
},
&#34;typeHandlerVersion&#34;: &#34;1.0&#34;
}
},
{
&#34;name&#34;: &#34;[concat('VMDiagnosticsVmExt', '
', variables('vmNodeType0Name'))]&#34;,
&#34;properties&#34;: {
&#34;type&#34;: &#34;IaaSDiagnostics&#34;,
&#34;autoUpgradeMinorVersion&#34;: true,
&#34;protectedSettings&#34;: {
&#34;storageAccountName&#34;: &#34;[variables('applicationDiagnosticsStorageAccountName')]&#34;,
&#34;storageAccountKey&#34;: &#34;[listkeys(resourceId('Microsoft.Storage/storageAccounts', variables('applicationDiagnosticsStorageAccountName')), '2016-01-01').keys[0].value]&#34;
},
&#34;publisher&#34;: &#34;Microsoft.Azure.Diagnostics&#34;,
&#34;settings&#34;: {
&#34;WadCfg&#34;: {
&#34;DiagnosticMonitorConfiguration&#34;: {
&#34;overallQuotaInMB&#34;: &#34;50000&#34;,
&#34;sinks&#34;: &#34;applicationInsights&#34;,
&#34;EtwProviders&#34;: {
&#34;EtwEventSourceProviderConfiguration&#34;: [
{
&#34;provider&#34;: &#34;Microsoft-ServiceFabric-Actors&#34;,
&#34;scheduledTransferKeywordFilter&#34;: &#34;1&#34;,
&#34;scheduledTransferPeriod&#34;: &#34;PT5M&#34;,
&#34;DefaultEvents&#34;: {
&#34;eventDestination&#34;: &#34;ServiceFabricReliableActorEventTable&#34;
}
},
{
&#34;provider&#34;: &#34;Microsoft-ServiceFabric-Services&#34;,
&#34;scheduledTransferPeriod&#34;: &#34;PT5M&#34;,
&#34;DefaultEvents&#34;: {
&#34;eventDestination&#34;: &#34;ServiceFabricReliableServiceEventTable&#34;
}
}
],
&#34;EtwManifestProviderConfiguration&#34;: [
{
&#34;provider&#34;: &#34;cbd93bc2-71e5-4566-b3a7-595d8eeca6e8&#34;,
&#34;scheduledTransferLogLevelFilter&#34;: &#34;Information&#34;,
&#34;scheduledTransferKeywordFilter&#34;: &#34;4611686018427387904&#34;,
&#34;scheduledTransferPeriod&#34;: &#34;PT5M&#34;,
&#34;DefaultEvents&#34;: {
&#34;eventDestination&#34;: &#34;ServiceFabricSystemEventTable&#34;
}
}
]
}
}
}
},
&#34;typeHandlerVersion&#34;: &#34;1.5&#34;
}
}
]
},
&#34;networkProfile&#34;: {
&#34;networkInterfaceConfigurations&#34;: [
{
&#34;name&#34;: &#34;NIC-0&#34;,
&#34;properties&#34;: {
&#34;ipConfigurations&#34;: [
{
&#34;name&#34;: &#34;NIC-0-config&#34;,
&#34;properties&#34;: {
&#34;loadBalancerBackendAddressPools&#34;: [
{
&#34;id&#34;: &#34;[variables('lbPoolID0')]&#34;
}
],
&#34;loadBalancerInboundNatPools&#34;: [
{
&#34;id&#34;: &#34;[variables('lbNatPoolID0')]&#34;
}
],
&#34;subnet&#34;: {
&#34;id&#34;: &#34;[variables('subnet1Ref')]&#34;
}
}
}
],
&#34;primary&#34;: true
}
}
]
},
&#34;osProfile&#34;: {
&#34;adminPassword&#34;: &#34;[parameters('rdpPassword')]&#34;,
&#34;adminUsername&#34;: &#34;[variables('rdpUserName')]&#34;,
&#34;computerNamePrefix&#34;: &#34;[variables('vmNodeType0Name')]&#34;,
&#34;secrets&#34;: [
{
&#34;sourceVault&#34;: {
&#34;id&#34;: &#34;[parameters('sourceVaultResourceId')]&#34;
},
&#34;vaultCertificates&#34;: [
{
&#34;certificateStore&#34;: &#34;[variables('certificateStoreValue')]&#34;,
&#34;certificateUrl&#34;: &#34;[parameters('certificateUrlValue')]&#34;
}
]
}
]
},
&#34;storageProfile&#34;: {
&#34;imageReference&#34;: {
&#34;publisher&#34;: &#34;[variables('vmImagePublisher')]&#34;,
&#34;offer&#34;: &#34;[variables('vmImageOffer')]&#34;,
&#34;sku&#34;: &#34;[variables('vmImageSku')]&#34;,
&#34;version&#34;: &#34;[variables('vmImageVersion')]&#34;
},
&#34;osDisk&#34;: {
&#34;caching&#34;: &#34;ReadOnly&#34;,
&#34;createOption&#34;: &#34;FromImage&#34;,
&#34;managedDisk&#34;: {
&#34;storageAccountType&#34;: &#34;Standard_LRS&#34;
}
}
}
}
},
&#34;sku&#34;: {
&#34;name&#34;: &#34;[parameters('vmNodeSize')]&#34;,
&#34;capacity&#34;: &#34;[parameters('vmInstanceCount')]&#34;,
&#34;tier&#34;: &#34;Standard&#34;
}
},
{
&#34;apiVersion&#34;: &#34;2017-07-01-preview&#34;,
&#34;type&#34;: &#34;Microsoft.ServiceFabric/clusters&#34;,
&#34;name&#34;: &#34;[variables('clusterName')]&#34;,
&#34;location&#34;: &#34;[resourceGroup().location]&#34;,
&#34;dependsOn&#34;: [
&#34;[variables('supportLogStorageAccountName')]&#34;
],
&#34;tags&#34;: {
&#34;resourceType&#34;: &#34;Service Fabric&#34;,
&#34;clusterName&#34;: &#34;[variables('clusterName')]&#34;,
&#34;displayName&#34;: &#34;Cluster&#34;
},
&#34;properties&#34;: {
&#34;certificate&#34;: {
&#34;thumbprint&#34;: &#34;[parameters('certificateThumbprint')]&#34;,
&#34;x509StoreName&#34;: &#34;[variables('certificateStoreValue')]&#34;
},
&#34;clientCertificateCommonNames&#34;: [
],
&#34;clientCertificateThumbprints&#34;: [
],
&#34;clusterState&#34;: &#34;Default&#34;,
&#34;provisioningState&#34;: &#34;Default&#34;,
&#34;diagnosticsStorageAccountConfig&#34;: {
&#34;blobEndpoint&#34;: &#34;[reference(resourceId('Microsoft.Storage/storageAccounts', variables('supportLogStorageAccountName')), '2016-01-01').primaryEndpoints.blob]&#34;,
&#34;protectedAccountKeyName&#34;: &#34;StorageAccountKey1&#34;,
&#34;queueEndpoint&#34;: &#34;[reference(resourceId('Microsoft.Storage/storageAccounts', variables('supportLogStorageAccountName')), '2016-01-01').primaryEndpoints.queue]&#34;,
&#34;storageAccountName&#34;: &#34;[variables('supportLogStorageAccountName')]&#34;,
&#34;tableEndpoint&#34;: &#34;[reference(resourceId('Microsoft.Storage/storageAccounts', variables('supportLogStorageAccountName')), '2016-01-01').primaryEndpoints.table]&#34;
},
&#34;fabricSettings&#34;: [
{
&#34;parameters&#34;: [
{
&#34;name&#34;: &#34;ClusterProtectionLevel&#34;,
&#34;value&#34;: &#34;EncryptAndSign&#34;
}
],
&#34;name&#34;: &#34;Security&#34;
}
],
&#34;addonFeatures&#34;: [
&#34;DnsService&#34;
],
&#34;managementEndpoint&#34;: &#34;[concat('https://', reference(variables('lbIPName')).dnsSettings.fqdn, ':', variables('fabricHttpGatewayPort'))]&#34;,
&#34;nodeTypes&#34;: [
{
&#34;name&#34;: &#34;[variables('vmNodeType0Name')]&#34;,
&#34;applicationPorts&#34;: {
&#34;endPort&#34;: &#34;[variables('applicationEndPort')]&#34;,
&#34;startPort&#34;: &#34;[variables('applicationStartPort')]&#34;
},
&#34;clientConnectionEndpointPort&#34;: &#34;[variables('fabricTcpGatewayPort')]&#34;,
&#34;durabilityLevel&#34;: &#34;Bronze&#34;,
&#34;ephemeralPorts&#34;: {
&#34;endPort&#34;: &#34;[variables('ephemeralEndPort')]&#34;,
&#34;startPort&#34;: &#34;[variables('ephemeralStartPort')]&#34;
},
&#34;httpGatewayEndpointPort&#34;: &#34;[variables('fabricHttpGatewayPort')]&#34;,
&#34;isPrimary&#34;: true,
&#34;vmInstanceCount&#34;: &#34;[parameters('vmInstanceCount')]&#34;
}
],
&#34;reliabilityLevel&#34;: &#34;None&#34;,
&#34;upgradeMode&#34;: &#34;Automatic&#34;,
&#34;vmImage&#34;: &#34;Windows&#34;
}
}
],
&#34;outputs&#34;: {
&#34;clusterProperties&#34;: {
&#34;value&#34;: &#34;[reference(variables('clusterName'))]&#34;,
&#34;type&#34;: &#34;object&#34;
}
}
}

azure-virtual-machinesazure-service-fabric
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

No.
Storage account costs less.
From the cost analysis page,
You are usig 3 instances in your scale set.

i will go through your template and let you know

0 Votes 0 ·

Even for 1 instance the cost currently being shown in azure cost analysis is more than 400 for 1 Standard_B2ms machine
PS: The cost for 3 instance should not be more than 400. This does not add up well

0 Votes 0 ·

0 Answers