Skip to content

Commit

Permalink
Added ARM templates for Sitecore 8.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbaranov committed Jul 14, 2017
1 parent 7dfed83 commit 9769310
Show file tree
Hide file tree
Showing 38 changed files with 8,942 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Choose the compatible templates for your Sitecore version:
|------------------|----------------------------------------------------|
| Sitecore 8.2.1 | Sitecore 8.2 Update-1 and Update-2 |
| Sitecore 8.2.3 | Sitecore 8.2 Update-3 |
| Sitecore 8.2.4 | Sitecore 8.2 Update-4 |

# Pre-deployment Checklist
1. Ensure you have the latest Azure PowerShell SDK installed
Expand Down
6 changes: 6 additions & 0 deletions Sitecore 8.2.4/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Sitecore 8.2 Update-4

This folder contains Azure Resource Manager templates compatible with WebDeploy packages for **Sitecore 8.2 rev. 170614 (Update-4)**.

Notice: These templates configure Sitecore to use Preview version of Azure Search service out of the box.

34 changes: 34 additions & 0 deletions Sitecore 8.2.4/xdb/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Sitecore XDB Environment

Visualize:
[Infrastructure](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FSitecore%2Fsitecore-azure-quickstart-templates%2Fmaster%2FSitecore%208.2.4%2Fxdb%2Fnested%2Finfrastructure.json),
[Application deployment](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FSitecore%2Fsitecore-azure-quickstart-templates%2Fmaster%2FSitecore%208.2.4%2Fxdb%2Fnested%2Fapplication.json)

This template creates a Sitecore XDB Environment with all resources necessary to run Sitecore.

Resources provisioned:

* Azure SQL databases : core, master, web, reporting
* Azure Search Service for content search
* Application Insights for diagnostics and monitoring
* 2 Sitecore roles: Processing, Reporting

* Hosting plans: one per role
* Preconfigured Web Applications, based on the provided WebDeploy packages

## Parameters
The **deploymentId** and **licenseXml** parameters are filled in by the PowerShell script.

| Parameter | Description
-------------------------------------------|------------------------------------------------
| sqlServerLogin | The name of the administrator account for the newly created Azure SQL server.
| sqlserver.password | The password for the administrator account for Azure SQL server.
| sitecoreAdminPassword | The new password for the Sitecore **admin** account.
| prcMsDeployPackageUrl | The blob storage url to a Sitecore XDB Processing Web Deploy package.
| repMsDeployPackageUrl | The blob storage url to a Sitecore XDB Reporting Web Deploy package.
| repAuthenticationApiKey | A unique value (e.g. a GUID) that will be used as authentication when communicating from Content Management to the Reporting Web App.
| analyticsMongoDbConnectionString | A MongoDB connection string for the analytics database.
| trackingLiveMongoDbConnectionString | A MongoDB connection string for the tracking.live database.
| trackingHistoryMongoDbConnectionString | A MongoDB connection string for the tracking.history database.
| trackingContactMongoDbConnectionString | A MongoDB connection string for the tracking.contact database.

75 changes: 75 additions & 0 deletions Sitecore 8.2.4/xdb/addons/bootloader.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"variables": {
"webApiVersion": "2016-08-01",
"prcWebAppNameTidy": "[toLower(trim(parameters('prcWebAppName')))]",
"repWebAppNameTidy": "[toLower(trim(parameters('repWebAppName')))]"
},
"parameters": {
"standard": {
"type": "secureObject",
"defaultValue": {}
},
"extension": {
"type": "secureObject",
"defaultValue": {
"msDeployPackageUrl": "$default"
}
},
"deploymentId": {
"type": "string",
"defaultValue": "[parameters('standard').deploymentId]"
},
"location": {
"type": "string",
"defaultValue": "[parameters('standard').location]"
},
"prcWebAppName": {
"type": "string",
"defaultValue": "[concat(parameters('deploymentId'), '-prc')]"
},
"repWebAppName": {
"type": "string",
"defaultValue": "[concat(parameters('deploymentId'), '-rep')]"
},
"msDeployPackageUrl": {
"type": "securestring",
"defaultValue": "[parameters('extension').msDeployPackageUrl]"
}
},
"resources": [
{
"name": "[concat(variables('prcWebAppNameTidy'), '/', 'MSDeploy')]",
"type": "Microsoft.Web/sites/extensions",
"location": "[parameters('location')]",
"apiVersion": "[variables('webApiVersion')]",
"properties": {
"addOnPackages": [
{
"packageUri": "[parameters('msDeployPackageUrl')]",
"setParameters": {
"Application Path": "[variables('prcWebAppNameTidy')]"
}
}
]
}
},
{
"name": "[concat(variables('repWebAppNameTidy'), '/', 'MSDeploy')]",
"type": "Microsoft.Web/sites/extensions",
"location": "[parameters('location')]",
"apiVersion": "[variables('webApiVersion')]",
"properties": {
"addOnPackages": [
{
"packageUri": "[parameters('msDeployPackageUrl')]",
"setParameters": {
"Application Path": "[variables('repWebAppNameTidy')]"
}
}
]
}
}
]
}
117 changes: 117 additions & 0 deletions Sitecore 8.2.4/xdb/addons/generic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"variables": {
"webApiVersion": "2016-08-01"
},
"parameters": {
"standard": {
"type": "secureObject",
"defaultValue": {
"prcWebAppName": "[concat(parameters('deploymentId'), '-prc')]",
"repWebAppName": "[concat(parameters('deploymentId'), '-rep')]",
"sqlServerName": "[concat(parameters('deploymentId'), '-sql')]",
"coreSqlDatabaseName": "[concat(parameters('deploymentId'), '-core-db')]",
"masterSqlDatabaseName": "[concat(parameters('deploymentId'), '-master-db')]",
"reportingSqlDatabaseName": "[concat(parameters('deploymentId'), '-reporting-db')]"
}
},
"extension": {
"type": "secureObject",
"defaultValue": {
"prcMsDeployPackageUrl": "$default",
"repMsDeployPackageUrl": "$default"
}
},
"deploymentId": {
"type": "string",
"defaultValue": "[parameters('standard').deploymentId]"
},
"location": {
"type": "string",
"defaultValue": "[parameters('standard').location]"
},
"prcWebAppName": {
"type": "string",
"defaultValue": "[toLower(trim(parameters('standard').prcWebAppName))]"
},
"repWebAppName": {
"type": "string",
"defaultValue": "[toLower(trim(parameters('standard').repWebAppName))]"
},
"prcMsDeployPackageUrl": {
"type": "securestring",
"defaultValue": "[parameters('extension').prcMsDeployPackageUrl]"
},
"repMsDeployPackageUrl": {
"type": "securestring",
"defaultValue": "[parameters('extension').repMsDeployPackageUrl]"
},
"sqlServerName": {
"type": "string",
"defaultValue": "[toLower(trim(parameters('standard').sqlServerName))]"
},
"sqlServerLogin": {
"type": "string",
"minLength": 1,
"defaultValue": "[parameters('standard').sqlServerLogin]"
},
"sqlServerPassword": {
"type": "securestring",
"minLength": 8,
"defaultValue": "[parameters('standard').sqlServerPassword]"
},
"coreSqlDatabaseName": {
"type": "string",
"defaultValue": "[toLower(trim(parameters('standard').coreSqlDatabaseName))]"
},
"masterSqlDatabaseName": {
"type": "string",
"defaultValue": "[toLower(trim(parameters('standard').masterSqlDatabaseName))]"
},
"reportingSqlDatabaseName": {
"type": "string",
"defaultValue": "[toLower(trim(parameters('standard').reportingSqlDatabaseName))]"
}
},
"resources": [
{
"name": "[concat(parameters('prcWebAppName'), '/', 'MSDeploy')]",
"type": "Microsoft.Web/sites/extensions",
"location": "[parameters('location')]",
"apiVersion": "[variables('webApiVersion')]",
"properties": {
"addOnPackages": [
{
"dbType": "SQL",
"connectionString": "[concat('Data Source=tcp:', parameters('standard').infrastructure.sqlFqdn, ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), '@', parameters('sqlServerName'), ';Password=', parameters('sqlServerPassword'), ';')]",
"packageUri": "[parameters('prcMsDeployPackageUrl')]",
"setParameters": {
"Application Path": "[parameters('prcWebAppName')]",
"Reporting Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', parameters('standard').infrastructure.sqlFqdn, ',1433;Initial Catalog=',parameters('reportingSqlDatabaseName'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]"
}
}
]
}
},
{
"name": "[concat(parameters('repWebAppName'), '/', 'MSDeploy')]",
"type": "Microsoft.Web/sites/extensions",
"location": "[parameters('location')]",
"apiVersion": "[variables('webApiVersion')]",
"properties": {
"addOnPackages": [
{
"dbType": "SQL",
"connectionString": "[concat('Data Source=tcp:', parameters('standard').infrastructure.sqlFqdn, ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), '@', parameters('sqlServerName'), ';Password=', parameters('sqlServerPassword'), ';')]",
"packageUri": "[parameters('repMsDeployPackageUrl')]",
"setParameters": {
"Application Path": "[parameters('repWebAppName')]",
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', parameters('standard').infrastructure.sqlFqdn, ',1433;Initial Catalog=',parameters('masterSqlDatabaseName'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]"
}
}
]
}
}
]
}
Loading

0 comments on commit 9769310

Please sign in to comment.