In CICD, is there a functional difference between using Auto Swap and manually initiating the swap?

Noah S 61 Reputation points

Our CI/CD pipeline deploys our web app as follows:

az webapp deployment source config-zip --resource-group MyRG --name MyApp --slot deploy --src
az webapp deployment slot swap --resource-group MyRG --name MyApp --slot deploy --target-slot production

I'm wondering if there's any reason for us to use the "auto swap" feature instead. Does it change anything about how the swap is performed or how failure is determined? Note: we use custom warmup by setting the WEBSITE_SWAP_WARMUP_PING_PATH and WEBSITE_SWAP_WARMUP_PING_STATUSES settings.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,151 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ryan Hill 26,771 Reputation points Microsoft Employee

    Hi @Noah S ,

    From a pure swap activity, there is no fundamental difference between swapping manually and using auto. The difference is the trigger/initiator of the swap, as documented on If you always want to push your changes to the app service and want a failover, Auto Swap is the way to go. However, some may choose to use the swap to run various tests. In those cases, manually swap is the preferred method.

    0 comments No comments

0 additional answers

Sort by: Most helpful