Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure website outage maintenance page

We have multiple webApps hosted on Azure. I want to design a consistent and standard mechanism to show an "Under Maintenance" static html page in case of Azure outage (planned and unplanned). At the moment we are not leveraging Availability sets or Load Balancer.

Any ideas are appreciated?

like image 562
Sam Avatar asked Jan 31 '18 21:01

Sam


1 Answers

I would suggest:

  1. Add a new deployment slot called "maintenance" to your web app service.
  2. Create a separate web project that redirects all URL requests to a maintenance page message, and publish this project to the maintenance slot.
  3. When you're ready to take your site down, swap the slots between your production slot and the maintenance slot.
  4. When your maintenance is complete, swap the slots back and your site should be up and running.
like image 140
CokoBWare Avatar answered Nov 13 '22 05:11

CokoBWare