Adding a second WordPress site to Windows Azure

cloneWe needed to deploy a development instance of WordPress for our soon-to-be built new public site so I looked at adding a second instance to our existing Azure subscription. Going through the portal reports that you’ve reached your MYSQL limit when you try to add another – nice.

There is mention of adding a second WordPress instance and using the same DB although I’m not willing to entertain that, Prod is Prod & hallowed be that principle.

Azure is still “preview” so this could change any day but here is the process for adding that second MySQL DB to use for a second WordPress instance.

Stage 1. Create a new MySQL DB with ClearDB

  1. Go through Azure’s Portal > New > Store and add the free ClearDB MySQL Add on.
  2. Ensure that your DB region will match your web-site region. I chose Northern Europe for ours, it’s apparently the newest and most powerful DC in Europe.

image

 

Stage 2. Create a new WordPress site on Azure with new DB

  1. Follow the normal process for creating a WordPress site on Azure: New > Compute > Web Site > WordPress
  2. Select the new DB you created in Stage 1.
  3. Visit the site URL and complete the WordPress setup.

The downside of this wizard is that if you have may DB’s in the same region, you wouldn’t be able to identify it since during the Azure Store purchase you don’t see the database name, only the connection name. You’ll have to go an document your DB names before doing this.

image

Senior consultant and company director at The Full Circle. Passionate about automation scripting, end user experience and cloud technology.