Skip to content

Category: Website / personal

Hosting your static site on Azure and make it superfast!

As of September the 20th, my site is hosted on Microsoft Azure, more specifically an Azure Storage account, using the Static Website feature! By making my site have a static front-end, the need to run it on script-enabled web-servers is gone and it can run on pretty much any host you can think of. Also by removing access to the dynamic scripts (WordPress back-end), the site’s attack surface decreased to 1/10 on an imaginary scale.

Previously my site was hosted on a donated cPanel web-host and for the small traffic my site gets, it was mostly fine. The donor however indicated they could no long provide the service and thus my hunt for a replacement host started. I wanted something new and a solution that would give me more peace-of-mind when it comes to maintaining the site. Having an unpatched WordPress install is a bad idea and the number of exploits of the worlds most popular blogging solution has skyrocketed lately.

So I could just get another PHP webhost or an Azure Web App to run my site, done deal but that still means I have to look after the software versions, plugin updates et cetera. I briefly considered using a managed WordPress host but they end up costing your a fair buck, especially if you want to host plugins or run big themes. A big trend in the open-source community is to export/generate a static-only version of their content and host it on GitHub Pages or ReadTheDocs.

Enabling Wake On WAN/power savings for your home network / server

The following post describes my personal setup in my home network to conserve power and how you can possibly do the same in your own home or small business setup. By implementing advanced standby / hibernation setups, you can have significant savings on power bills and reduce your carbon footprint. I will show how you can use power saving techniques without it becoming impractical. I should warn you this post can get quite technical in the end and may not work in your setup (totally depends on your network router).

Power saving techniques

There are several ways to save energy when it comes to working in a (Windows based) home network. You can for instance lower the total power consumption of your PC by switching the Power Plan in Windows 7. By doing so, your PC will turn off unused hard disks, use less power for wireless radios and go to standby sooner when your user session is idling.As we all know, you can put a PC in standby or hibernation instead of shutting it down. Even though shutting a computer completely down will save more energy than putting it in standby, it can be very useful to have the computer resume its duties quicker. I don’t put my workstations in standby or hibernation as an SSD as a boot drive makes cold boot a snappy 20 seconds wait.