News for hackers. Stuff that matters.
Re:Azure Storage Static Website and Azure Front Door by Arnavion on Thursday April 16, 2020 @02:34AM (#22886766)
Front Door seems to be overkill for storage account-hosted static websites. Instead of setting up storage accounts for multiple regions manually and then setting up Front Door in front of them, it would be easier to create one storage account and put Azure CDN in front of that instead. That is what I do for my website.
Re:Azure Storage Static Website and Azure Front Door by arethuza on Thursday April 16, 2020 @04:51AM (#22887427)
Out of interest, how much does that approach cost, I did have a quick look at the Azure CDN pricing page but that didn't really help ;-)
Re:Azure Storage Static Website and Azure Front Door by Arnavion on Thursday April 16, 2020 @05:24AM (#22887584)
I don't have a breakdown per resource, but the whole resource group (Storage account + CDN + a KeyVault to store the TLS cert + a Function app to get the TLS cert from LetsEncrypt + a DNS for ACME + a second Function app to update the HTTPS cert used by the CDN to whatever's in the KeyVault) cost about $1.50 for the month of March. Of course nobody visits my website, so it'd probably cost a bit more if there was some actual egress traffic.
Re:Azure Storage Static Website and Azure Front Door by arethuza on Thursday April 16, 2020 @05:35AM (#22887649)
Thanks - you have any good links to resources describing how to replicate that setup?
Re:Azure Storage Static Website and Azure Front Door by Arnavion on Thursday April 16, 2020 @05:37AM (#22887664)
https://www.arnavion.dev/blog/2019-08-04-lets-encrypt-via-az...

https://github.com/Arnavion/acme-azure-function

Specifically https://github.com/Arnavion/acme-azure-function/blob/master/... is the template for the website-side of things, as opposed to the ACME-side of things if you don't care for that.

Re:Azure Storage Static Website and Azure Front Door by Havoc on Thursday April 16, 2020 @07:44AM (#22888410)
Thanks!