I recently stumbled upon Is it on AWS? and its accompanying backstory. It sounded like a fascinating way to create a small, focused website. I thought it would be a positive learning experience to create a similar site with Microsoft Azure.
Introducing IsItInThe.Cloud
This blog will detail the steps taken to create the site; but first, a few notes:
Credit to Is it on AWS? for the initial inspiration. The site is a relatively quick-and-dirty implementation and nowhere near as robust as its source of inspiration. The check is done by a simple IP Address comparison between a site’s DNS lookup and Microsoft’s list of Azure Datacenter IP Ranges . But there are many reasons they may not match, so it should not be considered highly accurate. IPv6 is not currently supported - I wasn’t able to locate any published IPv6 ranges for Azure. Please point me in their direction if you happen to know where to find them! I don’t have a lot of experience with Azure, so I welcome any feedback on any improvements, platform features I haven’t used appropriately, etc. This is probably not a sensible way to host a website - at least not yet anyway - but you be the judge. The source code is available. If you’re unfamiliar (as I am!) with the idea of Serverless Computing, I’d encourage you to start by reading this article by Mike Roberts or the Azure Functions documentation.
...