[fusion_builder_container hundred_percent=”no” equal_height_columns=”no” menu_anchor=”” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” class=”” id=”” background_color=”” background_image=”” background_position=”center center” background_repeat=”no-repeat” fade=”no” background_parallax=”none” parallax_speed=”0.3″ video_mp4=”” video_webm=”” video_ogv=”” video_url=”” video_aspect_ratio=”16:9″ video_loop=”yes” video_mute=”yes” overlay_color=”” video_preview_image=”” border_size=”” border_color=”” border_style=”solid” padding_top=”” padding_bottom=”” padding_left=”” padding_right=””][fusion_builder_row][fusion_builder_column type=”1_1″ layout=”1_1″ background_position=”left top” background_color=”” border_size=”” border_color=”” border_style=”solid” border_position=”all” spacing=”yes” background_image=”” background_repeat=”no-repeat” padding_top=”” padding_right=”” padding_bottom=”” padding_left=”” margin_top=”0px” margin_bottom=”0px” class=”” id=”” animation_type=”” animation_speed=”0.3″ animation_direction=”left” hide_on_mobile=”small-visibility,medium-visibility,large-visibility” center_content=”no” last=”no” min_height=”” hover_type=”none” link=””][fusion_text columns=”” column_min_width=”” column_spacing=”” rule_style=”default” rule_size=”” rule_color=”” class=”” id=””]
Are you looking to create your very own Scalable optimized WordPress Site/blog using Azure MySQL, Azure Storage and Azure CDN, then this post series is for you?
I have divided the series into below parts:
- Getting Azure Subscription, Creating App Service Plan and WordPress Web Service using My SQL In App
- Connecting Word Press website with WordPress.com and Installing and configuring Jet Pack
- Creating Azure Database for MySQL and exporting the Data from My SQL In App to Azure Database for MySQL Server, Handling Security
- Creating Azure Storage Account and configuring WordPress to use Azure Storage to store media files and Optimizing with persistent connection
- Configuring Custom domain, SSL Certificates.
- Configuring Azure CDN, configuring back up scheduling in azure and Auto Scaling
- How to use REDIS CACHE with WORDPRESS on Azure
- How to install application insights in WordPress on Azure
1. Getting Azure Subscription, Creating App Service Plan and WordPress Web Service using My SQL In App
If you don’t have Azure Subscription Already then you can start for free with 200$ free credit to use in Azure https://azure.microsoft.com/en-us/free/
1 Create Your Azure Free Account Today
It requires you to have valid credit card information to proceed, please make sure to add valid phone number as it will send you the code to confirm your identity.
Please see following video if you need help in sign up process https://azure.microsoft.com/en-in/resources/videos/sign-up-for-microsoft-azure/
If you already have azure subscription then clicking on Start free will not do any good, and you will be greeted with below screen:
2 Looks like you already have a subscription
Once you complete your sign up process, go to azure portal https://portal.azure.com/
Your landing page will look something like below:
3 Azure Portal
Now we are moving to create our very own WordPress website
Go to New
type WordPress hit enter
4 Search WordPress
Choose WordPress by WordPress
5 Choose WordPress
Now click on create in next window
6 Create WordPress
Now before choosing the name of the site we need to create a new App Service Plan, it is like a container for your applications, App Service Plan is what makes your WordPress Scalable, some App Service Plan let you scale automatically and others have manual option if you need more than one instance of your WordPress Site now make sure to choose the Location of the App Service Plan, which is near to you in my Case it is West Europe
7 Create App Service Plan
Now after setting up the location, click on “Pricing tier”
8 Choose Pricing tier
Microsoft Recommends to choose at minimum S1 for any Production site, we are choosing S1, however you have option to create the site in free or shared environment as well
9 Choose Standard Edition
Now click “Select” and click “okay” button to select the app service plan, enter the website name, and remember this name should be globally unique across all .azurewebsites.net domain
10 Enter WordPress site name
Now this is time to choose our database provider, click on drop down arrow and select MySQL in App for now as Database Provider, it will use your WordPress site server resources to install local MySQL instance and use it for your WordPress Site.
Do not worry we will move this MySQL in App database to Azure Database for MySQL later on in this series
11 Choose MySQL Provider
12 Choose MySQL in App
Once you click “Create” a Deployment job will be submitted to Azure, it can take few minutes to complete.
13 Deployment in progress
Once completed click on “Go to resources”
14 Deployment is succeeded
You can also choose click on “All resources” and then “wordpresssite1” in your case it will be the name of the site you entered earlier.
15 Go to resource
It will show below Screen, click on the URL and browse the site
16 Browse the WordPress site
Now after some loading, below screen will be shown, choose preferred language and click continue
17 Choose preferred language In WordPress
Now fill out the foam, please make sure to put a valid email address and make sure to back up the credentials because you will use these to login to the site and click “Install WordPress”
18 Enter Credentials for WordPress
After Installation is finished, login to the portal with the credentials used in installation screen, your screen should look like below
19 WordPress Site is created on Azure
Congratulations! Your site is up and running, upcoming next is how to connect it with WordPress.com and install Jet Pack.
Connecting Word Press website with WordPress.com and Installing and configuring Jet Pack
[/fusion_text][/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]
Awesome work bro. very informative and to the point, thumbs up.
Nice and detailed. Looking forward to part 2 and follow along. Thanks for the info, it is really helpful.
@saad Part2 have been posted here. https://www.scientistz.com/2017/10/how-to-create-scalable-optimized-wordpress-siteblog-using-azure-mysql-azure-storage-and-azure-cdn-part-2/