Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 3.18 KB

wordpress_hosting_plans_and_scaling.md

File metadata and controls

38 lines (22 loc) · 3.18 KB

Hosting Plans and Scaling WordPress

Hosting Plans Offered

For a quick start, three types of hosting plans are made available for WordPress on Linux AppServices. These plan dictates what resources are available, what features are enabled and how it is priced. Each hosting plans comes with a pre-defined configuration for AppService and MySQL database server.

Hosting Plan App Service Database (MySQL Flexible Server)
Free F1 (60 CPU minutes / day, 1 GB RAM, 1 GB storage) Burstable, B1ms1 (1 vCores, 2 GiB RAM, 32 GiB storage)
Basic B1 (1 vCores, 1.75 GB RAM, 10 GB Storage) Burstable, B1ms1 (1 vCores, 2 GiB RAM, 32 GiB storage)
Standard P1V2 (1 vCores, 3.5 GB RAM, 250 GB Storage) Burstable, B2s (2 vCores, 4 GiB RAM, 128 GiB storage)
Premium P1V3 (2 vCores, 8 GB RAM, 250 GB Storage) General Purpose, D2ds_v4 (2 vCores, 8 GiB RAM, 128 GiB storage)

Note1: If the given subscription is not eligble for a free trail of Azure MySQL Flexible Server, then Burstable, B1s (1 vCores, 1 GiB RAM, 20 GiB storage) configuration is used for database.

Scaling WordPress

Although fixed hosting plans are offered during the create time, the users are free to scale their resources once the WordPress deployment is complete, based on their requirement.

Important Note: It is very important to note that both AppService as well as MySQL server has to be scaled appropriately. Upgrading AppService to a higher configuration, but forgetting to upgrade database server might create performance issues due to bottleneck created by lower configuration of database server. This has been observed as one of the common mistake users make while scaling their application.

Scaling AppService Plan

There are two workflows for scaling your application, scale up and scale out. Please refer to the following link for more information on Scaling AppService.

Scale up: Get more CPU, memory, disk space, and extra features like support for custom domains and certificates, staging slots, autoscaling, and more. You scale up by changing the pricing tier of the App Service plan that your app belongs to.

App Service plan scale up

Scale out: Increase the number of VM instances that run your app. You can scale out to as many as 30 instances, depending on your pricing tier.

App Service plan scale out

Scaling MySQL Database Server

Go to the MySQL server resource and select Compute + storage under Settings section. Select an appropriate tier for scaling and then click on save. It usually takes a few minutes for the changes to get reflected. You can find the MySQL server resource in the same resource group where WordPress has been deployed.

MySQL scale out