Apr 06 2020 11:24 PM - edited Sep 19 2020 02:35 PM
Hi guys,
I have multiple WordPress websites, each of them represent different organizations of a parent organization. As of now, each of these websites are hosted in separate App Service Plans and similarly have separate Azure Database for MySQL.
Over the last 1 year, I have realized that the cost of hosting is coming out to be higher than expected and planning to optimize the utilization. Could someone suggest what could be the best approach to optimize the usage?
Thanks for your advice in advance.
Jun 10 2021 03:51 AM
@Pradeep Kandel have you seen this post?
https://wordpress.org/support/topic/multi-site-wordpress-site-in-1-single-azure-web-app/
I haven't tried it yet, but will give it a try.
Thx and good luck! Please post back here if this solves your problem.
James
Jun 11 2021 01:50 AM
Dec 20 2022 10:57 AM - edited Dec 20 2022 10:58 AM
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 ?