Inspiration

Why did I do this? Well, I read this article and thought it looked neat. Then, a friend built one, following that blog. I had $150 per month in Azure credit from interning at Microsoft, so I decided to replicate it in Azure.

This site and cdn.galenguyer.com are both hosted on this CDN for high speed and availability.

Architecture

The CDN consists of seven edge nodes. The Master server is located at RIT and is not reachable though the CDN. It servers as a coordinator for the edge nodes. The edge nodes are Standard B1ls Virtual Machines with 1 vCPU, 0.5GB of RAM, and 32GB of SSD storage.

The scripts used for management can be located on my git instance. They are responsible for ensuring packages are installed and up to date, configurations are synced and applied, and static files are up to date on the edge servers.

A Traffic Manager configured to route based off geographic location ensures users get the nearest server, and handles failover in the event a server goes down.

Speed

I tested the CDN with apex.sh's latency tester. elite.tips is backed by cloudflare, and my CDN is comparable in most regions. For a system that I built for fun, I'm very happy with that.