Forum Discussion
Best Practice- Hosting WordPress sites in Azure App Services
Hi, this is a very good question.
Azure deployment wizard are currently pretty dump, and even when deploying of the same Resource Group, Azure will deploy for each WP site:
- a new dedicated app service plan
- a new dedicated virtual network
- a new dedicated app service
- a new dedicated private zone
- a new dedicated MySQL server
The admin should stay in control, and currently it's now really the case, because Azure deployment wizard for Wordpress does not ask you the good questions about how do you want to deploy a new WP site on a given Resource Group where some existing WP infra could already be there.
WP Multi-site is another question.
I would suggest two things:
A) the WP deployment wizard should provide a way to use (at least in an existing Resource Group) existing WP infra (App service plan, MySQL server, private zone, ....) if they exist
B) for already deployed WP on App service, Azure portal should provide a way to "transform" your deployment like a refactoring. e.g. moving an app service with WP from one App service plan to another one in the same Resource Group, moving a MySQL DB from one MySQL server to another one, ...
Do you see others use cases ?