Ruslan's Blog
-
How to monitor Azure App Service content changes and publishing activity
There are various ways to deploy an Azure App Service content: FTP, GitHub actions, deploy from Zip and many others. With Azure Role-Based Access Control it is possible to have many different users with contributor access who can deploy new content or modify existing files. In those situations it may be important to track who … Continue reading "How to monitor Azure App Service content changes and publishing activity"
-
Using ARM template to swap App Service deployment slots
Azure Resource Manager (ARM) templates are used to automate deployment and configuration of Azure resources. With the templates you can define the infrastructure to be deployed via a JSON file and then use that file to repeatedly deploy new resources or update existing ones. ARM templates are widely used to release new versions of the … Continue reading "Using ARM template to swap App Service deployment slots"
-
How to restore a deleted Azure Web App
If you happened to accidentally delete your web app in Azure App Service then up until recently you had to open a support case in order to get it restored. But now you can restore it yourself by using the commands from the Az PowerShell module. This blog post explains how to do that. Assume … Continue reading "How to restore a deleted Azure Web App"
-
Azure App Service Deployment Slots Tips and Tricks
This post explains some of the not so well-known features and configurations settings of the Azure App Service deployment slots. These can be used to modify the swap logic as well as to improve the application availability during and after the swap. Here is what you can do with them: Swap slots only if the … Continue reading "Azure App Service Deployment Slots Tips and Tricks"
-
Using Azure Activity Log to check the progress of deployment slots swap operation
If you use Azure Web App Deployment Slots then you may have noticed that sometimes the swap action may take a while to complete. This may happen when an application that is being swapped into production has a long warmup/initialization phase. It has to be warmed up on every VM in an App Service Plan [...]
[Read more] -
Most common deployment slot swap failures and how to fix them
Azure Web App Deployment Slots are used to deploy new versions of an application code into production with no interruption to the production traffic. In order to achieve this the swap process involves multiple steps that are performed to prepare the new version of the code to successfully handle the load once it is in [...]
[Read more] -
Using Powershell to manage Azure Web App Deployment Slots
This blog post explains how to perform common management tasks for Azure Web App deployment slots by using Powershell cmdlets. To learn more about deployment slots refer to the Azure documentation and my previous blog posts: Azure Web App Deployment Slot Swap with Preview and How to warm up Azure Web App during deployment slots swap. [...]
[Read more] -
How to buy a certificate for an Azure Web App
If you have tried to enable SSL for your Azure Web App you know that the steps to do that are: Purchase certificate and export it into a PFX file Upload PFX file to a resource group that contains your web app Bind the web app’s hostnames to the certificate Out of those steps the [...]
[Read more] -
Azure Web App Deployment Slot Swap with Preview
Some time ago I had a blog post describing how to warm up an Azure Web App during deployment slots swap. In that post I explained the sequence of actions that happens during the swap. One important point in that explanation is that if a site has any app settings or connection strings that are [...]
[Read more] -
How to warm up Azure Web App during deployment slots swap
Azure Web App deployment slots are used to help roll out new versions of an app without downtime or cold start activation. New version is typically deployed to a staging slot, then after testing and final verification it gets swapped into a production slot. During the swap operation the Web App’s worker process may get [...]
[Read more]