{"id":4393,"date":"2016-03-31T17:45:29","date_gmt":"2016-04-01T01:45:29","guid":{"rendered":"https:\/\/www.atumvirt.com\/?p=4393"},"modified":"2016-03-31T17:45:29","modified_gmt":"2016-04-01T01:45:29","slug":"a-tale-of-wordpress-on-azure-websites","status":"publish","type":"post","link":"https:\/\/avtempwp.azurewebsites.net\/2016\/03\/a-tale-of-wordpress-on-azure-websites\/","title":{"rendered":"A Tale of WordPress on Azure Websites"},"content":{"rendered":"

Years ago when I migrated this blog from the old \u201cunNetwork.blogspot\u201d to AtumVirt.com, I decided to use WordPress.  And why not?  Azure had a slick \u201cdeploy\u201d feature for the website from the gallery, which promised to do the web hosting, configuration, securing, and updating.  Couple that with WordPress having update features and it would be a minimal investment of effort. <\/p>\n

As forward a few years \u2013 the blog has hummed along, I\u2019ve have some fun, geeked out a bit and become a bit more Citrix focused.  In addition to all that, I\u2019ve accumulated several semi-regular readers (yaaa) and get quite a few one-off visitors reading various content.  In short, my little blog \u201cgot serious\u201d and I do enjoy putting time into making content available when I have time to work on it. <\/p>\n

So, imagine my anger when I received an e-mail that my database was full.  It isn\u2019t the first time it happened, and I knew it was going to be problematic when I got the e-mail.  The WordPress website from the Azure gallery deploys using a MySQL database, which is a \u201cmarketplace\u201d feature provided by ClearDB.  ClearDB has a variety of pricing levels for the services \u2013 the lowest of which is \u201cMercury\u201d (poison\u2026?!) which is limited to 5 connections and a whopping 20MB<\/em><\/strong>.  That\u2019s not normally a problem as I hadn\u2019t posted that much\u2026but on a few occasions I went from 10MB to 18MB when I got some renegade spam comments the spam plugin didn\u2019t catch. <\/p>\n

When you reach 20MB, everything changes.  Writes were disabled, making WordPress virtually impossible to administer \u2013 and somehow I had gotten to 28MB.  I struggled for several hours with the limited write access in wordpress trying to remove the spam comments, but alas, I got down to 20.1 MB before ClearDB locked me out.  I opened a support case asking for a temporary reprieve, but they just suggested I upgrade.<\/p>\n

I\u2019m fortunate enough to pay for my Azure services using Credit<\/em><\/strong>.  That means I don\u2019t pay for the service out of pocket.  Marketplace services, however, cannot be paid using credit.  I found this out after ClearDB told me to upgrade and that it would simply use my billing for the subscription (which \u2026I had plenty of Credit for).  Azure support promptly refunded the money to me, so props to them on that.<\/p>\n

After hours and hours of trying to get WordPress going, being charged some cash, I decided \u2013 forget it, I\u2019m going to migrate to MS SQL which is supported in WordPress.  There was even a gallery \u201cProject Nami\u201d install.  Bam \u2013 a few clicks later and a new WordPress instance is setup.<\/p>\n

I exported my content to a file and imported to the new blog, did my best to replicate settings.  Along the way, I even configured SSL (provided by LetsEncrypt) using a totally awesome site extension for Azure<\/a>. <\/p>\n

I\u2019ll do my best to get the site polished up again here in the near feature \u2013 tweets, downloads, contact form and such.  Please let me know if you find any broken content. <\/p>\n

<\/p>\n

Warm regards, Preston<\/p>\n","protected":false},"excerpt":{"rendered":"

Years ago when I migrated this blog from the old \u201cunNetwork.blogspot\u201d to AtumVirt.com, I decided to use WordPress.  And why not?  Azure had a slick \u201cdeploy\u201d feature for the website from the gallery, which promised to do the web hosting, configuration, securing, and updating.  Couple that with WordPress having update features and it would be […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[81,33],"tags":[],"_links":{"self":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts\/4393"}],"collection":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/comments?post=4393"}],"version-history":[{"count":0,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts\/4393\/revisions"}],"wp:attachment":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/media?parent=4393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/categories?post=4393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/tags?post=4393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}