Azure-AppServices-Diagnostics/infrastructure
rekhaswaminathan 368646c401
Create preprod-import.ps1 (#815)
* Create preprod-import.ps1

* Update preprod-import.ps1
2022-01-24 08:55:11 -08:00
..
ArmTemplates Remove local cache arm template (#582) 2020-09-30 14:46:18 -07:00
Scripts Create preprod-import.ps1 (#815) 2022-01-24 08:55:11 -08:00
README.md Add working ARM templates to enable monitoring on RuntimeHost and CompilerHost Web Apps (#251) 2019-09-23 15:37:25 -07:00

README.md

Intent

The goal of this deployment folder is to fully automate the infrastructure of the App Service Diagnostics application. This will make it trivial to create the resources needed to deploy ASD into new clouds.

ARM templates also control Geneva configuration upgrades.

Note

Currently these deployments only work in the Azure Portal Powershell terminal

Commands

To deploy an ARM template from Powershell:

  • Get portal access for the Diag Production WebApp subscription
  • Find the subscription on Azure Portal
  • Upload the template and parameter files from this directory to the Portal terminal
  • cd to the uploaded directory
  • Enter the following commands in the Portal Powershell terminal
Select-AzureRmSubscription `
  -SubscriptionId "..."

New-AzureRmResourceGroupDeployment `
  -ResourceGroupName "..." `
  -TemplateFile ".\antareskvtemplate.json" `
  -TemplateParameterFile ".\{appname}-antareskvparameters.json"

Useful command to get current settings:

Get-AzureRmResourceGroupDeployment -ResourceGroupName "..."