Join Mike Benkovich this week to learn how to create a WordPress blog site from the Azure gallery as part of the ongoing Azure Developer Tips weekly series.
- [Instructor] Azure makes it easy to get started working with different kinds of applications to create, for instance, a blog. If we wanted to blog along with things we might have a WordPress application. You can create a WordPress application inside of Azure by going out to the gallery and just searching for WordPress. When we do this, it gives us a couple of different templates we can start from. A WordPress from Linux, we could also just do a regular website, and you can take a look at the other ones that are there. But we're gonna create a quick WordPress application.
So, to do this, we get an app name, we need to have the name be unique on Azure websites.net. Make sure that the name is unique. Click down, select a resource group where we want to put this, I'm gonna put this into rg quicktips. Then we have a choice of where we want to run MySQL, since I'm just doing a simple, small little blog, I'm just gonna put MySQL into the app itself, as opposed to using the application service for WordPress, and then we can go out and pick our service plan.
Now, I'm gonna create a new service plan with a name that makes sense for us, call this my quick tip host, which is gonna be a hosting plan for all of my quicktip applications. We can pick the location, and then also the pricing tier. Right now I'm running on a standard one, but we can also go down to Dev/Test and we can do this for free, so let's use the free instance, which it gives us one gig of memory and 60 minutes a day of compute. Click on Apply.
Say OK. And then come down, we can turn on Application Insights, if we want to, and then go ahead and click on Create. And I'm gonna pin this to the dashboard. The create, then, is gonna go out and it'll provision out the application, which will also not just create the web application, but also download all the code it needs for WordPress to run. So then this will take about a couple minutes to actually provision it, and then when it's provisioned, then we'll be able to open it up.
So now that it's done, it'll take us into where we can actually browse out to our application. But first of all, inside the portal you can see here's the information about the application, my WordPress demo app, and click on the URL and actually browse out to it. Pretty slick that you can get to this so quick. Then we can set it up, pick your language, give it a name, give it a username, remember the password, click on the discourage search engines from indexing this site, click on install WordPress, which then goes through and it actually will install the application, and all the pieces it needs to be able to run.
Click on Log In. Then you can see it's up and going. Now, in the dashboard, you can also get more information about how this is running. You can stop and restart the application. You can get insights on how the application is running, as well as all the other stuff. So that's how you can create a WordPress app in just minutes.