Deploying a Hugo site to Azure Storage static website hosting using Azure DevOps

Updated: 14th Dec 2018 - Static hosting now GA Introduction I’ve recently moved my blog from hosted Ghost Pro to a Hugo static site hosted in Azure Storage using the static website hosting feature. The main driver for moving was that I’m not a prolific blogger and I didn’t feel I was getting value from my annual Ghost subscription (this is before their rather hefty price rises, although I was locked on the lower price tariff).

Read More
"High-ish" availability cross-region architectures

TL;DR The architectures of a cross-region highly available (HA) application vs a single region application are often seen as quite distinct. This post will show it doesn’t have to be that clear cut, with a few small changes we can cost effectively deal with a region outage quicker and without the same expense as running redundant copies of our solution. Introduction High Availability concepts and architecture is a big topic but I wanted to cover a specific aspect of HA with regards to configuring architectures across datacentre regions.

Read More
Static web hosting with security headers on Azure

I’m a big fan of the new static web hosting feature of Azure Storage, it makes hosting static websites a breeze and brings the costs down to pennies. I have been quick to recommend using this approach until Barry Dorrans highlighted to me that you cannot set headers using this service, more specifically he wanted to set a number of security headers. This got me thinking, can I combine Azure functions proxy in front of a storage account to add the headers whilst retaining the benefits of static hosting?

Read More
Auto shutdown dev/test AKS clusters to save money

You want to experiment with Azure Kubernetes service (AKS) but don’t want the expense of cluster(s) running 24⁄7, however you also don’t have time to wait for the 10-15mins it usually takes to create a new cluster from scratch? Instead of creating a cluster everytime you need one and then deleting it again, you can provision a cluster once and then use the built-in features of Azure VMs to automatically shut down the cluster nodes on a schedule thereby reducing the costs of running a cluster to close to zero.

Read More