Azure Config Questions

Anthony Romero asked on January 21, 2021 20:34

I'm in the process of making a recommendation for a client who wants to develop a Kentico 13 site deployed to azure app services. I've read through documentation site and I still have a question. Is it recommended to run the Kentico administration application as a kentico app service or VM? I ask because I don't see how you could run the associated windows services if you run the admin in an app service. Is the best practice to run the MVC application in azure app services with the admin in a VM?

Correct Answer

Dmitry Bastron answered on January 22, 2021 10:33

Hi Anthony,

We have several projects hosted in Azure Web Apps, both CMS admin and frontend. We don't have any issues with the scheduled tasks running inside Admin app, rather than configuring a dedicated service.

Yes, scheduled tasks documentation says

Use the Scheduler Windows service for supported tasks if possible. The external service always runs and executes tasks reliably.

But it is possible to make the default in-admin scheduler the same reliable - all you need to do is to enable "Always On" for your CMS admin App Service in Azure, and that's it!

I've just checked the documentation and for v13 "Always On" on App Service is enough since CMSUseAutomaticScheduler web.config key is now "true" by default. Historically, for previous versions this web.config key was set to "false" by default so a few additional settings were required to make the default scheduler more reliable.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Bogdan Buczek answered on August 26, 2021 20:21 (last edited on August 26, 2021 20:28)

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.