4 ms·
Front Door seems to be overkill for storage account-hosted static websites. Instead of setting up storage accounts for multiple regions manually and then settin
by Arnavion 7y ago
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.
- deleted 7y ago[deleted]
- arethuza 7y agoOut 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 ;-)
- Arnavion 7y agoI 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.
- arethuza 7y agoThanks - you have any good links to resources describing how to replicate that setup?
- Arnavion 7y agohttps://www.arnavion.dev/blog/2019-08-04-lets-encrypt-via-azure-function/ https://www.arnavion.dev/blog/2019-08-04-lets-encrypt-via-az... https://github.com/Arnavion/acme-azure-function https://github.com/Arnavion/acme-azure-function Specifically https://github.com/Arnavion/acme-azure-function/blob/master/UpdateCdnCertificateFunction/deployment-template.json 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.
- Havoc 7y agoThanks!