Azure FrontDoor : Article 05
Hello Everyone this is my Fifth Article in Azure Series. If you missed to read my Azure CDN article please click here.
What is Azure FrontDoor?
Azure Front Door manages web traffic by optimizing for best performance and quick global fail over for high availability. By using Front Door, we can transform our global (multi-region) consumer and enterprise applications into robust, high-performance personalized modern applications, APIs, and content that reaches a global audience with Azure.
Front Door works at 7th Layer (HTTP/HTTPS layer ) and uses anycast protocol with split TCP and Microsoft’s global network for improving global connectivity. We can ensure that Front Door is routing your client requests to the fastest and most available application backend by our routing method selection in the configuration.
Features of Azure FrontDoor
- Accelerate application performance
- Increase application availability with smart health probes.
- URL-based routing
- Multiple-site hosting
- Session affinity
- TLS termination
- Custom domains and certificate management
- Application layer security
- URL redirection
- URL rewrite
For more explanation related to this features please click here,
Let’s begin to create azure FrontDoor
Create two instances of a web app
In this method i am creating two instances of a web application that run in different Azure regions.
(Sign in to azure portal before start)
Step 1: At Azure menu, select Create a resource.
Step 2: Select Web > Web App.
Step 3: Fill your details and Review& create like this
Step 4: review your summary and click create
Step 5: After your deployment is complete, create a second web app. Use the same procedure with the same values, except for the following values:
Resource group, Name, Region, App Service plan
Create a Front Door for your application
Step 1 : At Azure menu, select Create a resource. Select Networking > Front Door.
Step 2: fill the details and click Next:Configuration like this
Step 3: Click + button in the Frontends/domains and provide unique host name
Step 4: Click + button in Backend pool & provide name as myBackendPool
Step 5: Then click add backend and select app service as the host type (our app service will automatically select we can change if we need)
Step 6: Add backend again with the second app service
Finally, add a routing rule. A routing rule maps your frontend host to the backend pool. The rule forwards a request for webapp021.azurefd.net
to myBackendPool.
Step 7: Routing rules, select + to configure a routing rule
Step 8: Fill the name as LocationRule and let others to the default value & click add
Step 9: Select Review + Create, and then Create.
Step 10: Now you can test via browser by this link : mywebapp021.azurefd.net
Reference: click here
This is the end of this article. See you in the next article..!
Thank you…!
Next Article: App Services