Best Practices for Azure App Service ARM templates




First published on MSDN on May 23, 2018



In Azure App Service support we see a lot of customers utilizing the power of Azure Resource Manager templates to deploy their Web Apps and Functions.




Here are some resources you should be aware of when creating these templates to avoid common issues.






  1. The Azure App Service team have published guidance on this topic here.



    https://docs.microsoft.com/en-us/azure/app-service/web-sites-rm-template-guidance





  2. A common issue is that if you include an MSDeploy site extension in your template you may see site restarts that affect the content deployment.


    The article above has a section that talks about how to configure your ARM dependencies to prevent this.



    https://docs.microsoft.com/en-us/azure/app-service/web-sites-rm-template-guidance#define-dependencies





  3. To understand more about dependencies in Azure Resource Manager please review the documentation at



    https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-define-dependencies#dependson




Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.