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
Quick and simple screen recording and editing on Windows 10

Without needing to install any 3rd party tools you can create and edit screen recordings in a few simple steps. I recently starting speaking at local usergroups and conferences and wanted to record videos of some of my demos as a back up. I know there are very popular and fully featured tools such as Camtasia but I just wanted some basic screen recording and didn’t want to have to buy and learn a new tool for such a basic requirement.

Read More
Generating Kubernetes configuration files using Kubectl

When you’re new to Kubernetes creating the Kubernetes configuration files starting with a blank editor window can be quite daunting. One option is to copy an existing file from somewhere and editing it but this can be problematic as there may be alot of noise or perhaps old API versions neither of which are helpful when you’re just starting out. A handy tip is to use the Kubectl (the Kubernetes CLI) to generate a minimal configuration file for you.

Read More