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 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 yodon on Thursday April 16, 2020 @04:38AM
(#22887362)
Given that a simple CDN is the normal way to solve the problem the linked page is talking about, it's hard to understand why they didn't include a price comparison against placing a simple CDN in front of a Storage hosted static website to help the reader understand how Frontdoor does or doesn't improve on the costs and/or functionality of that approach. At a bit under $1/day the Front Door approach feels more expensive than the CDN solution but I'm not an Azure expert so it would be great to know for sure.
Also, I tried to give feedback on the linked page using the integrated give us feedback popup that was presented to me on my iPhone. The result was an error code which isn't confidence inducing.
Re:Azure Storage Static Website and Azure Front Door
by breakingcups on Thursday April 16, 2020 @04:44AM
(#22887394)
That's funny, I had no cfeedback to give until I closed that pop-up and it promptly scrolled me all the way back to the top even though I was still only halfway through reading the article.
Re:Azure Storage Static Website and Azure Front Door
by withinboredom on Thursday April 16, 2020 @12:46PM
(#22891208)
I set this up the other day for fun. This basically a CDN plus http proxy (for doing rewrites, combining multiple services into one, etc). What they neglect to be upfront about is that you pay the bandwidth cost of the health checks. I watched my bill go from €4 a month to €40 in one day. Not cool.
I tuned the health checks and even turned some of them off and it’s back to mostly normal, but I’m glad I paid attention.
I really like the power of Front Door, but it’s sneaky.
Re:Azure Storage Static Website and Azure Front Door
by deno on Thursday April 16, 2020 @05:05AM
(#22887487)
DOS attack means Denial of Service. If you are attacked and your bandwidth costs grow exponentially then how have you protected yourself from a “denial of service” attack? Azure Frontdoor should not advertise itself as “protecting your app from attacks.” It does no such thing.
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.
Also, I tried to give feedback on the linked page using the integrated give us feedback popup that was presented to me on my iPhone. The result was an error code which isn't confidence inducing.
I tuned the health checks and even turned some of them off and it’s back to mostly normal, but I’m glad I paid attention.
I really like the power of Front Door, but it’s sneaky.
What is the different between this and hosting my site with CDN ( Pushed or Pulled ) in front of it?