-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ARM templates for Sitecore 8.2.4
- Loading branch information
michaelbaranov
committed
Jul 14, 2017
1 parent
7dfed83
commit 9769310
Showing
38 changed files
with
8,942 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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')]" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'), ';')]" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.