MerryFairyTalesAD440 / Builds

AD440 Section 2349 (Tuesday)
GNU General Public License v3.0
0 stars 0 forks source link

Application Gateway Research #31

Open D3v0nM opened 5 years ago

D3v0nM commented 5 years ago

Do we need CDN or App Gateway in front of our site to control logic of which page/Function is loaded?

Kading82 commented 5 years ago

I think an Application gateway, because that way we can automate it and get that beer. But i'll try and find some kind of objective analysis and see if i can truly figure out which is better.

Kading82 commented 5 years ago

Beginning research, going to hunt down what needs to be certified (which endpoints in Azure) and then look at applying either CDN or an Application Gateway.

Estimated time: 20 hours

Kading82 commented 5 years ago

Here's a screenshot of the endpoints that Devon configured:

image.png

Update:

See subsection: Enable Azure CDN for the storage account. That's the first step.

https://docs.microsoft.com/en-us/azure/cdn/cdn-create-a-storage-account-with-cdn#enable-azure-cdn-for-the-storage-account

Okay so in terms of comparing application gateway to CDN, this is the description of CDN from Azure when i was going to enable it on dev storage.

The Azure Content Delivery Network (CDN) is designed to send audio, video, images, and other files faster and more reliably to customers using servers that are closest to the users. This dramatically increases speed and availability, resulting in significant user experience improvements.

Kading82 commented 5 years ago

Created an Azure CDN profile for kicks but, it doens't look like it serves any purpose since we can enable CDN directly on the storage account. I'm going to hang onto it for a bit and make sure.

Update: Scratch that looks like we do need the profile, onward!!!

Kading82 commented 5 years ago

CDN is not what we need as we do not have a large scale application that will have large numbers of people uploading data. What we need is an application gateway.

Kading82 commented 5 years ago

Brad and Devon configured an application gateway here:

https://portal.azure.com/#@toddysmlive.onmicrosoft.com/resource/subscriptions/9f4dcf43-aa06-457b-b975-f0216baef20d/resourceGroups/ad440-brad-ui-1box-rg/providers/Microsoft.Network/applicationGateways/MyAppGateway/overview

But there are issues with routing that will not be resolved before the presentation Tuesday, so we will not be using it in the final build.

Kading82 commented 5 years ago

You can find a general write up here:

https://github.com/MerryFairyTalesAD440/Builds/wiki/Associating-a-custom-domain-to-an-Endpoint-using-CDN-in-Azure

That's a general guide to the process of using CDNs to associate an endpoint. We took a different approach though and choose not to use a CDN profile and instead created individual CDNs at the resource.