question

Sali-SP avatar image
0 Votes"
Sali-SP asked SnehaAgrawal-MSFT edited

Is it a good practice to use Azure Front Door behind the CloudFlare or not?

I'm curious if it will be a security enhancement to use both CloudFlare and AzureFD together or not.
The architecture would be like this:

Client => CloudFlare => Azure FD Premium => App Service

Also I want to know if it is possible to parse and validate the JWT token in the AzureFD WAF or not.

Considering security enhancement and DDoS protection (CDN and API Caching are not my priority).
I'l appreciate your ideas and suggestions, as well as your experience on this topic.

azure-front-doorazure-ddos-protection
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AndriyBilous avatar image
1 Vote"
AndriyBilous answered

Hello @Sali-SP

Your architecture "Client => CloudFlare => Azure FD Premium => App Service" could make sense if you have specific requirements(Capctha, unlimited DDoS Protection, etc).

Cloudflare has similiar functionality with their own WAF features, custom rules, but with some more advanced options such as JS challenge or Capctha, while Front door has Block, log or redirect action. Cloudflare also provide unlimited DDoS Protection as well.

Azure Front Door – All traffic from Cloudflare WAF will be routed to Azure Front Door before arriving at App Service.
Cloudflare – The web application firewall, which manages all traffic that is sent to the App Service.
App Service - Hosted application

https://docs.microsoft.com/en-us/Azure/active-directory-b2c/partner-cloudflare

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.