Installing WordPress on an Azure Ubuntu VM – Part 1

This is a 4 part series on configuring WordPress in Azure on its own dedicated VM.

If you do not have an Azure subscription then you can create a trial sub for 30 days, or you may even have a sub available with your MSDN subscription.

Part 1 – Deploy an Azure Ubuntu VM
Part 2 – Install LAMP on the VM
Part 3 – Install and configure WordPress
Part 4 – Fixing the “quirks”


Part 1 – Deploy an Azure Ubuntu VM

With Azure there were 2 options for WordPress:

  1. Use one of the pre-built WordPress services from the Azure Market Place
  2. Deploy my own Ubuntu Server in Azure and configure WordPress on there.

There are a “few” options in the Azure Market Place for WordPress:


However I decided to deploy my own Ubuntu Server in Azure and build it myself from there.

So, first things first, deploy the server:

I created a new Server running Ubuntu 16.04 in Azure


I set the basic settings in Azure:


Then I selected the VM Size, I mean there are LOADS of sizes to choose from ranging from about £7 per month to £5,500, so choose the size that fits you best.


Once I’d selected the size I then checked the settings and left them all as they were.


Once I was happy with the


Once the VM has been created you will then need to edit the Network Security Group (NSG) to allow access via port 80 to the server so you can browse to it form the internet:

Select networking:


Then click on Add Inbound:


Select the HTTP service from the service drop down list and then click on ok


That is your Ubuntu Server now up and running ready to receive web and HTTP traffic. To increase security you could look at locking down SSH to only permitted IP Addresses if you’d prefer.

Leave Comment

Your email address will not be published. Required fields are marked *