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:

clip_image001

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

clip_image002

I set the basic settings in Azure:

clip_image003

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.

clip_image004

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

clip_image005

Once I was happy with the

clip_image006

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:

clip_image007

Then click on Add Inbound:

clip_image008

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

clip_image009

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 *