Tips for developing, deploying and troubleshooting Azure ARM Templates

  1. Use parameters files for each environment (DEV, QA, STAGE, UAT, PROD etc).
  2. Create variables for all the parameters and other items needed in the template, then use only variables throughout the template so you only need to look in one place (variables section).
  3. Avoid linked templates. It creates unnecessary complications as all linked templates need to be hosted as a public URLs (file storage or some other exposed URL).
  4. Use securestring and key vault to store your secure app settings (resolve in ARM or store references). Example: app setting: @Microsoft.KeyVault(SecretUri=https://mykeyvault.vault.azure.net/secrets/MyConnectionString/17dd40cc4f2b91fba3297be3ec56) or
  1. Azure portal > go to Resource group deployments: and drill down on a deployment name > it will show you more details.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Manish Jain

Manish Jain

Cloud Architect and Software Engineer