Explore Courses Blog Tutorials Interview Questions
0 votes
in Azure by (4k points)
To update my webApp from Azure devOps, I am following this procedure: Stop, Update it, Start again.

Is it reasonable to do so?

1 Answer

0 votes
by (9.6k points)

To have the minimum impact and to be able to rollback easily you should start using 'slots'.

They can be swapped with to get the maximum efficiency in production while the update is taking place. 

This is how it will work:

  1. Stop the stagging slot
  2. Deploy the webApp to the slot 
  3. Swap the slot
  4. Swap Staging process to production 
  5. Stop the staging slot 

Doing it the way you are may lead to some file locking issues. 

Check this Azure online training out to get more insights on Azure!

Browse Categories